Values_1.GetBucketsAggregationResponseSourceAggregates on indexed data with search queries pertaining to particular fields. Requires permission to access the GetBucketsAggregation action.
type nonrec t = {totalCount : Values_0.Count.t option;The total number of things that fit the query string criteria.
*)buckets : Values_0.Buckets.t option;The main part of the response with a list of buckets. Each bucket contains a keyValue and a count. keyValue: The aggregation field value counted for the particular bucket. count: The number of documents that have that value.
*)}type nonrec error = [ | `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| `ThrottlingException of Values_0.ThrottlingException.t| `Unknown_operation_error of string * string option ]val 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 ]val 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 ]val to_value :
t ->
[> `Structure of
(string
* [> `Integer of Values_0.Count.t
| `List of
[> `Structure of
(string * [> `Integer of int | `String of string ]) list ]
list ])
list ]