Module Values.EstimateByTimeSource

An estimate that's associated with a time period.

Sourcetype nonrec t = {
  1. usageCost : Double.t option;
    (*

    The amount of cost or usage that's measured for the cost estimate.

    *)
  2. pricingUnit : PricingUnit.t option;
    (*

    The unit of measurement that's used for the cost estimate.

    *)
  3. unit : Double.t option;
    (*

    The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.

    *)
  4. currency : Currency.t option;
    (*

    The currency of the estimate in USD.

    *)
  5. timePeriod : TimePeriod.t option;
    (*

    The period of time, in days, that an estimate covers. The period has a start date and an end date. The start date must come before the end date.

    *)
}
Sourceval make : ?usageCost:??? -> ?pricingUnit:??? -> ?unit:??? -> ?currency:??? -> ?timePeriod:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Enum of string | `Structure of (string * [> `Timestamp of IsoDate.t ]) list ]) 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