Module Values.SpendSource

The amount of cost or usage that's measured for a budget. Cost example: A Spend for 3 USD of costs has the following parameters: An Amount of 3 A Unit of USD Usage example: A Spend for 3 GB of S3 usage has the following parameters: An Amount of 3 A Unit of GB

Sourcetype nonrec t = {
  1. amount : NumericValue.t;
    (*

    The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.

    *)
  2. unit : UnitValue.t;
    (*

    The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.

    *)
}
Sourceval context_ : string
Sourceval make : amount:NumericValue.t -> unit:UnitValue.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NumericValue.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