class Aws::GuardDuty::Types::GetUsageStatisticsRequest

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

data as a hash:

    {
      detector_id: "DetectorId", # required
      usage_statistic_type: "SUM_BY_ACCOUNT", # required, accepts SUM_BY_ACCOUNT, SUM_BY_DATA_SOURCE, SUM_BY_RESOURCE, TOP_RESOURCES
      usage_criteria: { # required
        account_ids: ["AccountId"],
        data_sources: ["FLOW_LOGS"], # required, accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS
        resources: ["String"],
      },
      unit: "String",
      max_results: 1,
      next_token: "String",
    }

@!attribute [rw] detector_id

The ID of the detector that specifies the GuardDuty service whose
usage statistics you want to retrieve.
@return [String]

@!attribute [rw] usage_statistic_type

The type of usage statistics to retrieve.
@return [String]

@!attribute [rw] usage_criteria

Represents the criteria used for querying usage.
@return [Types::UsageCriteria]

@!attribute [rw] unit

The currency unit you would like to view your usage statistics in.
Current valid values are USD.
@return [String]

@!attribute [rw] max_results

The maximum number of results to return in the response.
@return [Integer]

@!attribute [rw] next_token

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. For subsequent calls, use the NextToken
value returned from the previous request to continue listing results
after the first page.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetUsageStatisticsRequest AWS API Documentation

Constants

SENSITIVE