Module Values_1.CurrentMetricSource

Contains information about a real-time metric. For a description of each metric, see Metrics definitions in the Amazon Connect Administrator Guide. Only one of either the Name or MetricId is required.

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

    The name of the metric.

    *)
  2. metricId : CurrentMetricId.t option;
    (*

    Out of the box current metrics or custom metrics can be referenced via this field. This field is a valid AWS Connect Arn or a UUID.

    *)
  3. unit : Unit.t option;
    (*

    The Unit parameter is not supported for custom metrics. The unit for the metric.

    *)
}
Sourceval make : ?name:??? -> ?metricId:??? -> ?unit:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of CurrentMetricId.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