Module Values.GetFindingsStatisticsRequestSource

Lists GuardDuty findings statistics for the specified detector ID. You must provide either findingStatisticTypes or groupBy parameter, and not both. You can use the maxResults and orderBy parameters only when using groupBy. There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported. For more information, see Regions and endpoints.

Sourcetype nonrec t = {
  1. detectorId : DetectorId.t;
    (*

    The ID of the detector whose findings statistics you want to retrieve. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

    *)
  2. findingStatisticTypes : FindingStatisticTypes.t option;
    (*

    The types of finding statistics to retrieve.

    *)
  3. findingCriteria : FindingCriteria.t option;
    (*

    Represents the criteria that is used for querying findings.

    *)
  4. groupBy : GroupByType.t option;
    (*

    Displays the findings statistics grouped by one of the listed valid values.

    *)
  5. orderBy : OrderBy.t option;
    (*

    Displays the sorted findings in the requested order. The default value of orderBy is DESC. You can use this parameter only with the groupBy parameter.

    *)
  6. maxResults : MaxResults100.t option;
    (*

    The maximum number of results to be returned in the response. The default value is 25. You can use this parameter only with the groupBy parameter.

    *)
}
Sourceval context_ : string
Sourceval make : ?findingStatisticTypes:??? -> ?findingCriteria:??? -> ?groupBy:??? -> ?orderBy:??? -> ?maxResults:??? -> detectorId:DetectorId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of MaxResults100.t | `List of [> `Enum of string ] list | `String of DetectorId.t | `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `Structure of (string * [> `Integer of Integer.t | `List of [> `String of String_.t ] list | `Long of Long.t ]) 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