Skip to content

Commit b93b38b

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update v2 API spec to reflect default AWS metric collection behavior (#2753)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 2f52ea8 commit b93b38b

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "55aea96",
3-
"generated": "2025-08-25 15:34:07.121"
2+
"spec_repo_commit": "e22129c",
3+
"generated": "2025-08-25 17:47:43.193"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,20 +1764,21 @@ components:
17641764
- $ref: '#/components/schemas/AWSNamespaceFiltersIncludeOnly'
17651765
AWSNamespaceFiltersExcludeOnly:
17661766
description: 'Exclude only these namespaces from metrics collection. Defaults
1767-
to `["AWS/SQS", "AWS/ElasticMapReduce"]`.
1767+
to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`.
17681768

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

1776-
`AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce
1777-
your AWS CloudWatch costs from `GetMetricData` API calls.'
1776+
`AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default
1777+
to reduce your AWS CloudWatch costs from `GetMetricData` API calls.'
17781778
example:
17791779
- AWS/SQS
17801780
- AWS/ElasticMapReduce
1781+
- AWS/Usage
17811782
items:
17821783
example: AWS/SQS
17831784
type: string

src/datadog_api_client/v2/model/aws_namespace_filters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def __init__(self, **kwargs):
1515
"""
1616
AWS Metrics namespace filters. Defaults to ``exclude_only``.
1717
18-
:param exclude_only: Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce"]`.
19-
`AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
18+
:param exclude_only: Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`.
19+
`AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
2020
:type exclude_only: [str]
2121
2222
:param include_only: Include only these namespaces.

src/datadog_api_client/v2/model/aws_namespace_filters_exclude_only.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ def openapi_types(_):
2424

2525
def __init__(self_, exclude_only: List[str], **kwargs):
2626
"""
27-
Exclude only these namespaces from metrics collection. Defaults to ``["AWS/SQS", "AWS/ElasticMapReduce"]``.
28-
``AWS/SQS`` and ``AWS/ElasticMapReduce`` are excluded by default to reduce your AWS CloudWatch costs from ``GetMetricData`` API calls.
27+
Exclude only these namespaces from metrics collection. Defaults to ``["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]``.
28+
``AWS/SQS`` , ``AWS/ElasticMapReduce`` , and ``AWS/Usage`` are excluded by default to reduce your AWS CloudWatch costs from ``GetMetricData`` API calls.
2929
30-
:param exclude_only: Exclude only these namespaces from metrics collection. Defaults to ``["AWS/SQS", "AWS/ElasticMapReduce"]``.
31-
``AWS/SQS`` and ``AWS/ElasticMapReduce`` are excluded by default to reduce your AWS CloudWatch costs from ``GetMetricData`` API calls.
30+
:param exclude_only: Exclude only these namespaces from metrics collection. Defaults to ``["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]``.
31+
``AWS/SQS`` , ``AWS/ElasticMapReduce`` , and ``AWS/Usage`` are excluded by default to reduce your AWS CloudWatch costs from ``GetMetricData`` API calls.
3232
:type exclude_only: [str]
3333
"""
3434
super().__init__(kwargs)

0 commit comments

Comments
 (0)