Skip to content

Commit 832a0aa

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d09cbc0c of spec repo
1 parent 7cc4c3b commit 832a0aa

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

.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": "2025-05-27 10:37:47.296878",
8-
"spec_repo_commit": "c75940cb"
7+
"regenerated": "2025-05-27 13:50:43.375859",
8+
"spec_repo_commit": "d09cbc0c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-27 10:37:47.323956",
13-
"spec_repo_commit": "c75940cb"
12+
"regenerated": "2025-05-27 13:50:43.391753",
13+
"spec_repo_commit": "d09cbc0c"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,8 +1316,6 @@ components:
13161316
$ref: '#/components/schemas/AWSResourcesConfig'
13171317
traces_config:
13181318
$ref: '#/components/schemas/AWSTracesConfig'
1319-
required:
1320-
- aws_account_id
13211319
type: object
13221320
AWSAccountResponseData:
13231321
description: AWS Account response data.

src/datadog_api_client/v2/model/aws_account_response_attributes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ def openapi_types(_):
7474

7575
def __init__(
7676
self_,
77-
aws_account_id: str,
7877
account_tags: Union[List[str], none_type, UnsetType] = unset,
7978
auth_config: Union[AWSAuthConfig, AWSAuthConfigKeys, AWSAuthConfigRole, UnsetType] = unset,
79+
aws_account_id: Union[str, UnsetType] = unset,
8080
aws_partition: Union[AWSAccountPartition, UnsetType] = unset,
8181
aws_regions: Union[AWSRegions, AWSRegionsIncludeAll, AWSRegionsIncludeOnly, UnsetType] = unset,
8282
created_at: Union[datetime, UnsetType] = unset,
@@ -97,7 +97,7 @@ def __init__(
9797
:type auth_config: AWSAuthConfig, optional
9898
9999
:param aws_account_id: AWS Account ID.
100-
:type aws_account_id: str
100+
:type aws_account_id: str, optional
101101
102102
:param aws_partition: AWS partition your AWS account is scoped to. Defaults to ``aws``.
103103
See `Partitions <https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html>`_ in the AWS documentation for more information.
@@ -128,6 +128,8 @@ def __init__(
128128
kwargs["account_tags"] = account_tags
129129
if auth_config is not unset:
130130
kwargs["auth_config"] = auth_config
131+
if aws_account_id is not unset:
132+
kwargs["aws_account_id"] = aws_account_id
131133
if aws_partition is not unset:
132134
kwargs["aws_partition"] = aws_partition
133135
if aws_regions is not unset:
@@ -145,5 +147,3 @@ def __init__(
145147
if traces_config is not unset:
146148
kwargs["traces_config"] = traces_config
147149
super().__init__(kwargs)
148-
149-
self_.aws_account_id = aws_account_id

0 commit comments

Comments
 (0)