Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note that Usage Metering is unavailable in US1-FED #2302

Merged
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
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-18 17:18:32.703322",
"spec_repo_commit": "8cb3faac"
"regenerated": "2024-12-18 19:23:44.598041",
"spec_repo_commit": "3f22290a"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-18 17:18:32.717421",
"spec_repo_commit": "8cb3faac"
"regenerated": "2024-12-18 19:23:44.612303",
"spec_repo_commit": "3f22290a"
}
}
}
3 changes: 2 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32622,7 +32622,8 @@ paths:
!= null BEGIN\n sleep(5 seconds) # Avoid running into rate limit\n response
:= GetMonthlyCostAttribution(start_month, end_month, next_record_id=cursor)\n
\ cursor := response.metadata.pagination.next_record_id\nEND\n```\n\nThis
endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/)."
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."
operationId: GetMonthlyCostAttribution
parameters:
- description: 'Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]`
Expand Down
2 changes: 1 addition & 1 deletion src/datadog_api_client/v2/api/usage_metering_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def get_monthly_cost_attribution(
cursor := response.metadata.pagination.next_record_id
END

This endpoint is only accessible for `parent-level organizations <https://docs.datadoghq.com/account_management/multi_organization/>`_.
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.

:param start_month: Datetime in ISO-8601 format, UTC, precise to month: ``[YYYY-MM]`` for cost beginning in this month.
:type start_month: datetime
Expand Down
Loading