Module Values_1.GetStatisticsRequestSource

Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the specified aggregated field. If the aggregation field is of type String, only the count statistic is returned. Requires permission to access the GetStatistics action.

Sourcetype nonrec t = {
  1. indexName : Values_0.IndexName.t option;
    (*

    The name of the index to search. The default value is AWS_Things.

    *)
  2. queryString : Values_0.QueryString.t;
    (*

    The query used to search. You can specify "*" for the query string to get the count of all indexed things in your Amazon Web Services account.

    *)
  3. aggregationField : Values_0.AggregationField.t option;
    (*

    The aggregation field name.

    *)
  4. queryVersion : Values_0.QueryVersion.t option;
    (*

    The version of the query used to search.

    *)
}
Sourceval context_ : string
Sourceval make : ?indexName:??? -> ?aggregationField:??? -> ?queryVersion:??? -> queryString:Values_0.QueryString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.IndexName.t ]) 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