Module Values.BatchGetMetricDataResponseSource

Represents the result of processing your metric data batch request

Sourcetype nonrec t = {
  1. results : MetricDataResultList.t option;
    (*

    A list of successfully retrieved MetricDataResult.

    *)
  2. errors : MetricDataErrorList.t option;
    (*

    A list of MetricDataError encountered while processing your metric data batch request.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `InternalServiceErrorException of InternalServiceErrorException.t
  3. | `NotFoundException of NotFoundException.t
  4. | `TooManyRequestsException of TooManyRequestsException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?results:??? -> ?errors:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of unit | `InternalServiceErrorException of unit | `NotFoundException of unit | `TooManyRequestsException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of unit | `InternalServiceErrorException of unit | `NotFoundException of unit | `TooManyRequestsException of unit | `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 * [> `Enum of string | `List of [> `Long of Counter.t | `Timestamp of Timestamp.t ] list | `String of QueryIdentifier.t ]) 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