Module Types.MetricDatum

type t = {
metric_name : Aws.BaseTypes.String.t;
dimensions : Dimensions.t;
timestamp : Aws.BaseTypes.DateTime.t option;
value : Aws.BaseTypes.Double.t option;
statistic_values : StatisticSet.t option;
values : Values.t;
counts : Counts.t;
unit : StandardUnit.t option;
storage_resolution : Aws.BaseTypes.Integer.t option;
}
val make : metric_name:Aws.BaseTypes.String.t -> ?⁠dimensions:Dimensions.t -> ?⁠timestamp:Aws.BaseTypes.DateTime.t -> ?⁠value:Aws.BaseTypes.Double.t -> ?⁠statistic_values:StatisticSet.t -> ?⁠values:Values.t -> ?⁠counts:Counts.t -> ?⁠unit:StandardUnit.t -> ?⁠storage_resolution:Aws.BaseTypes.Integer.t -> unit -> t
val parse : Ezxmlm.nodes -> t option
val to_query : t -> Aws.Query.t
val to_json : t -> [> `Assoc of (string * Aws.Json.t) list ]
val of_json : Aws.Json.t -> t