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
6 changes: 6 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4202,6 +4202,10 @@ components:
description: Enable custom metrics collection. Defaults to `false`.
example: false
type: boolean
collect_service_quotas:
description: Enable Service Quotas collection. Defaults to `false`.
example: false
type: boolean
enabled:
description: Enable AWS metrics collection. Defaults to `true`.
example: true
Expand Down Expand Up @@ -184828,6 +184832,7 @@ paths:
automute_enabled: true
collect_cloudwatch_alarms: false
collect_custom_metrics: false
collect_service_quotas: false
enabled: true
metric_name_filters:
- include_only:
Expand Down Expand Up @@ -184970,6 +184975,7 @@ paths:
automute_enabled: true
collect_cloudwatch_alarms: false
collect_custom_metrics: false
collect_service_quotas: false
enabled: true
metric_name_filters:
- include_only:
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v2/model/aws_metrics_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def openapi_types(_):
"automute_enabled": (bool,),
"collect_cloudwatch_alarms": (bool,),
"collect_custom_metrics": (bool,),
"collect_service_quotas": (bool,),
"enabled": (bool,),
"metric_name_filters": ([AWSMetricNameFilters],),
"namespace_filters": (AWSNamespaceFilters,),
Expand All @@ -44,6 +45,7 @@ def openapi_types(_):
"automute_enabled": "automute_enabled",
"collect_cloudwatch_alarms": "collect_cloudwatch_alarms",
"collect_custom_metrics": "collect_custom_metrics",
"collect_service_quotas": "collect_service_quotas",
"enabled": "enabled",
"metric_name_filters": "metric_name_filters",
"namespace_filters": "namespace_filters",
Expand All @@ -55,6 +57,7 @@ def __init__(
automute_enabled: Union[bool, UnsetType] = unset,
collect_cloudwatch_alarms: Union[bool, UnsetType] = unset,
collect_custom_metrics: Union[bool, UnsetType] = unset,
collect_service_quotas: Union[bool, UnsetType] = unset,
enabled: Union[bool, UnsetType] = unset,
metric_name_filters: Union[
List[Union[AWSMetricNameFilters, AWSMetricNameFiltersIncludeOnly, AWSMetricNameFiltersExcludeOnly]],
Expand All @@ -78,6 +81,9 @@ def __init__(
:param collect_custom_metrics: Enable custom metrics collection. Defaults to ``false``.
:type collect_custom_metrics: bool, optional

:param collect_service_quotas: Enable Service Quotas collection. Defaults to ``false``.
:type collect_service_quotas: bool, optional

:param enabled: Enable AWS metrics collection. Defaults to ``true``.
:type enabled: bool, optional

Expand All @@ -97,6 +103,8 @@ def __init__(
kwargs["collect_cloudwatch_alarms"] = collect_cloudwatch_alarms
if collect_custom_metrics is not unset:
kwargs["collect_custom_metrics"] = collect_custom_metrics
if collect_service_quotas is not unset:
kwargs["collect_service_quotas"] = collect_service_quotas
if enabled is not unset:
kwargs["enabled"] = enabled
if metric_name_filters is not unset:
Expand Down
Loading