CreateMetricRequest
¶
Source code in docs_src/capo_connect/types/create_metric_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
description
instance-attribute
¶
description: NotRequired[MetricDescription]
The description of the metric.
instance_id
instance-attribute
¶
instance_id: InstanceId
The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
metric_calculation
instance-attribute
¶
metric_calculation: MetricCalculation
The calculation definition for the metric, including the formula expression and the component metrics it references.
positive_trend_indicator
instance-attribute
¶
positive_trend_indicator: NotRequired[TrendIndicator]
How an increase in the metric value should be interpreted. Valid values: POSITIVE, NEUTRAL, NEGATIVE.
status
instance-attribute
¶
status: NotRequired[MetricStatus]
The publish status of the metric. Set to PUBLISHED to make the metric available for use in dashboards and reports, or SAVED to keep it in draft state.