Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "c3b2b7d",
"generated": "2025-08-25 10:18:04.330"
"spec_repo_commit": "1e6c346",
"generated": "2025-08-25 18:45:37.801"
}
25 changes: 19 additions & 6 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1764,20 +1764,21 @@ components:
- $ref: '#/components/schemas/AWSNamespaceFiltersIncludeOnly'
AWSNamespaceFiltersExcludeOnly:
description: 'Exclude only these namespaces from metrics collection. Defaults
to `["AWS/SQS", "AWS/ElasticMapReduce"]`.
to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`.

`AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce your
AWS CloudWatch costs from `GetMetricData` API calls.'
`AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default
to reduce your AWS CloudWatch costs from `GetMetricData` API calls.'
properties:
exclude_only:
description: 'Exclude only these namespaces from metrics collection. Defaults
to `["AWS/SQS", "AWS/ElasticMapReduce"]`.
to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`.

`AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce
your AWS CloudWatch costs from `GetMetricData` API calls.'
`AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default
to reduce your AWS CloudWatch costs from `GetMetricData` API calls.'
example:
- AWS/SQS
- AWS/ElasticMapReduce
- AWS/Usage
items:
example: AWS/SQS
type: string
Expand Down Expand Up @@ -49698,6 +49699,12 @@ paths:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
Expand Down Expand Up @@ -49850,6 +49857,12 @@ paths:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-03-05T15:30:09.058Z
2025-08-24T22:41:50.537Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2025-08-25T15:10:14.494Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2025-08-25T15:10:28.926Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/CreateAwsOnDemandTask.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
body = DatadogAPIClient::V2::AwsOnDemandCreateRequest.new({
data: DatadogAPIClient::V2::AwsOnDemandCreateData.new({
attributes: DatadogAPIClient::V2::AwsOnDemandCreateAttributes.new({
arn: "arn:aws:lambda:eu-west-3:376334461865:function:This-Is-An-Api-Spec-Test",
arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
}),
type: DatadogAPIClient::V2::AwsOnDemandType::AWS_RESOURCE,
}),
Expand Down
4 changes: 2 additions & 2 deletions features/v2/agentless_scanning.feature
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ Feature: Agentless Scanning
@team:DataDog/k9-agentless
Scenario: Post an AWS on demand task returns "AWS on demand task created successfully." response
Given new "CreateAwsOnDemandTask" request
And body with value {"data": {"attributes": {"arn": "arn:aws:lambda:eu-west-3:376334461865:function:This-Is-An-Api-Spec-Test"}, "type": "aws_resource"}}
And body with value {"data": {"attributes": {"arn": "arn:aws:lambda:us-west-2:123456789012:function:my-function"}, "type": "aws_resource"}}
When the request is sent
Then the response status is 201 AWS on demand task created successfully
And the response "data.attributes.arn" is equal to "arn:aws:lambda:eu-west-3:376334461865:function:This-Is-An-Api-Spec-Test"
And the response "data.attributes.arn" is equal to "arn:aws:lambda:us-west-2:123456789012:function:my-function"
And the response "data.attributes.status" is equal to "QUEUED"

@team:DataDog/k9-agentless
Expand Down
16 changes: 16 additions & 0 deletions features/v2/cloud_cost_management.feature
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,14 @@ Feature: Cloud Cost Management
When the request is sent
Then the response status is 200 OK

@team:Datadog/cloud-cost-management
Scenario: Update Cloud Cost Management AWS CUR config returns "Not Found" response
Given new "UpdateCostAWSCURConfig" request
And request contains "cloud_account_id" parameter with value 12345678
And body with value {"data": {"attributes": {"is_enabled": true}, "type": "aws_cur_config_patch_request"}}
When the request is sent
Then the response status is 404 Not Found

@replay-only @team:Datadog/cloud-cost-management
Scenario: Update Cloud Cost Management AWS CUR config returns "OK" response
Given new "UpdateCostAWSCURConfig" request
Expand All @@ -284,6 +292,14 @@ Feature: Cloud Cost Management
When the request is sent
Then the response status is 400 Bad Request

@team:Datadog/cloud-cost-management
Scenario: Update Cloud Cost Management Azure config returns "Not Found" response
Given new "UpdateCostAzureUCConfigs" request
And request contains "cloud_account_id" parameter with value 12345678
And body with value {"data": {"attributes": {"is_enabled": true}, "type": "azure_uc_config_patch_request"}}
When the request is sent
Then the response status is 404 Not Found

@replay-only @team:Datadog/cloud-cost-management
Scenario: Update Cloud Cost Management Azure config returns "OK" response
Given new "UpdateCostAzureUCConfigs" request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
require 'time'

module DatadogAPIClient::V2
# Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce"]`.
# `AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
# Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`.
# `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
class AWSNamespaceFiltersExcludeOnly
include BaseGenericModel

# Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce"]`.
# `AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
# Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`.
# `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
attr_reader :exclude_only

attr_accessor :additional_properties
Expand Down
Loading