v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1479429429.3 KB

Retrieves (queries) quotas and aggregated usage data for one or more accounts.

post/usage/statistics

Query parameters

maxResultsstring

Pagination limit

nextTokenstring

Pagination token

Request body

maxResultsinteger

The maximum number of items to include in each page of the response.

nextTokenstring

The nextToken string that specifies which page of results to return in a paginated response.

timeRange'MONTH_TO_DATE' | 'PAST_30_DAYS'

An inclusive time period that Amazon Macie usage data applies to. Possible values are:

Response

Success

nextTokenstring

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

timeRange'MONTH_TO_DATE' | 'PAST_30_DAYS'

The inclusive time period that the usage data applies to. Possible values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days.