Learn R Programming

paws.security.identity (version 0.7.0)

guardduty_get_usage_statistics: Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID

Description

Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID. For newly enabled detectors or data sources, the cost returned will include only the usage so far under 30 days. This may differ from the cost metrics in the console, which project usage over 30 days to provide a monthly cost estimate. For more information, see Understanding How Usage Costs are Calculated.

See https://www.paws-r-sdk.com/docs/guardduty_get_usage_statistics/ for full documentation.

Usage

guardduty_get_usage_statistics(
  DetectorId,
  UsageStatisticType,
  UsageCriteria,
  Unit = NULL,
  MaxResults = NULL,
  NextToken = NULL
)

Arguments

DetectorId

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

UsageStatisticType

[required] The type of usage statistics to retrieve.

UsageCriteria

[required] Represents the criteria used for querying usage.

Unit

The currency unit you would like to view your usage statistics in. Current valid values are USD.

MaxResults

The maximum number of results to return in the response.

NextToken

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.