v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1479429429.3 KB

Retrieves (queries) aggregated usage data for an account.

get/usage

Query parameters

timeRangestring

The inclusive time period to retrieve the data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value for this parameter, Amazon Macie provides aggregated usage data for the preceding 30 days.

Response

Success

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.