Skip to content

Commit 6e11571

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 63e04569 of spec repo
1 parent 76f8f25 commit 6e11571

19 files changed

+94
-79
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-12-02 14:34:49.046316",
8-
"spec_repo_commit": "48a734bf"
7+
"regenerated": "2024-12-02 15:50:54.147081",
8+
"spec_repo_commit": "63e04569"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-02 14:34:49.065976",
13-
"spec_repo_commit": "48a734bf"
12+
"regenerated": "2024-12-02 15:50:54.166167",
13+
"spec_repo_commit": "63e04569"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 54 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ components:
8585
schema:
8686
$ref: '#/components/schemas/APIKeysSort'
8787
AWSAccountConfigIDPathParameter:
88-
description: Unique Datadog ID of the AWS Account Integration Config
88+
description: Unique Datadog ID of the AWS Account Integration Config. To get
89+
the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations)
90+
endpoint and query by AWS Account ID.
8991
in: path
9092
name: aws_account_config_id
9193
required: true
@@ -991,7 +993,9 @@ components:
991993
x-enum-varnames:
992994
- API_KEYS
993995
AWSAccountConfigID:
994-
description: Unique Datadog ID of the AWS Account Integration Config
996+
description: Unique Datadog ID of the AWS Account Integration Config. To get
997+
the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations)
998+
endpoint and query by AWS Account ID.
995999
example: 00000000-abcd-0001-0000-000000000000
9961000
type: string
9971001
AWSAccountCreateRequest:
@@ -1044,8 +1048,9 @@ components:
10441048
example: '123456789012'
10451049
type: string
10461050
AWSAccountPartition:
1047-
default: aws
1048-
description: AWS Account partition
1051+
description: AWS partition your AWS account is scoped to. Defaults to `aws`.
1052+
See [Partitions](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html)
1053+
in the AWS documentation for more information.
10491054
enum:
10501055
- aws
10511056
- aws-cn
@@ -1112,10 +1117,10 @@ components:
11121117
- type
11131118
type: object
11141119
AWSAccountTags:
1115-
description: Tags to apply to all metrics in the account
1120+
description: Tags to apply to all metrics in the account. Defaults to `[]`.
11161121
items:
11171122
description: Tag to apply to all metrics in the account
1118-
example: key:value
1123+
example: env:prod
11191124
type: string
11201125
nullable: true
11211126
type: array
@@ -1224,14 +1229,14 @@ components:
12241229
description: AWS Lambda forwarder
12251230
properties:
12261231
lambdas:
1227-
description: List of Datadog Lambda Log Forwarder ARNs
1232+
description: List of Datadog Lambda Log Forwarder ARNs. Defaults to `[]`.
12281233
items:
12291234
example: arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder
12301235
type: string
12311236
type: array
12321237
sources:
12331238
description: List of AWS services that will send logs to the Datadog Lambda
1234-
Log Forwarder
1239+
Log Forwarder. Defaults to `[]`.
12351240
items:
12361241
example: s3
12371242
type: string
@@ -1294,19 +1299,19 @@ components:
12941299
description: AWS Metrics config
12951300
properties:
12961301
automute_enabled:
1297-
description: Enable EC2 automute for AWS metrics
1302+
description: Enable EC2 automute for AWS metrics. Defaults to `true`.
12981303
example: true
12991304
type: boolean
13001305
collect_cloudwatch_alarms:
1301-
description: Enable CloudWatch alarms collection
1302-
example: true
1306+
description: Enable CloudWatch alarms collection. Defaults to `false`.
1307+
example: false
13031308
type: boolean
13041309
collect_custom_metrics:
1305-
description: Enable custom metrics collection
1306-
example: true
1310+
description: Enable custom metrics collection. Defaults to `false`.
1311+
example: false
13071312
type: boolean
13081313
enabled:
1309-
description: Enable AWS metrics collection
1314+
description: Enable AWS metrics collection. Defaults to `true`.
13101315
example: true
13111316
type: boolean
13121317
namespace_filters:
@@ -1318,19 +1323,26 @@ components:
13181323
type: array
13191324
type: object
13201325
AWSNamespaceFilters:
1321-
description: AWS Metrics namespace filters
1326+
description: AWS Metrics namespace filters. Defaults to `exclude_only`.
13221327
oneOf:
13231328
- $ref: '#/components/schemas/AWSNamespaceFiltersExcludeOnly'
13241329
- $ref: '#/components/schemas/AWSNamespaceFiltersIncludeOnly'
13251330
AWSNamespaceFiltersExcludeOnly:
1326-
description: Exclude only these namespaces
1331+
description: Exclude only these namespaces from metrics collection. Defaults
1332+
to `["AWS/SQS", "AWS/ElasticMapReduce"]`. `AWS/SQS` and `AWS/ElasticMapReduce`
1333+
are excluded by default to reduce your CloudWatch costs from `GetMetricData`
1334+
API calls.
13271335
properties:
13281336
exclude_only:
1329-
description: Exclude only these namespaces
1337+
description: Exclude only these namespaces from metrics collection. Defaults
1338+
to `["AWS/SQS", "AWS/ElasticMapReduce"]`. `AWS/SQS` and `AWS/ElasticMapReduce`
1339+
are excluded by default to reduce your CloudWatch costs from `GetMetricData`
1340+
API calls.
13301341
example:
1331-
- AWS/EC2
1342+
- AWS/SQS
1343+
- AWS/ElasticMapReduce
13321344
items:
1333-
example: AWS/EC2
1345+
example: AWS/SQS
13341346
type: string
13351347
type: array
13361348
required:
@@ -1454,16 +1466,16 @@ components:
14541466
x-enum-varnames:
14551467
- EXTERNAL_ID
14561468
AWSRegions:
1457-
description: AWS Regions to collect data from
1469+
description: AWS Regions to collect data from. Defaults to `include_all`.
14581470
oneOf:
14591471
- $ref: '#/components/schemas/AWSRegionsIncludeAll'
14601472
- $ref: '#/components/schemas/AWSRegionsIncludeOnly'
14611473
AWSRegionsIncludeAll:
1462-
description: Include all regions
1474+
description: Include all regions. Defaults to `true`.
14631475
properties:
14641476
include_all:
14651477
description: Include all regions
1466-
example: false
1478+
example: true
14671479
type: boolean
14681480
required:
14691481
- include_all
@@ -1484,14 +1496,16 @@ components:
14841496
description: AWS Resources config
14851497
properties:
14861498
cloud_security_posture_management_collection:
1487-
description: Whether Datadog collects cloud security posture management
1488-
resources from your AWS account.
1499+
description: Enable Cloud Security Management to scan AWS resources for
1500+
vulnerabilities, misconfigurations, identity risks, and compliance violations.
1501+
Defaults to `false`. Requires `extended_collection` to be set to `true`.
14891502
example: false
14901503
type: boolean
14911504
extended_collection:
14921505
description: Whether Datadog collects additional attributes and configuration
1493-
information about the resources in your AWS account. Required for `cspm_resource_collection`.
1494-
example: false
1506+
information about the resources in your AWS account. Defaults to `true`.
1507+
Required for `cloud_security_posture_management_collection`.
1508+
example: true
14951509
type: boolean
14961510
type: object
14971511
AWSTracesConfig:
@@ -27334,7 +27348,7 @@ components:
2733427348
required:
2733527349
- include_all
2733627350
XRayServicesIncludeOnly:
27337-
description: Include only these services
27351+
description: Include only these services. Defaults to `[]`.
2733827352
nullable: true
2733927353
properties:
2734027354
include_only:
@@ -27348,7 +27362,7 @@ components:
2734827362
required:
2734927363
- include_only
2735027364
XRayServicesList:
27351-
description: AWS X-Ray services to collect traces from
27365+
description: AWS X-Ray services to collect traces from. Defaults to `include_only`.
2735227366
oneOf:
2735327367
- $ref: '#/components/schemas/XRayServicesIncludeAll'
2735427368
- $ref: '#/components/schemas/XRayServicesIncludeOnly'
@@ -32465,7 +32479,8 @@ paths:
3246532479
description: Get a list of AWS Account Integration Configs.
3246632480
operationId: ListAWSAccounts
3246732481
parameters:
32468-
- description: Optional query filter accounts by AWS Account ID
32482+
- description: Optional query parameter to filter accounts by AWS Account ID.
32483+
If not provided, all accounts are returned.
3246932484
example: '123456789012'
3247032485
in: query
3247132486
name: aws_account_id
@@ -32490,7 +32505,7 @@ paths:
3249032505
operator: OR
3249132506
permissions:
3249232507
- aws_configuration_read
32493-
x-unstable: '**Note: This endpoint is in public beta. If you have any feedback,
32508+
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
3249432509

3249532510
contact [Datadog support](https://docs.datadoghq.com/help/).**'
3249632511
post:
@@ -32525,12 +32540,12 @@ paths:
3252532540
operator: OR
3252632541
permissions:
3252732542
- aws_configurations_manage
32528-
x-unstable: '**Note: This endpoint is in public beta. If you have any feedback,
32543+
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
3252932544

3253032545
contact [Datadog support](https://docs.datadoghq.com/help/).**'
3253132546
/api/v2/integration/aws/accounts/{aws_account_config_id}:
3253232547
delete:
32533-
description: Delete an AWS Account Integration Config
32548+
description: Delete an AWS Account Integration Config by config ID.
3253432549
operationId: DeleteAWSAccount
3253532550
parameters:
3253632551
- $ref: '#/components/parameters/AWSAccountConfigIDPathParameter'
@@ -32552,11 +32567,11 @@ paths:
3255232567
operator: OR
3255332568
permissions:
3255432569
- aws_configurations_manage
32555-
x-unstable: '**Note: This endpoint is in public beta. If you have any feedback,
32570+
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
3255632571

3255732572
contact [Datadog support](https://docs.datadoghq.com/help/).**'
3255832573
get:
32559-
description: Get an AWS Account Integration Config
32574+
description: Get an AWS Account Integration Config by config ID.
3256032575
operationId: GetAWSAccount
3256132576
parameters:
3256232577
- $ref: '#/components/parameters/AWSAccountConfigIDPathParameter'
@@ -32582,11 +32597,11 @@ paths:
3258232597
operator: OR
3258332598
permissions:
3258432599
- aws_configuration_read
32585-
x-unstable: '**Note: This endpoint is in public beta. If you have any feedback,
32600+
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
3258632601

3258732602
contact [Datadog support](https://docs.datadoghq.com/help/).**'
3258832603
patch:
32589-
description: Update an AWS Account Integration Config
32604+
description: Update an AWS Account Integration Config by config ID.
3259032605
operationId: UpdateAWSAccount
3259132606
parameters:
3259232607
- $ref: '#/components/parameters/AWSAccountConfigIDPathParameter'
@@ -32619,7 +32634,7 @@ paths:
3261932634
operator: OR
3262032635
permissions:
3262132636
- aws_configuration_edit
32622-
x-unstable: '**Note: This endpoint is in public beta. If you have any feedback,
32637+
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
3262332638

3262432639
contact [Datadog support](https://docs.datadoghq.com/help/).**'
3262532640
/api/v2/integration/aws/available_namespaces:
@@ -32645,7 +32660,7 @@ paths:
3264532660
operator: OR
3264632661
permissions:
3264732662
- aws_configuration_read
32648-
x-unstable: '**Note: This endpoint is in public beta. If you have any feedback,
32663+
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
3264932664

3265032665
contact [Datadog support](https://docs.datadoghq.com/help/).**'
3265132666
/api/v2/integration/aws/generate_new_external_id:
@@ -32670,7 +32685,7 @@ paths:
3267032685
operator: OR
3267132686
permissions:
3267232687
- aws_configuration_edit
32673-
x-unstable: '**Note: This endpoint is in public beta. If you have any feedback,
32688+
x-unstable: '**Note: This endpoint is in Preview. If you have any feedback,
3267432689

3267532690
contact [Datadog support](https://docs.datadoghq.com/help/).**'
3267632691
/api/v2/integration/aws/logs/services:

lib/datadog_api_client/v2/api/aws_integration_api.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ def delete_aws_account(aws_account_config_id, opts = {})
172172

173173
# Delete an AWS integration.
174174
#
175-
# Delete an AWS Account Integration Config
175+
# Delete an AWS Account Integration Config by config ID.
176176
#
177-
# @param aws_account_config_id [String] Unique Datadog ID of the AWS Account Integration Config
177+
# @param aws_account_config_id [String] Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID.
178178
# @param opts [Hash] the optional parameters
179179
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
180180
def delete_aws_account_with_http_info(aws_account_config_id, opts = {})
@@ -243,9 +243,9 @@ def get_aws_account(aws_account_config_id, opts = {})
243243

244244
# Get an AWS integration by config ID.
245245
#
246-
# Get an AWS Account Integration Config
246+
# Get an AWS Account Integration Config by config ID.
247247
#
248-
# @param aws_account_config_id [String] Unique Datadog ID of the AWS Account Integration Config
248+
# @param aws_account_config_id [String] Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID.
249249
# @param opts [Hash] the optional parameters
250250
# @return [Array<(AWSAccountResponse, Integer, Hash)>] AWSAccountResponse data, response status code and response headers
251251
def get_aws_account_with_http_info(aws_account_config_id, opts = {})
@@ -317,7 +317,7 @@ def list_aws_accounts(opts = {})
317317
# Get a list of AWS Account Integration Configs.
318318
#
319319
# @param opts [Hash] the optional parameters
320-
# @option opts [String] :aws_account_id Optional query filter accounts by AWS Account ID
320+
# @option opts [String] :aws_account_id Optional query parameter to filter accounts by AWS Account ID. If not provided, all accounts are returned.
321321
# @return [Array<(AWSAccountsResponse, Integer, Hash)>] AWSAccountsResponse data, response status code and response headers
322322
def list_aws_accounts_with_http_info(opts = {})
323323
unstable_enabled = @api_client.config.unstable_operations["v2.list_aws_accounts".to_sym]
@@ -448,9 +448,9 @@ def update_aws_account(aws_account_config_id, body, opts = {})
448448

449449
# Update an AWS integration.
450450
#
451-
# Update an AWS Account Integration Config
451+
# Update an AWS Account Integration Config by config ID.
452452
#
453-
# @param aws_account_config_id [String] Unique Datadog ID of the AWS Account Integration Config
453+
# @param aws_account_config_id [String] Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID.
454454
# @param body [AWSAccountUpdateRequest]
455455
# @param opts [Hash] the optional parameters
456456
# @return [Array<(AWSAccountResponse, Integer, Hash)>] AWSAccountResponse data, response status code and response headers

lib/datadog_api_client/v2/models/aws_account_create_request_attributes.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
2121
class AWSAccountCreateRequestAttributes
2222
include BaseGenericModel
2323

24-
# Tags to apply to all metrics in the account
24+
# Tags to apply to all metrics in the account. Defaults to `[]`.
2525
attr_accessor :account_tags
2626

2727
# AWS Authentication config
@@ -30,10 +30,10 @@ class AWSAccountCreateRequestAttributes
3030
# AWS Account ID
3131
attr_reader :aws_account_id
3232

33-
# AWS Account partition
33+
# AWS partition your AWS account is scoped to. Defaults to `aws`. See [Partitions](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html) in the AWS documentation for more information.
3434
attr_reader :aws_partition
3535

36-
# AWS Regions to collect data from
36+
# AWS Regions to collect data from. Defaults to `include_all`.
3737
attr_accessor :aws_regions
3838

3939
# AWS Logs config

lib/datadog_api_client/v2/models/aws_account_partition.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# AWS Account partition
20+
# AWS partition your AWS account is scoped to. Defaults to `aws`. See [Partitions](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html) in the AWS documentation for more information.
2121
class AWSAccountPartition
2222
include BaseEnumModel
2323

lib/datadog_api_client/v2/models/aws_account_response_attributes.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
2121
class AWSAccountResponseAttributes
2222
include BaseGenericModel
2323

24-
# Tags to apply to all metrics in the account
24+
# Tags to apply to all metrics in the account. Defaults to `[]`.
2525
attr_accessor :account_tags
2626

2727
# AWS Authentication config
@@ -30,10 +30,10 @@ class AWSAccountResponseAttributes
3030
# AWS Account ID
3131
attr_reader :aws_account_id
3232

33-
# AWS Account partition
33+
# AWS partition your AWS account is scoped to. Defaults to `aws`. See [Partitions](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html) in the AWS documentation for more information.
3434
attr_accessor :aws_partition
3535

36-
# AWS Regions to collect data from
36+
# AWS Regions to collect data from. Defaults to `include_all`.
3737
attr_accessor :aws_regions
3838

3939
# Timestamp of when the account integration was created

lib/datadog_api_client/v2/models/aws_account_response_data.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class AWSAccountResponseData
2424
# The AWS Account Integration Config
2525
attr_accessor :attributes
2626

27-
# Unique Datadog ID of the AWS Account Integration Config
27+
# Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID.
2828
attr_reader :id
2929

3030
# AWS Account resource type.

0 commit comments

Comments
 (0)