Module Values.ComparisonMetricValueSource

Contains cost or usage metric values for comparing two time periods. Each value includes amounts for the baseline and comparison time periods, their difference, and the unit of measurement.

Sourcetype nonrec t = {
  1. baselineTimePeriodAmount : GenericString.t option;
    (*

    The numeric value for the baseline time period measurement.

    *)
  2. comparisonTimePeriodAmount : GenericString.t option;
    (*

    The numeric value for the comparison time period measurement.

    *)
  3. difference : GenericString.t option;
    (*

    The calculated difference between ComparisonTimePeriodAmount and BaselineTimePeriodAmount.

    *)
  4. unit : GenericString.t option;
    (*

    The unit of measurement applicable to all numeric values in this comparison.

    *)
}
Sourceval make : ?baselineTimePeriodAmount:??? -> ?comparisonTimePeriodAmount:??? -> ?difference:??? -> ?unit:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of GenericString.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