Module Values.ResultByTimeSource

The result that's associated with a time period.

Sourcetype nonrec t = {
  1. timePeriod : DateInterval.t option;
    (*

    The time period that the result covers.

    *)
  2. total : Metrics.t option;
    (*

    The total amount of cost or usage accrued during the time period.

    *)
  3. groups : Groups.t option;
    (*

    The groups that this time period includes.

    *)
  4. estimated : Estimated.t option;
    (*

    Determines whether the result is estimated.

    *)
}
Sourceval make : ?timePeriod:??? -> ?total:??? -> ?groups:??? -> ?estimated:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Estimated.t | `List of [> `Structure of (string * [> `List of [> `String of Key.t ] list | `Map of ([> `String of MetricName.t ] * [> `Structure of (string * [> `String of MetricAmount.t ]) list ]) list ]) list ] list | `Map of ([> `String of MetricName.t ] * [> `Structure of (string * [> `String of MetricAmount.t ]) list ]) list | `Structure of (string * [> `String of YearMonthDay.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