Skip to content

UpdateMetricContentRequest

Source code in docs_src/capo_connect/types/update_metric_content_request.py
class UpdateMetricContentRequest(TypedDict, closed=True):
    instance_id: "capo_connect.types.instance_id.InstanceId"
    """<p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>"""
    metric_id: "capo_connect.types.metric_id.MetricId"
    """<p>The identifier of the metric to update. Adding the <code>$SAVED</code> qualifier will update the saved version of the metric. Adding <code>$LATEST</code> or omitting a qualifier will update the published version.</p>"""
    metric_calculation: NotRequired[
        "capo_connect.types.metric_calculation.MetricCalculation"
    ]
    """<p>The updated calculation definition for the metric.</p>"""
    unit: NotRequired["capo_connect.types.metric_unit.MetricUnit"]
    """<p>The updated display unit for the metric.</p>"""
    positive_trend_indicator: NotRequired[
        "capo_connect.types.trend_indicator.TrendIndicator"
    ]
    """<p>How an increase in the metric value should be interpreted. Valid values: <code>POSITIVE</code>, <code>NEUTRAL</code>, <code>NEGATIVE</code>.</p>"""

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: NotRequired[MetricCalculation]

The updated calculation definition for the metric.

metric_id instance-attribute

metric_id: MetricId

The identifier of the metric to update. Adding the $SAVED qualifier will update the saved version of the metric. Adding $LATEST or omitting a qualifier will update the published version.

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.

unit instance-attribute

unit: NotRequired[MetricUnit]

The updated display unit for the metric.