Module Values.GetUsageStatisticsResponseSource

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.

Sourcetype nonrec t = {
  1. usageStatistics : UsageStatistics.t option;
    (*

    The usage statistics object. If a UsageStatisticType was provided, the objects representing other types will be null.

    *)
  2. nextToken : String_.t option;
    (*

    The pagination parameter to be used on the next list operation to retrieve more items.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `InternalServerErrorException of InternalServerErrorException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?usageStatistics:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `InternalServerErrorException of InternalServerErrorException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `InternalServerErrorException of InternalServerErrorException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of AccountId.t | `Structure of (string * [> `String of String_.t ]) list ]) list ] list | `String of AccountId.t | `Structure of (string * [> `String of String_.t ]) list ]) list ] list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t