class Aws::Macie2::Types::GetUsageStatisticsRequest

Specifies criteria for filtering, sorting, and paginating the results of a query for quotas and aggregated usage data for one or more Amazon Macie accounts.

@note When making an API call, you may pass GetUsageStatisticsRequest

data as a hash:

    {
      filter_by: [
        {
          comparator: "GT", # accepts GT, GTE, LT, LTE, EQ, NE, CONTAINS
          key: "accountId", # accepts accountId, serviceLimit, freeTrialStartDate, total
          values: ["__string"],
        },
      ],
      max_results: 1,
      next_token: "__string",
      sort_by: {
        key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
        order_by: "ASC", # accepts ASC, DESC
      },
      time_range: "MONTH_TO_DATE", # accepts MONTH_TO_DATE, PAST_30_DAYS
    }

@!attribute [rw] filter_by

@return [Array<Types::UsageStatisticsFilter>]

@!attribute [rw] max_results

@return [Integer]

@!attribute [rw] next_token

@return [String]

@!attribute [rw] sort_by

Specifies criteria for sorting the results of a query for Amazon
Macie account quotas and usage data.
@return [Types::UsageStatisticsSortBy]

@!attribute [rw] time_range

An inclusive time period that Amazon Macie usage data applies to.
Possible values are:
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatisticsRequest AWS API Documentation

Constants

SENSITIVE