ContactMetricResult - Amazon Connect

ContactMetricResult

Contains the result of a requested metric for the contact. This object is returned as part of the GetContactMetrics response and includes both the metric name and its calculated value.

Contents

Name

The name of the metric that was retrieved. This corresponds to the metric name specified in the request, such as POSITION_IN_QUEUE or ESTIMATED_WAIT_TIME.

Type: String

Valid Values: ESTIMATED_WAIT_TIME | POSITION_IN_QUEUE

Required: Yes

Value

The calculated value for the requested metric. This object contains the numeric result based on the contact's current state in the queue.

Type: ContactMetricValue object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: