Module Values.UsageMetricSource

Represents a usage metric with its configured limit and current usage value.

Sourcetype nonrec t = {
  1. limit : Integer.t option;
    (*

    Configured limit for this metric.

    *)
  2. usage : Double.t option;
    (*

    Current usage for this metric

    *)
}
Sourceval make : ?limit:??? -> ?usage:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Integer of Integer.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