Skip to content

CurrentMetric

Source code in docs_src/capo_connect/types/current_metric.py
class CurrentMetric(TypedDict, closed=True):
    name: NotRequired["capo_connect.types.current_metric_name.CurrentMetricName"]
    """<p>The name of the metric.</p>"""
    metric_id: NotRequired["capo_connect.types.current_metric_id.CurrentMetricId"]
    """<p>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.</p>"""
    unit: NotRequired["capo_connect.types.unit.Unit"]
    """<note> <p>The Unit parameter is not supported for custom metrics.</p> </note> <p>The unit for the metric.</p>"""

metric_id instance-attribute

metric_id: NotRequired[CurrentMetricId]

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.

name instance-attribute

name: NotRequired[CurrentMetricName]

The name of the metric.

unit instance-attribute

unit: NotRequired[Unit]

The Unit parameter is not supported for custom metrics.

The unit for the metric.