Skip to content

Commit 4801553

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add note that Usage Metering is unavailable in US1-FED (#2302)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent f8fc189 commit 4801553

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.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": "2024-12-18 17:18:32.703322",
8-
"spec_repo_commit": "8cb3faac"
7+
"regenerated": "2024-12-18 19:23:44.598041",
8+
"spec_repo_commit": "3f22290a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-18 17:18:32.717421",
13-
"spec_repo_commit": "8cb3faac"
12+
"regenerated": "2024-12-18 19:23:44.612303",
13+
"spec_repo_commit": "3f22290a"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32622,7 +32622,8 @@ paths:
3262232622
!= null BEGIN\n sleep(5 seconds) # Avoid running into rate limit\n response
3262332623
:= GetMonthlyCostAttribution(start_month, end_month, next_record_id=cursor)\n
3262432624
\ cursor := response.metadata.pagination.next_record_id\nEND\n```\n\nThis
32625-
endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/)."
32625+
endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/).
32626+
This endpoint is not available in the Government (US1-FED) site."
3262632627
operationId: GetMonthlyCostAttribution
3262732628
parameters:
3262832629
- description: 'Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]`

src/datadog_api_client/v2/api/usage_metering_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ def get_monthly_cost_attribution(
709709
cursor := response.metadata.pagination.next_record_id
710710
END
711711
712-
This endpoint is only accessible for `parent-level organizations <https://docs.datadoghq.com/account_management/multi_organization/>`_.
712+
This endpoint is only accessible for `parent-level organizations <https://docs.datadoghq.com/account_management/multi_organization/>`_. This endpoint is not available in the Government (US1-FED) site.
713713
714714
:param start_month: Datetime in ISO-8601 format, UTC, precise to month: ``[YYYY-MM]`` for cost beginning in this month.
715715
:type start_month: datetime

0 commit comments

Comments
 (0)