Skip to content

Commit 9407a13

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

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
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:31.310793",
8-
"spec_repo_commit": "8cb3faac"
7+
"regenerated": "2024-12-18 19:23:38.680515",
8+
"spec_repo_commit": "3f22290a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-18 17:18:31.326940",
13-
"spec_repo_commit": "8cb3faac"
12+
"regenerated": "2024-12-18 19:23:38.695560",
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/datadogV2/api/api_usage_metering.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ impl UsageMeteringAPI {
13701370
/// END
13711371
/// ```
13721372
///
1373-
/// This endpoint is only accessible for [parent-level organizations](<https://docs.datadoghq.com/account_management/multi_organization/>).
1373+
/// 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.
13741374
pub async fn get_monthly_cost_attribution(
13751375
&self,
13761376
start_month: chrono::DateTime<chrono::Utc>,
@@ -1412,7 +1412,7 @@ impl UsageMeteringAPI {
14121412
/// END
14131413
/// ```
14141414
///
1415-
/// This endpoint is only accessible for [parent-level organizations](<https://docs.datadoghq.com/account_management/multi_organization/>).
1415+
/// 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.
14161416
pub async fn get_monthly_cost_attribution_with_http_info(
14171417
&self,
14181418
start_month: chrono::DateTime<chrono::Utc>,

0 commit comments

Comments
 (0)