Module Values_1.MetricV2Source

Contains information about the metric. Only one of either the Name or MetricId is required.

Sourcetype nonrec t = {
  1. name : MetricNameV2.t option;
    (*

    The name of the metric.

    *)
  2. threshold : ThresholdCollections.t option;
    (*

    Contains information about the threshold for service level metrics.

    *)
  3. metricId : MetricId.t option;
    (*

    Historical metrics or custom metrics can be referenced via this field. This field is a valid Amazon Connect Arn or a UUID

    *)
  4. metricFilters : MetricFiltersV2List.t option;
    (*

    Contains the filters to be used when returning data.

    *)
}
Sourceval make : ?name:??? -> ?threshold:??? -> ?metricId:??? -> ?metricFilters:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Double of ThresholdValue.t | `List of [> `String of Values_0.String_.t ] list | `String of ResourceArnOrId.t ]) list ] list | `String of MetricNameV2.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