Skip to content

/AWS1/CL_MA2=>GETUSAGESTATISTICS()

About GetUsageStatistics

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

Method Signature

IMPORTING

Optional arguments:

IT_FILTERBY TYPE /AWS1/CL_MA2USAGESTATSFILTER=>TT___LISTOFUSAGESTATSFILTER TT___LISTOFUSAGESTATSFILTER

An array of objects, one for each condition to use to filter the query results. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.

IV_MAXRESULTS TYPE /AWS1/MA2__INTEGER /AWS1/MA2__INTEGER

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

IV_NEXTTOKEN TYPE /AWS1/MA2__STRING /AWS1/MA2__STRING

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

IO_SORTBY TYPE REF TO /AWS1/CL_MA2USAGESTATSSORTBY /AWS1/CL_MA2USAGESTATSSORTBY

The criteria to use to sort the query results.

IV_TIMERANGE TYPE /AWS1/MA2TIMERANGE /AWS1/MA2TIMERANGE

The inclusive time period to query usage 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, Amazon Macie provides usage data for the preceding 30 days.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MA2GETUSAGESTATSRSP /AWS1/CL_MA2GETUSAGESTATSRSP