GetUsageStatisticsRequest

public struct GetUsageStatisticsRequest : AWSShape
extension GuardDuty.GetUsageStatisticsRequest: AWSPaginateStringToken

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.

    Declaration

    Swift

    public let detectorId: String
  • The maximum number of results to return in the response.

    Declaration

    Swift

    public let maxResults: Int?
  • 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.

    Declaration

    Swift

    public let nextToken: String?
  • The currency unit you would like to view your usage statistics in. Current valid values are USD.

    Declaration

    Swift

    public let unit: String?
  • Represents the criteria used for querying usage.

    Declaration

    Swift

    public let usageCriteria: UsageCriteria
  • The type of usage statistics to retrieve.

    Declaration

    Swift

    public let usageStatisticType: UsageStatisticType
  • Undocumented

    Declaration

    Swift

    public init(detectorId: String, maxResults: Int? = nil, nextToken: String? = nil, unit: String? = nil, usageCriteria: UsageCriteria, usageStatisticType: UsageStatisticType)
  • Declaration

    Swift

    public func validate(name: String) throws