v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1481826573.7 KB

Lists the Amazon Inspector usage totals over the last 30 days.

post/usage/list

Request body

maxResultsinteger

The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.

nextTokenstring

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.

accountIdsUsageAccountId[]

The Amazon Web Services account IDs to retrieve usage totals for.

Response

Success

nextTokenstring

The pagination parameter to be used on the next list operation to retrieve more items.