Module Values_1.GetStatisticsResponseSource

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. statistics : Values_0.Statistics.t option;
    (*

    The statistics returned by the Fleet Indexing service based on the query and aggregation field.

    *)
}
Sourcetype nonrec error = [
  1. | `IndexNotReadyException of Values_0.IndexNotReadyException.t
  2. | `InternalFailureException of Values_0.InternalFailureException.t
  3. | `InvalidAggregationException of Values_0.InvalidAggregationException.t
  4. | `InvalidQueryException of Values_0.InvalidQueryException.t
  5. | `InvalidRequestException of Values_0.InvalidRequestException.t
  6. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  7. | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t
  8. | `ThrottlingException of Values_0.ThrottlingException.t
  9. | `UnauthorizedException of Values_0.UnauthorizedException.t
  10. | `Unknown_operation_error of string * string option
]
Sourceval make : ?statistics:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `IndexNotReadyException of Values_0.IndexNotReadyException.t | `InternalFailureException of Values_0.InternalFailureException.t | `InvalidAggregationException of Values_0.InvalidAggregationException.t | `InvalidQueryException of Values_0.InvalidQueryException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t | `ThrottlingException of Values_0.ThrottlingException.t | `UnauthorizedException of Values_0.UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `IndexNotReadyException of Values_0.IndexNotReadyException.t | `InternalFailureException of Values_0.InternalFailureException.t | `InvalidAggregationException of Values_0.InvalidAggregationException.t | `InvalidQueryException of Values_0.InvalidQueryException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t | `ThrottlingException of Values_0.ThrottlingException.t | `UnauthorizedException of Values_0.UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Double of float | `Integer of int ]) 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