Module Values_1.GetPercentilesResponseSource

Groups the aggregated values that match the query into percentile groupings. The default percentile groupings are: 1,5,25,50,75,95,99, although you can specify your own when you call GetPercentiles. This function returns a value for each percentile group specified (or the default percentile groupings). The percentile group "1" contains the aggregated field value that occurs in approximately one percent of the values that match the query. The percentile group "5" contains the aggregated field value that occurs in approximately five percent of the values that match the query, and so on. The result is an approximation, the more values that match the query, the more accurate the percentile values. Requires permission to access the GetPercentiles action.

Sourcetype nonrec t = {
  1. percentiles : Values_0.Percentiles.t option;
    (*

    The percentile values of the aggregated fields.

    *)
}
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 : ?percentiles:??? -> 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 * [> `List of [> `Structure of (string * [> `Double of float ]) 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