Module Values_1.GetCardinalityResponseSource

Returns the approximate count of unique values that match the query. Requires permission to access the GetCardinality action.

Sourcetype nonrec t = {
  1. cardinality : Values_0.Count.t option;
    (*

    The approximate count of unique values that match the query.

    *)
}
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 : ?cardinality:??? -> 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 * [> `Integer of Values_0.Count.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