File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
src/datadog_api_client/v2/api Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 4
4
"spec_versions": {
5
5
"v1": {
6
6
"apigentools_version": "1.6.6",
7
- "regenerated": "2024-07-18 19:18:03.897221 ",
8
- "spec_repo_commit": "8f19ff48 "
7
+ "regenerated": "2024-07-18 19:52:50.738768 ",
8
+ "spec_repo_commit": "17f1aa28 "
9
9
},
10
10
"v2": {
11
11
"apigentools_version": "1.6.6",
12
- "regenerated": "2024-07-18 19:18:03.925200 ",
13
- "spec_repo_commit": "8f19ff48 "
12
+ "regenerated": "2024-07-18 19:52:50.755789 ",
13
+ "spec_repo_commit": "17f1aa28 "
14
14
}
15
15
}
16
16
}
Original file line number Diff line number Diff line change @@ -26026,6 +26026,7 @@ paths:
26026
26026
- Cloud Cost Management
26027
26027
/api/v2/cost/aws_related_accounts:
26028
26028
get:
26029
+ deprecated: true
26029
26030
description: List the AWS accounts in an organization by calling 'organizations:ListAccounts'
26030
26031
from the specified management account.
26031
26032
operationId: ListAWSRelatedAccounts
Original file line number Diff line number Diff line change 4
4
from __future__ import annotations
5
5
6
6
from typing import Any , Dict
7
+ import warnings
7
8
8
9
from datadog_api_client .api_client import ApiClient , Endpoint as _Endpoint
9
10
from datadog_api_client .configuration import Configuration
@@ -320,7 +321,7 @@ def list_aws_related_accounts(
320
321
self ,
321
322
filter_management_account_id : str ,
322
323
) -> AWSRelatedAccountsResponse :
323
- """List related AWS accounts.
324
+ """List related AWS accounts. **Deprecated**.
324
325
325
326
List the AWS accounts in an organization by calling 'organizations:ListAccounts' from the specified management account.
326
327
@@ -331,6 +332,7 @@ def list_aws_related_accounts(
331
332
kwargs : Dict [str , Any ] = {}
332
333
kwargs ["filter_management_account_id" ] = filter_management_account_id
333
334
335
+ warnings .warn ("list_aws_related_accounts is deprecated" , DeprecationWarning , stacklevel = 2 )
334
336
return self ._list_aws_related_accounts_endpoint .call_with_http_info (** kwargs )
335
337
336
338
def list_cost_awscur_configs (
You can’t perform that action at this time.
0 commit comments