Module Values_2.DataQuerySource

A query used for retrieving network health data.

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

    A user-defined ID associated with a data query that's returned in the dataResponse identifying the query. For example, if you set the Id to MyQuery01in the query, the dataResponse identifies the query as MyQuery01.

    *)
  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 target for the data query. For example, eu-north-1.

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

    The metric used for the network performance request.

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

    The metric data aggregation period, p50, between the specified startDate and endDate. For example, a metric of five_minutes is the median of all the data points gathered within those five minutes. p50 is the only supported metric.

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

    The aggregation period used for the data query.

    *)
}
Sourceval make : ?id:??? -> ?source:??? -> ?destination:??? -> ?metric:??? -> ?statistic:??? -> ?period:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `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