Module Values_1.MetricIntervalSource

The interval period with the start and end time for the metrics.

Sourcetype nonrec t = {
  1. interval : IntervalPeriod.t option;
    (*

    The interval period provided in the API request.

    *)
  2. startTime : Values_0.Timestamp.t option;
    (*

    The timestamp, in UNIX Epoch time format. Start time is based on the interval period selected.

    *)
  3. endTime : Values_0.Timestamp.t option;
    (*

    The timestamp, in UNIX Epoch time format. End time is based on the interval period selected. For example, If IntervalPeriod is selected THIRTY_MIN, StartTime and EndTime in the API request differs by 1 day, then 48 results are returned in the response. Each result is aggregated by the 30 minutes period, with each StartTime and EndTime differing by 30 minutes.

    *)
}
Sourceval make : ?interval:??? -> ?startTime:??? -> ?endTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Timestamp of Values_0.Timestamp.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