Skip to content

Commit 8b80895

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
aws api adding extended and deprecating old resource collection field (#1795)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent c15cb90 commit 8b80895

14 files changed

+61
-43
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-04-10 17:49:36.329308",
8-
"spec_repo_commit": "bb0f8c92"
7+
"regenerated": "2024-04-10 19:44:57.613520",
8+
"spec_repo_commit": "3fb610b5"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-04-10 17:49:36.346913",
13-
"spec_repo_commit": "bb0f8c92"
12+
"regenerated": "2024-04-10 19:44:57.631078",
13+
"spec_repo_commit": "3fb610b5"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ components:
9090
description: Regions to exclude.
9191
type: string
9292
type: array
93+
extended_resource_collection_enabled:
94+
default: false
95+
description: Whether Datadog collects additional attributes and configuration
96+
information about the resources in your AWS account. Required for `cspm_resource_collection`.
97+
example: true
98+
type: boolean
9399
filter_tags:
94100
description: 'The array of EC2 tags (in the form `key:value`) defines a
95101
filter that Datadog uses when collecting metrics from EC2.
@@ -128,8 +134,9 @@ components:
128134
type: boolean
129135
resource_collection_enabled:
130136
default: false
131-
description: Whether Datadog collects a standard set of resources from your
132-
AWS account.
137+
deprecated: true
138+
description: Deprecated in favor of 'extended_resource_collection_enabled'.
139+
Whether Datadog collects a standard set of resources from your AWS account.
133140
example: true
134141
type: boolean
135142
role_name:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2023-11-13T14:17:01.291Z
1+
2024-04-05T18:30:30.891Z

cassettes/features/v1/aws_integration/Create-an-AWS-integration-returns-OK-response.yml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2023-11-21T19:25:15.118Z
1+
2024-04-05T18:30:32.594Z

cassettes/features/v1/aws_integration/Delete-an-AWS-integration-returns-OK-response.yml

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2023-11-23T18:16:16.323Z
1+
2024-04-05T18:30:34.377Z

cassettes/features/v1/aws_integration/Update-an-AWS-integration-returns-OK-response.yml

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/v1/aws-integration/CreateAWSAccount.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"us-east-1",
1414
"us-west-2",
1515
],
16+
extended_resource_collection_enabled: true,
1617
filter_tags: [
1718
"$KEY:$VALUE",
1819
],
1920
host_tags: [
2021
"$KEY:$VALUE",
2122
],
2223
metrics_collection_enabled: false,
23-
resource_collection_enabled: true,
2424
role_name: "DatadogAWSIntegrationRole",
2525
})
2626
p api_instance.create_aws_account(body)

examples/v1/aws-integration/CreateNewAWSExternalID.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"us-east-1",
1414
"us-west-2",
1515
],
16+
extended_resource_collection_enabled: true,
1617
filter_tags: [
1718
"$KEY:$VALUE",
1819
],

0 commit comments

Comments
 (0)