Module Values.SummaryMetricQueryResultSource

The result of the summary metrics aggregation operation.

Sourcetype nonrec t = {
  1. queryId : MetricQueryId.t option;
    (*

    The ID of the summary metric results query operation.

    *)
  2. queryStatus : MetricQueryStatus.t option;
    (*

    The status of the summary metric query result.

    *)
  3. error : MetricQueryError.t option;
    (*

    The error message for the summary metric query result.

    *)
  4. metricName : MetricName.t option;
    (*

    The name of the summary metric query result.

    *)
  5. dimensions : Dimensions.t option;
    (*

    The dimensions of the metric.

    *)
  6. aggregationPeriod : AggregationPeriod.t option;
    (*

    The aggregation period of the metric.

    *)
  7. startTimestamp : MetricQueryStartTimestamp.t option;
    (*

    The start timestamp for the summary metric query.

    *)
  8. endTimestamp : MetricQueryEndTimestamp.t option;
    (*

    The end timestamp for the summary metric query.

    *)
  9. timestamps : MetricQueryTimestamps.t option;
    (*

    The timestamp of each aggregation result.

    *)
  10. values : MetricQueryValues.t option;
    (*

    The list of aggregated summary metric query results.

    *)
  11. unit : MetricUnit.t option;
    (*

    The units of measurement to be used for interpreting the aggregation result.

    *)
}
Sourceval make : ?queryId:??? -> ?queryStatus:??? -> ?error:??? -> ?metricName:??? -> ?dimensions:??? -> ?aggregationPeriod:??? -> ?startTimestamp:??? -> ?endTimestamp:??? -> ?timestamps:??? -> ?values:??? -> ?unit:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Double of Min.t | `Enum of string | `String of DimensionValue.t ]) list | `Timestamp of MetricQueryTimestamp.t ] list | `String of MetricQueryId.t | `Timestamp of MetricQueryStartTimestamp.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