Skip to content

GetContactMetricsResponse

Source code in docs_src/capo_connect/types/get_contact_metrics_response.py
class GetContactMetricsResponse(TypedDict, closed=True):
    metric_results: NotRequired[
        "capo_connect.types.contact_metric_results.ContactMetricResults"
    ]
    """<p>A list of metric results containing the calculated values for each requested metric. Each result includes the metric name and its corresponding value. For example, POSITION_IN_QUEUE returns a numeric value representing the contact's position in queue, and ESTIMATED_WAIT_TIME returns the predicted wait time in seconds.</p>"""
    id: NotRequired["capo_connect.types.contact_id.ContactId"]
    """<p>The unique identifier of the contact for which metrics were retrieved. This matches the ContactId provided in the request.</p>"""
    arn: NotRequired["capo_connect.types.arn.ARN"]
    """<p>The ARN of the contact for which metrics were retrieved.</p>"""

arn instance-attribute

arn: NotRequired[ARN]

The ARN of the contact for which metrics were retrieved.

id instance-attribute

id: NotRequired[ContactId]

The unique identifier of the contact for which metrics were retrieved. This matches the ContactId provided in the request.

metric_results instance-attribute

metric_results: NotRequired[ContactMetricResults]

A list of metric results containing the calculated values for each requested metric. Each result includes the metric name and its corresponding value. For example, POSITION_IN_QUEUE returns a numeric value representing the contact's position in queue, and ESTIMATED_WAIT_TIME returns the predicted wait time in seconds.