Module Types.MetricStat

type t = {
metric : Metric.t;
period : Aws.BaseTypes.Integer.t;
stat : Aws.BaseTypes.String.t;
unit : StandardUnit.t option;
}
val make : metric:Metric.t -> period:Aws.BaseTypes.Integer.t -> stat:Aws.BaseTypes.String.t -> ?⁠unit:StandardUnit.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