Module Values_2.DataResponseSource

The response to a DataQuery.

Sourcetype nonrec t = {
  1. id : Values_0.String_.t option;
    (*

    The ID passed in the DataQuery.

    *)
  2. source : Values_0.String_.t option;
    (*

    The Region or Availability Zone that's the source for the data query. For example, us-east-1.

    *)
  3. destination : Values_0.String_.t option;
    (*

    The Region or Availability Zone that's the destination for the data query. For example, eu-west-1.

    *)
  4. metric : Values_1.MetricType.t option;
    (*

    The metric used for the network performance request.

    *)
  5. statistic : Values_1.StatisticType.t option;
    (*

    The statistic used for the network performance request.

    *)
  6. period : Values_1.PeriodType.t option;
    (*

    The period used for the network performance request.

    *)
  7. metricPoints : Values_1.MetricPoints.t option;
    (*

    A list of MetricPoint objects.

    *)
}
Sourceval make : ?id:??? -> ?source:??? -> ?destination:??? -> ?metric:??? -> ?statistic:??? -> ?period:??? -> ?metricPoints:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Float of float | `String of string | `Timestamp of string ]) list ] list | `String of Values_0.String_.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