Module Values.MetricDataErrorSource

An error corresponding to the unsuccessful processing of a single metric data query.

Sourcetype nonrec t = {
  1. id : QueryIdentifier.t option;
    (*

    The query identifier.

    *)
  2. code : QueryErrorCode.t option;
    (*

    The query error code. Can be one of: INTERNAL_FAILURE – Amazon SES has failed to process one of the queries. ACCESS_DENIED – You have insufficient access to retrieve metrics based on the given query.

    *)
  3. message : QueryErrorMessage.t option;
    (*

    The error message associated with the current query error.

    *)
}
Sourceval make : ?id:??? -> ?code:??? -> ?message:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of QueryIdentifier.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