Module Values.DatapointSource

Encapsulates the statistical data that CloudWatch computes from metric data.

Sourcetype nonrec t = {
  1. timestamp : Timestamp.t option;
    (*

    The time stamp used for the data point.

    *)
  2. sampleCount : DatapointValue.t option;
    (*

    The number of metric values that contributed to the aggregate value of this data point.

    *)
  3. average : DatapointValue.t option;
    (*

    The average of the metric values that correspond to the data point.

    *)
  4. sum : DatapointValue.t option;
    (*

    The sum of the metric values for the data point.

    *)
  5. minimum : DatapointValue.t option;
    (*

    The minimum metric value for the data point.

    *)
  6. maximum : DatapointValue.t option;
    (*

    The maximum metric value for the data point.

    *)
  7. unit : StandardUnit.t option;
    (*

    The standard unit for the data point.

    *)
  8. extendedStatistics : DatapointValueMap.t option;
    (*

    The percentile statistic for the data point.

    *)
}
Sourceval make : ?timestamp:??? -> ?sampleCount:??? -> ?average:??? -> ?sum:??? -> ?minimum:??? -> ?maximum:??? -> ?unit:??? -> ?extendedStatistics:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of DatapointValue.t | `Enum of string | `Map of ([> `String of ExtendedStatistic.t ] * [> `Double of DatapointValue.t ]) list | `Timestamp of Timestamp.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