aws_sdk_connect/operation/get_metric_data_v2/builders.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub use crate::operation::get_metric_data_v2::_get_metric_data_v2_output::GetMetricDataV2OutputBuilder;
3
4pub use crate::operation::get_metric_data_v2::_get_metric_data_v2_input::GetMetricDataV2InputBuilder;
5
6impl crate::operation::get_metric_data_v2::builders::GetMetricDataV2InputBuilder {
7 /// Sends a request with this input using the given client.
8 pub async fn send_with(
9 self,
10 client: &crate::Client,
11 ) -> ::std::result::Result<
12 crate::operation::get_metric_data_v2::GetMetricDataV2Output,
13 ::aws_smithy_runtime_api::client::result::SdkError<
14 crate::operation::get_metric_data_v2::GetMetricDataV2Error,
15 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
16 >,
17 > {
18 let mut fluent_builder = client.get_metric_data_v2();
19 fluent_builder.inner = self;
20 fluent_builder.send().await
21 }
22}
23/// Fluent builder constructing a request to `GetMetricDataV2`.
24///
25/// <p>Gets metric data from the specified Amazon Connect instance.</p>
26/// <p><code>GetMetricDataV2</code> offers more features than <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricData.html">GetMetricData</a>, the previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve historical data for the last 3 months, at varying intervals. It does not support agent queues.</p>
27/// <p>For a description of the historical metrics that are supported by <code>GetMetricDataV2</code> and <code>GetMetricData</code>, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html">Metrics definitions</a> in the <i>Amazon Connect Administrator Guide</i>.</p><note>
28/// <p>When you make a successful API request, you can expect the following metric values in the response:</p>
29/// <ol>
30/// <li>
31/// <p><b>Metric value is null</b>: The calculation cannot be performed due to divide by zero or insufficient data</p></li>
32/// <li>
33/// <p><b>Metric value is a number (including 0) of defined type</b>: The number provided is the calculation result</p></li>
34/// <li>
35/// <p><b>MetricResult list is empty</b>: The request cannot find any data in the system</p></li>
36/// </ol>
37/// <p>The following guidelines can help you work with the API:</p>
38/// <ul>
39/// <li>
40/// <p>Each dimension in the metric response must contain a value</p></li>
41/// <li>
42/// <p>Each item in MetricResult must include all requested metrics</p></li>
43/// <li>
44/// <p>If the response is slow due to large result sets, try these approaches:</p>
45/// <ul>
46/// <li>
47/// <p>Narrow the time range of your request</p></li>
48/// <li>
49/// <p>Add filters to reduce the amount of data returned</p></li>
50/// </ul></li>
51/// </ul>
52/// </note>
53#[derive(::std::clone::Clone, ::std::fmt::Debug)]
54pub struct GetMetricDataV2FluentBuilder {
55 handle: ::std::sync::Arc<crate::client::Handle>,
56 inner: crate::operation::get_metric_data_v2::builders::GetMetricDataV2InputBuilder,
57 config_override: ::std::option::Option<crate::config::Builder>,
58}
59impl
60 crate::client::customize::internal::CustomizableSend<
61 crate::operation::get_metric_data_v2::GetMetricDataV2Output,
62 crate::operation::get_metric_data_v2::GetMetricDataV2Error,
63 > for GetMetricDataV2FluentBuilder
64{
65 fn send(
66 self,
67 config_override: crate::config::Builder,
68 ) -> crate::client::customize::internal::BoxFuture<
69 crate::client::customize::internal::SendResult<
70 crate::operation::get_metric_data_v2::GetMetricDataV2Output,
71 crate::operation::get_metric_data_v2::GetMetricDataV2Error,
72 >,
73 > {
74 ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
75 }
76}
77impl GetMetricDataV2FluentBuilder {
78 /// Creates a new `GetMetricDataV2FluentBuilder`.
79 pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
80 Self {
81 handle,
82 inner: ::std::default::Default::default(),
83 config_override: ::std::option::Option::None,
84 }
85 }
86 /// Access the GetMetricDataV2 as a reference.
87 pub fn as_input(&self) -> &crate::operation::get_metric_data_v2::builders::GetMetricDataV2InputBuilder {
88 &self.inner
89 }
90 /// Sends the request and returns the response.
91 ///
92 /// If an error occurs, an `SdkError` will be returned with additional details that
93 /// can be matched against.
94 ///
95 /// By default, any retryable failures will be retried twice. Retry behavior
96 /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
97 /// set when configuring the client.
98 pub async fn send(
99 self,
100 ) -> ::std::result::Result<
101 crate::operation::get_metric_data_v2::GetMetricDataV2Output,
102 ::aws_smithy_runtime_api::client::result::SdkError<
103 crate::operation::get_metric_data_v2::GetMetricDataV2Error,
104 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
105 >,
106 > {
107 let input = self
108 .inner
109 .build()
110 .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
111 let runtime_plugins = crate::operation::get_metric_data_v2::GetMetricDataV2::operation_runtime_plugins(
112 self.handle.runtime_plugins.clone(),
113 &self.handle.conf,
114 self.config_override,
115 );
116 crate::operation::get_metric_data_v2::GetMetricDataV2::orchestrate(&runtime_plugins, input).await
117 }
118
119 /// Consumes this builder, creating a customizable operation that can be modified before being sent.
120 pub fn customize(
121 self,
122 ) -> crate::client::customize::CustomizableOperation<
123 crate::operation::get_metric_data_v2::GetMetricDataV2Output,
124 crate::operation::get_metric_data_v2::GetMetricDataV2Error,
125 Self,
126 > {
127 crate::client::customize::CustomizableOperation::new(self)
128 }
129 pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
130 self.set_config_override(::std::option::Option::Some(config_override.into()));
131 self
132 }
133
134 pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
135 self.config_override = config_override;
136 self
137 }
138 /// Create a paginator for this request
139 ///
140 /// Paginators are used by calling [`send().await`](crate::operation::get_metric_data_v2::paginator::GetMetricDataV2Paginator::send) which returns a [`PaginationStream`](aws_smithy_async::future::pagination_stream::PaginationStream).
141 pub fn into_paginator(self) -> crate::operation::get_metric_data_v2::paginator::GetMetricDataV2Paginator {
142 crate::operation::get_metric_data_v2::paginator::GetMetricDataV2Paginator::new(self.handle, self.inner)
143 }
144 /// <p>The Amazon Resource Name (ARN) of the resource. This includes the <code>instanceId</code> an Amazon Connect instance.</p>
145 pub fn resource_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
146 self.inner = self.inner.resource_arn(input.into());
147 self
148 }
149 /// <p>The Amazon Resource Name (ARN) of the resource. This includes the <code>instanceId</code> an Amazon Connect instance.</p>
150 pub fn set_resource_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
151 self.inner = self.inner.set_resource_arn(input);
152 self
153 }
154 /// <p>The Amazon Resource Name (ARN) of the resource. This includes the <code>instanceId</code> an Amazon Connect instance.</p>
155 pub fn get_resource_arn(&self) -> &::std::option::Option<::std::string::String> {
156 self.inner.get_resource_arn()
157 }
158 /// <p>The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be before the end time timestamp. The start and end time depends on the <code>IntervalPeriod</code> selected. By default the time range between start and end time is 35 days. Historical metrics are available for 3 months.</p>
159 pub fn start_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
160 self.inner = self.inner.start_time(input);
161 self
162 }
163 /// <p>The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be before the end time timestamp. The start and end time depends on the <code>IntervalPeriod</code> selected. By default the time range between start and end time is 35 days. Historical metrics are available for 3 months.</p>
164 pub fn set_start_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
165 self.inner = self.inner.set_start_time(input);
166 self
167 }
168 /// <p>The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be before the end time timestamp. The start and end time depends on the <code>IntervalPeriod</code> selected. By default the time range between start and end time is 35 days. Historical metrics are available for 3 months.</p>
169 pub fn get_start_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
170 self.inner.get_start_time()
171 }
172 /// <p>The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be later than the start time timestamp. It cannot be later than the current timestamp.</p>
173 pub fn end_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
174 self.inner = self.inner.end_time(input);
175 self
176 }
177 /// <p>The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be later than the start time timestamp. It cannot be later than the current timestamp.</p>
178 pub fn set_end_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
179 self.inner = self.inner.set_end_time(input);
180 self
181 }
182 /// <p>The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be later than the start time timestamp. It cannot be later than the current timestamp.</p>
183 pub fn get_end_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
184 self.inner.get_end_time()
185 }
186 /// <p>The interval period and timezone to apply to returned metrics.</p>
187 /// <ul>
188 /// <li>
189 /// <p><code>IntervalPeriod</code>: An aggregated grouping applied to request metrics. Valid <code>IntervalPeriod</code> values are: <code>FIFTEEN_MIN</code> | <code>THIRTY_MIN</code> | <code>HOUR</code> | <code>DAY</code> | <code>WEEK</code> | <code>TOTAL</code>.</p>
190 /// <p>For example, if <code>IntervalPeriod</code> is selected <code>THIRTY_MIN</code>, <code>StartTime</code> and <code>EndTime</code> differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on the <code>TOTAL</code> interval period.</p>
191 /// <p>The following list describes restrictions on <code>StartTime</code> and <code>EndTime</code> based on which <code>IntervalPeriod</code> is requested.</p>
192 /// <ul>
193 /// <li>
194 /// <p><code>FIFTEEN_MIN</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 3 days.</p></li>
195 /// <li>
196 /// <p><code>THIRTY_MIN</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 3 days.</p></li>
197 /// <li>
198 /// <p><code>HOUR</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 3 days.</p></li>
199 /// <li>
200 /// <p><code>DAY</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 35 days.</p></li>
201 /// <li>
202 /// <p><code>WEEK</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 35 days.</p></li>
203 /// <li>
204 /// <p><code>TOTAL</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 35 days.</p></li>
205 /// </ul></li>
206 /// <li>
207 /// <p><code>TimeZone</code>: The timezone applied to requested metrics.</p></li>
208 /// </ul>
209 pub fn interval(mut self, input: crate::types::IntervalDetails) -> Self {
210 self.inner = self.inner.interval(input);
211 self
212 }
213 /// <p>The interval period and timezone to apply to returned metrics.</p>
214 /// <ul>
215 /// <li>
216 /// <p><code>IntervalPeriod</code>: An aggregated grouping applied to request metrics. Valid <code>IntervalPeriod</code> values are: <code>FIFTEEN_MIN</code> | <code>THIRTY_MIN</code> | <code>HOUR</code> | <code>DAY</code> | <code>WEEK</code> | <code>TOTAL</code>.</p>
217 /// <p>For example, if <code>IntervalPeriod</code> is selected <code>THIRTY_MIN</code>, <code>StartTime</code> and <code>EndTime</code> differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on the <code>TOTAL</code> interval period.</p>
218 /// <p>The following list describes restrictions on <code>StartTime</code> and <code>EndTime</code> based on which <code>IntervalPeriod</code> is requested.</p>
219 /// <ul>
220 /// <li>
221 /// <p><code>FIFTEEN_MIN</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 3 days.</p></li>
222 /// <li>
223 /// <p><code>THIRTY_MIN</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 3 days.</p></li>
224 /// <li>
225 /// <p><code>HOUR</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 3 days.</p></li>
226 /// <li>
227 /// <p><code>DAY</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 35 days.</p></li>
228 /// <li>
229 /// <p><code>WEEK</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 35 days.</p></li>
230 /// <li>
231 /// <p><code>TOTAL</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 35 days.</p></li>
232 /// </ul></li>
233 /// <li>
234 /// <p><code>TimeZone</code>: The timezone applied to requested metrics.</p></li>
235 /// </ul>
236 pub fn set_interval(mut self, input: ::std::option::Option<crate::types::IntervalDetails>) -> Self {
237 self.inner = self.inner.set_interval(input);
238 self
239 }
240 /// <p>The interval period and timezone to apply to returned metrics.</p>
241 /// <ul>
242 /// <li>
243 /// <p><code>IntervalPeriod</code>: An aggregated grouping applied to request metrics. Valid <code>IntervalPeriod</code> values are: <code>FIFTEEN_MIN</code> | <code>THIRTY_MIN</code> | <code>HOUR</code> | <code>DAY</code> | <code>WEEK</code> | <code>TOTAL</code>.</p>
244 /// <p>For example, if <code>IntervalPeriod</code> is selected <code>THIRTY_MIN</code>, <code>StartTime</code> and <code>EndTime</code> differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on the <code>TOTAL</code> interval period.</p>
245 /// <p>The following list describes restrictions on <code>StartTime</code> and <code>EndTime</code> based on which <code>IntervalPeriod</code> is requested.</p>
246 /// <ul>
247 /// <li>
248 /// <p><code>FIFTEEN_MIN</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 3 days.</p></li>
249 /// <li>
250 /// <p><code>THIRTY_MIN</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 3 days.</p></li>
251 /// <li>
252 /// <p><code>HOUR</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 3 days.</p></li>
253 /// <li>
254 /// <p><code>DAY</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 35 days.</p></li>
255 /// <li>
256 /// <p><code>WEEK</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 35 days.</p></li>
257 /// <li>
258 /// <p><code>TOTAL</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 35 days.</p></li>
259 /// </ul></li>
260 /// <li>
261 /// <p><code>TimeZone</code>: The timezone applied to requested metrics.</p></li>
262 /// </ul>
263 pub fn get_interval(&self) -> &::std::option::Option<crate::types::IntervalDetails> {
264 self.inner.get_interval()
265 }
266 ///
267 /// Appends an item to `Filters`.
268 ///
269 /// To override the contents of this collection use [`set_filters`](Self::set_filters).
270 ///
271 /// <p>The filters to apply to returned metrics. You can filter on the following resources:</p>
272 /// <ul>
273 /// <li>
274 /// <p>Agents</p></li>
275 /// <li>
276 /// <p>Campaigns</p></li>
277 /// <li>
278 /// <p>Channels</p></li>
279 /// <li>
280 /// <p>Feature</p></li>
281 /// <li>
282 /// <p>Queues</p></li>
283 /// <li>
284 /// <p>Routing profiles</p></li>
285 /// <li>
286 /// <p>Routing step expression</p></li>
287 /// <li>
288 /// <p>User hierarchy groups</p></li>
289 /// </ul>
290 /// <p>At least one filter must be passed from queues, routing profiles, agents, or user hierarchy groups.</p>
291 /// <p>For metrics for outbound campaigns analytics, you can also use campaigns to satisfy at least one filter requirement.</p>
292 /// <p>To filter by phone number, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-historical-metrics-report.html">Create a historical metrics report</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
293 /// <p>Note the following limits:</p>
294 /// <ul>
295 /// <li>
296 /// <p><b>Filter keys</b>: A maximum of 5 filter keys are supported in a single request. Valid filter keys: <code>AGENT</code> | <code>AGENT_HIERARCHY_LEVEL_FIVE</code> | <code>AGENT_HIERARCHY_LEVEL_FOUR</code> | <code>AGENT_ HIERARCHY_LEVEL_ONE</code> | <code>AGENT_HIERARCHY_LEVEL_THREE</code> | <code>AGENT_HIERARCHY_LEVEL_TWO</code> | <code> ANSWERING_MACHINE_DETECTION_STATUS</code> | <code>BOT_ALIAS</code> | <code>BOT_ID</code> | <code>BOT_INTENT_NAME</code> | <code>BOT_LOCALE</code> | <code>BOT_VERSION</code> | <code>CAMPAIGN</code> | <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code> | <code> CAMPAIGN_EXCLUDED_EVENT_TYPE</code> | <code>CASE_STATUS</code> | <code>CASE_TEMPLATE_ARN</code> | <code>CHANNEL</code> | <code> contact/segmentAttributes/connect:Subtype</code> | <code>contact/segmentAttributes/connect:ValidationTestType</code> | <code> DISCONNECT_REASON</code> | <code>EVALUATION_FORM</code> | <code>EVALUATION_QUESTION</code> | <code>EVALUATION_SECTION</code> | <code>EVALUATION_SOURCE</code> | <code>EVALUATOR_ID</code> | <code>FEATURE</code> | <code>FLOW_ACTION_ID</code> | <code>FLOW_TYPE</code> | <code>FLOWS_MODULE_RESOURCE_ID</code> | <code>FLOWS_NEXT_RESOURCE_ID</code> | <code>FLOWS_NEXT_RESOURCE_QUEUE_ID</code> | <code>FLOWS_OUTCOME_TYPE</code> | <code>FLOWS_RESOURCE_ID</code> | <code>FORM_VERSION</code> | <code>INITIATING_FLOW</code> | <code>INITIATION_METHOD</code> | <code>INVOKING_RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>INVOKING_RESOURCE_TYPE</code> | <code>PARENT_FLOWS_RESOURCE_ID</code> | <code>Q_CONNECT_ENABLED</code> | <code>QUEUE</code> | <code>RESOURCE_PUBLISHED_ TIMESTAMP</code> | <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> | <code>TEST_CASE</code> | <code>TEST_ CASE_EXECUTION_FAILURE_REASON</code> | <code>TEST_CASE_EXECUTION_RESULT</code> | <code>TEST_CASE_EXECUTION_STATE</code></p></li>
297 /// <li>
298 /// <p><b>Filter values</b>: A maximum of 100 filter values are supported in a single request. VOICE, CHAT, and TASK are valid <code>filterValue</code> for the CHANNEL filter key. They do not count towards limitation of 100 filter values. For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and 15 routing profiles for a total of 100 filter values, along with 3 channel filters.</p>
299 /// <p><code>contact_lens_conversational_analytics</code> is a valid filterValue for the <code>FEATURE</code> filter key. It is available only to contacts analyzed by Contact Lens conversational analytics.</p>
300 /// <p><code>connect:Chat</code>, <code>connect:SMS</code>, <code>connect:Telephony</code>, and <code>connect:WebRTC</code> are valid <code>filterValue</code> examples (not exhaustive) for the <code>contact/segmentAttributes/connect:Subtype filter</code> key.</p>
301 /// <p><code>ROUTING_STEP_EXPRESSION</code> is a valid filter key with a filter value up to 3000 length. This filter is case and order sensitive. JSON string fields must be sorted in ascending order and JSON array order should be kept as is.</p>
302 /// <p><code>Q_CONNECT_ENABLED</code>. TRUE and FALSE are the only valid filterValues for the <code>Q_CONNECT_ENABLED</code> filter key.</p>
303 /// <ul>
304 /// <li>
305 /// <p>TRUE includes all contacts that had Connect AI Agents enabled as part of the flow.</p></li>
306 /// <li>
307 /// <p>FALSE includes all contacts that did not have Connect AI Agents enabled as part of the flow</p></li>
308 /// <li>
309 /// <p>EXPERIENCE_VALIDATION and FLOW_VALIDATION are the only valid filterValues for the contact/segmentAttributes/connect:ValidationTestType filter key</p></li>
310 /// </ul>
311 /// <p>This filter is available only for contact record-driven metrics.</p>
312 /// <p><a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-outbound-campaigns_Campaign.html">Campaign</a> ARNs are valid <code>filterValues</code> for the <code>CAMPAIGN</code> filter key.</p></li>
313 /// </ul>
314 pub fn filters(mut self, input: crate::types::FilterV2) -> Self {
315 self.inner = self.inner.filters(input);
316 self
317 }
318 /// <p>The filters to apply to returned metrics. You can filter on the following resources:</p>
319 /// <ul>
320 /// <li>
321 /// <p>Agents</p></li>
322 /// <li>
323 /// <p>Campaigns</p></li>
324 /// <li>
325 /// <p>Channels</p></li>
326 /// <li>
327 /// <p>Feature</p></li>
328 /// <li>
329 /// <p>Queues</p></li>
330 /// <li>
331 /// <p>Routing profiles</p></li>
332 /// <li>
333 /// <p>Routing step expression</p></li>
334 /// <li>
335 /// <p>User hierarchy groups</p></li>
336 /// </ul>
337 /// <p>At least one filter must be passed from queues, routing profiles, agents, or user hierarchy groups.</p>
338 /// <p>For metrics for outbound campaigns analytics, you can also use campaigns to satisfy at least one filter requirement.</p>
339 /// <p>To filter by phone number, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-historical-metrics-report.html">Create a historical metrics report</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
340 /// <p>Note the following limits:</p>
341 /// <ul>
342 /// <li>
343 /// <p><b>Filter keys</b>: A maximum of 5 filter keys are supported in a single request. Valid filter keys: <code>AGENT</code> | <code>AGENT_HIERARCHY_LEVEL_FIVE</code> | <code>AGENT_HIERARCHY_LEVEL_FOUR</code> | <code>AGENT_ HIERARCHY_LEVEL_ONE</code> | <code>AGENT_HIERARCHY_LEVEL_THREE</code> | <code>AGENT_HIERARCHY_LEVEL_TWO</code> | <code> ANSWERING_MACHINE_DETECTION_STATUS</code> | <code>BOT_ALIAS</code> | <code>BOT_ID</code> | <code>BOT_INTENT_NAME</code> | <code>BOT_LOCALE</code> | <code>BOT_VERSION</code> | <code>CAMPAIGN</code> | <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code> | <code> CAMPAIGN_EXCLUDED_EVENT_TYPE</code> | <code>CASE_STATUS</code> | <code>CASE_TEMPLATE_ARN</code> | <code>CHANNEL</code> | <code> contact/segmentAttributes/connect:Subtype</code> | <code>contact/segmentAttributes/connect:ValidationTestType</code> | <code> DISCONNECT_REASON</code> | <code>EVALUATION_FORM</code> | <code>EVALUATION_QUESTION</code> | <code>EVALUATION_SECTION</code> | <code>EVALUATION_SOURCE</code> | <code>EVALUATOR_ID</code> | <code>FEATURE</code> | <code>FLOW_ACTION_ID</code> | <code>FLOW_TYPE</code> | <code>FLOWS_MODULE_RESOURCE_ID</code> | <code>FLOWS_NEXT_RESOURCE_ID</code> | <code>FLOWS_NEXT_RESOURCE_QUEUE_ID</code> | <code>FLOWS_OUTCOME_TYPE</code> | <code>FLOWS_RESOURCE_ID</code> | <code>FORM_VERSION</code> | <code>INITIATING_FLOW</code> | <code>INITIATION_METHOD</code> | <code>INVOKING_RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>INVOKING_RESOURCE_TYPE</code> | <code>PARENT_FLOWS_RESOURCE_ID</code> | <code>Q_CONNECT_ENABLED</code> | <code>QUEUE</code> | <code>RESOURCE_PUBLISHED_ TIMESTAMP</code> | <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> | <code>TEST_CASE</code> | <code>TEST_ CASE_EXECUTION_FAILURE_REASON</code> | <code>TEST_CASE_EXECUTION_RESULT</code> | <code>TEST_CASE_EXECUTION_STATE</code></p></li>
344 /// <li>
345 /// <p><b>Filter values</b>: A maximum of 100 filter values are supported in a single request. VOICE, CHAT, and TASK are valid <code>filterValue</code> for the CHANNEL filter key. They do not count towards limitation of 100 filter values. For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and 15 routing profiles for a total of 100 filter values, along with 3 channel filters.</p>
346 /// <p><code>contact_lens_conversational_analytics</code> is a valid filterValue for the <code>FEATURE</code> filter key. It is available only to contacts analyzed by Contact Lens conversational analytics.</p>
347 /// <p><code>connect:Chat</code>, <code>connect:SMS</code>, <code>connect:Telephony</code>, and <code>connect:WebRTC</code> are valid <code>filterValue</code> examples (not exhaustive) for the <code>contact/segmentAttributes/connect:Subtype filter</code> key.</p>
348 /// <p><code>ROUTING_STEP_EXPRESSION</code> is a valid filter key with a filter value up to 3000 length. This filter is case and order sensitive. JSON string fields must be sorted in ascending order and JSON array order should be kept as is.</p>
349 /// <p><code>Q_CONNECT_ENABLED</code>. TRUE and FALSE are the only valid filterValues for the <code>Q_CONNECT_ENABLED</code> filter key.</p>
350 /// <ul>
351 /// <li>
352 /// <p>TRUE includes all contacts that had Connect AI Agents enabled as part of the flow.</p></li>
353 /// <li>
354 /// <p>FALSE includes all contacts that did not have Connect AI Agents enabled as part of the flow</p></li>
355 /// <li>
356 /// <p>EXPERIENCE_VALIDATION and FLOW_VALIDATION are the only valid filterValues for the contact/segmentAttributes/connect:ValidationTestType filter key</p></li>
357 /// </ul>
358 /// <p>This filter is available only for contact record-driven metrics.</p>
359 /// <p><a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-outbound-campaigns_Campaign.html">Campaign</a> ARNs are valid <code>filterValues</code> for the <code>CAMPAIGN</code> filter key.</p></li>
360 /// </ul>
361 pub fn set_filters(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::FilterV2>>) -> Self {
362 self.inner = self.inner.set_filters(input);
363 self
364 }
365 /// <p>The filters to apply to returned metrics. You can filter on the following resources:</p>
366 /// <ul>
367 /// <li>
368 /// <p>Agents</p></li>
369 /// <li>
370 /// <p>Campaigns</p></li>
371 /// <li>
372 /// <p>Channels</p></li>
373 /// <li>
374 /// <p>Feature</p></li>
375 /// <li>
376 /// <p>Queues</p></li>
377 /// <li>
378 /// <p>Routing profiles</p></li>
379 /// <li>
380 /// <p>Routing step expression</p></li>
381 /// <li>
382 /// <p>User hierarchy groups</p></li>
383 /// </ul>
384 /// <p>At least one filter must be passed from queues, routing profiles, agents, or user hierarchy groups.</p>
385 /// <p>For metrics for outbound campaigns analytics, you can also use campaigns to satisfy at least one filter requirement.</p>
386 /// <p>To filter by phone number, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-historical-metrics-report.html">Create a historical metrics report</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
387 /// <p>Note the following limits:</p>
388 /// <ul>
389 /// <li>
390 /// <p><b>Filter keys</b>: A maximum of 5 filter keys are supported in a single request. Valid filter keys: <code>AGENT</code> | <code>AGENT_HIERARCHY_LEVEL_FIVE</code> | <code>AGENT_HIERARCHY_LEVEL_FOUR</code> | <code>AGENT_ HIERARCHY_LEVEL_ONE</code> | <code>AGENT_HIERARCHY_LEVEL_THREE</code> | <code>AGENT_HIERARCHY_LEVEL_TWO</code> | <code> ANSWERING_MACHINE_DETECTION_STATUS</code> | <code>BOT_ALIAS</code> | <code>BOT_ID</code> | <code>BOT_INTENT_NAME</code> | <code>BOT_LOCALE</code> | <code>BOT_VERSION</code> | <code>CAMPAIGN</code> | <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code> | <code> CAMPAIGN_EXCLUDED_EVENT_TYPE</code> | <code>CASE_STATUS</code> | <code>CASE_TEMPLATE_ARN</code> | <code>CHANNEL</code> | <code> contact/segmentAttributes/connect:Subtype</code> | <code>contact/segmentAttributes/connect:ValidationTestType</code> | <code> DISCONNECT_REASON</code> | <code>EVALUATION_FORM</code> | <code>EVALUATION_QUESTION</code> | <code>EVALUATION_SECTION</code> | <code>EVALUATION_SOURCE</code> | <code>EVALUATOR_ID</code> | <code>FEATURE</code> | <code>FLOW_ACTION_ID</code> | <code>FLOW_TYPE</code> | <code>FLOWS_MODULE_RESOURCE_ID</code> | <code>FLOWS_NEXT_RESOURCE_ID</code> | <code>FLOWS_NEXT_RESOURCE_QUEUE_ID</code> | <code>FLOWS_OUTCOME_TYPE</code> | <code>FLOWS_RESOURCE_ID</code> | <code>FORM_VERSION</code> | <code>INITIATING_FLOW</code> | <code>INITIATION_METHOD</code> | <code>INVOKING_RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>INVOKING_RESOURCE_TYPE</code> | <code>PARENT_FLOWS_RESOURCE_ID</code> | <code>Q_CONNECT_ENABLED</code> | <code>QUEUE</code> | <code>RESOURCE_PUBLISHED_ TIMESTAMP</code> | <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> | <code>TEST_CASE</code> | <code>TEST_ CASE_EXECUTION_FAILURE_REASON</code> | <code>TEST_CASE_EXECUTION_RESULT</code> | <code>TEST_CASE_EXECUTION_STATE</code></p></li>
391 /// <li>
392 /// <p><b>Filter values</b>: A maximum of 100 filter values are supported in a single request. VOICE, CHAT, and TASK are valid <code>filterValue</code> for the CHANNEL filter key. They do not count towards limitation of 100 filter values. For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and 15 routing profiles for a total of 100 filter values, along with 3 channel filters.</p>
393 /// <p><code>contact_lens_conversational_analytics</code> is a valid filterValue for the <code>FEATURE</code> filter key. It is available only to contacts analyzed by Contact Lens conversational analytics.</p>
394 /// <p><code>connect:Chat</code>, <code>connect:SMS</code>, <code>connect:Telephony</code>, and <code>connect:WebRTC</code> are valid <code>filterValue</code> examples (not exhaustive) for the <code>contact/segmentAttributes/connect:Subtype filter</code> key.</p>
395 /// <p><code>ROUTING_STEP_EXPRESSION</code> is a valid filter key with a filter value up to 3000 length. This filter is case and order sensitive. JSON string fields must be sorted in ascending order and JSON array order should be kept as is.</p>
396 /// <p><code>Q_CONNECT_ENABLED</code>. TRUE and FALSE are the only valid filterValues for the <code>Q_CONNECT_ENABLED</code> filter key.</p>
397 /// <ul>
398 /// <li>
399 /// <p>TRUE includes all contacts that had Connect AI Agents enabled as part of the flow.</p></li>
400 /// <li>
401 /// <p>FALSE includes all contacts that did not have Connect AI Agents enabled as part of the flow</p></li>
402 /// <li>
403 /// <p>EXPERIENCE_VALIDATION and FLOW_VALIDATION are the only valid filterValues for the contact/segmentAttributes/connect:ValidationTestType filter key</p></li>
404 /// </ul>
405 /// <p>This filter is available only for contact record-driven metrics.</p>
406 /// <p><a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-outbound-campaigns_Campaign.html">Campaign</a> ARNs are valid <code>filterValues</code> for the <code>CAMPAIGN</code> filter key.</p></li>
407 /// </ul>
408 pub fn get_filters(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::FilterV2>> {
409 self.inner.get_filters()
410 }
411 ///
412 /// Appends an item to `Groupings`.
413 ///
414 /// To override the contents of this collection use [`set_groupings`](Self::set_groupings).
415 ///
416 /// <p>The grouping applied to the metrics that are returned. For example, when results are grouped by queue, the metrics returned are grouped by queue. The values that are returned apply to the metrics for each queue. They are not aggregated for all queues.</p>
417 /// <p>If no grouping is specified, a summary of all metrics is returned.</p>
418 /// <p>Valid grouping keys: <code>AGENT</code> | <code>AGENT_HIERARCHY_LEVEL_ONE</code> | <code>AGENT_HIERARCHY_LEVEL_TWO</code> | <code>AGENT_HIERARCHY_LEVEL_THREE</code> | <code>AGENT_HIERARCHY_LEVEL_FOUR</code> | <code>AGENT_HIERARCHY_LEVEL_FIVE</code> | <code>ANSWERING_MACHINE_DETECTION_STATUS</code> | <code>BOT_ID</code> | <code>BOT_ALIAS</code> | <code>BOT_VERSION</code> | <code>BOT_LOCALE</code> | <code>BOT_INTENT_NAME</code> | <code>CAMPAIGN</code> | <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code> | <code>CAMPAIGN_EXCLUDED_EVENT_TYPE</code> | <code>CAMPAIGN_EXECUTION_TIMESTAMP</code> | <code>CASE_TEMPLATE_ARN</code> | <code>CASE_STATUS</code> | <code>CHANNEL</code> | <code>contact/segmentAttributes/connect:Subtype</code> | <code>DISCONNECT_REASON</code> | <code>EVALUATION_FORM</code> | <code>EVALUATION_SECTION</code> | <code>EVALUATION_QUESTION</code> | <code>EVALUATION_SOURCE</code> | <code>EVALUATOR_ID</code> | <code>FLOWS_RESOURCE_ID</code> | <code>FLOWS_MODULE_RESOURCE_ID</code> | <code>FLOW_ACTION_ID</code> | <code>FLOW_TYPE</code> | <code>FLOWS_OUTCOME_TYPE</code> | <code>FORM_VERSION</code> | <code>INITIATION_METHOD</code> | <code>INVOKING_RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>INVOKING_RESOURCE_TYPE</code> | <code>PARENT_FLOWS_RESOURCE_ID</code> | <code>Q_CONNECT_ENABLED</code> | <code>QUEUE</code> | <code>RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> | <code>TEST_CASE</code> | <code>TEST_CASE_EXECUTION_FAILURE_REASON</code> | <code>TEST_CASE_INVOCATION_METHOD</code></p>
419 /// <p>API, SCHEDULE, and EVENT are the only valid filterValues for TEST_CASE_INVOCATION_METHOD.</p>
420 /// <p>OBSERVE_EVENT, SEND_INSTRUCTION, ASSERT_DATA, and OVERRIDE_SYSTEM_BEHAVIOR are the only valid filterValues for TEST_CASE_EXECUTION_FAILURE_REASON</p>
421 /// <p>Type: Array of strings</p>
422 /// <p>Array Members: Maximum number of 4 items</p>
423 /// <p>Required: No</p>
424 pub fn groupings(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
425 self.inner = self.inner.groupings(input.into());
426 self
427 }
428 /// <p>The grouping applied to the metrics that are returned. For example, when results are grouped by queue, the metrics returned are grouped by queue. The values that are returned apply to the metrics for each queue. They are not aggregated for all queues.</p>
429 /// <p>If no grouping is specified, a summary of all metrics is returned.</p>
430 /// <p>Valid grouping keys: <code>AGENT</code> | <code>AGENT_HIERARCHY_LEVEL_ONE</code> | <code>AGENT_HIERARCHY_LEVEL_TWO</code> | <code>AGENT_HIERARCHY_LEVEL_THREE</code> | <code>AGENT_HIERARCHY_LEVEL_FOUR</code> | <code>AGENT_HIERARCHY_LEVEL_FIVE</code> | <code>ANSWERING_MACHINE_DETECTION_STATUS</code> | <code>BOT_ID</code> | <code>BOT_ALIAS</code> | <code>BOT_VERSION</code> | <code>BOT_LOCALE</code> | <code>BOT_INTENT_NAME</code> | <code>CAMPAIGN</code> | <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code> | <code>CAMPAIGN_EXCLUDED_EVENT_TYPE</code> | <code>CAMPAIGN_EXECUTION_TIMESTAMP</code> | <code>CASE_TEMPLATE_ARN</code> | <code>CASE_STATUS</code> | <code>CHANNEL</code> | <code>contact/segmentAttributes/connect:Subtype</code> | <code>DISCONNECT_REASON</code> | <code>EVALUATION_FORM</code> | <code>EVALUATION_SECTION</code> | <code>EVALUATION_QUESTION</code> | <code>EVALUATION_SOURCE</code> | <code>EVALUATOR_ID</code> | <code>FLOWS_RESOURCE_ID</code> | <code>FLOWS_MODULE_RESOURCE_ID</code> | <code>FLOW_ACTION_ID</code> | <code>FLOW_TYPE</code> | <code>FLOWS_OUTCOME_TYPE</code> | <code>FORM_VERSION</code> | <code>INITIATION_METHOD</code> | <code>INVOKING_RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>INVOKING_RESOURCE_TYPE</code> | <code>PARENT_FLOWS_RESOURCE_ID</code> | <code>Q_CONNECT_ENABLED</code> | <code>QUEUE</code> | <code>RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> | <code>TEST_CASE</code> | <code>TEST_CASE_EXECUTION_FAILURE_REASON</code> | <code>TEST_CASE_INVOCATION_METHOD</code></p>
431 /// <p>API, SCHEDULE, and EVENT are the only valid filterValues for TEST_CASE_INVOCATION_METHOD.</p>
432 /// <p>OBSERVE_EVENT, SEND_INSTRUCTION, ASSERT_DATA, and OVERRIDE_SYSTEM_BEHAVIOR are the only valid filterValues for TEST_CASE_EXECUTION_FAILURE_REASON</p>
433 /// <p>Type: Array of strings</p>
434 /// <p>Array Members: Maximum number of 4 items</p>
435 /// <p>Required: No</p>
436 pub fn set_groupings(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
437 self.inner = self.inner.set_groupings(input);
438 self
439 }
440 /// <p>The grouping applied to the metrics that are returned. For example, when results are grouped by queue, the metrics returned are grouped by queue. The values that are returned apply to the metrics for each queue. They are not aggregated for all queues.</p>
441 /// <p>If no grouping is specified, a summary of all metrics is returned.</p>
442 /// <p>Valid grouping keys: <code>AGENT</code> | <code>AGENT_HIERARCHY_LEVEL_ONE</code> | <code>AGENT_HIERARCHY_LEVEL_TWO</code> | <code>AGENT_HIERARCHY_LEVEL_THREE</code> | <code>AGENT_HIERARCHY_LEVEL_FOUR</code> | <code>AGENT_HIERARCHY_LEVEL_FIVE</code> | <code>ANSWERING_MACHINE_DETECTION_STATUS</code> | <code>BOT_ID</code> | <code>BOT_ALIAS</code> | <code>BOT_VERSION</code> | <code>BOT_LOCALE</code> | <code>BOT_INTENT_NAME</code> | <code>CAMPAIGN</code> | <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code> | <code>CAMPAIGN_EXCLUDED_EVENT_TYPE</code> | <code>CAMPAIGN_EXECUTION_TIMESTAMP</code> | <code>CASE_TEMPLATE_ARN</code> | <code>CASE_STATUS</code> | <code>CHANNEL</code> | <code>contact/segmentAttributes/connect:Subtype</code> | <code>DISCONNECT_REASON</code> | <code>EVALUATION_FORM</code> | <code>EVALUATION_SECTION</code> | <code>EVALUATION_QUESTION</code> | <code>EVALUATION_SOURCE</code> | <code>EVALUATOR_ID</code> | <code>FLOWS_RESOURCE_ID</code> | <code>FLOWS_MODULE_RESOURCE_ID</code> | <code>FLOW_ACTION_ID</code> | <code>FLOW_TYPE</code> | <code>FLOWS_OUTCOME_TYPE</code> | <code>FORM_VERSION</code> | <code>INITIATION_METHOD</code> | <code>INVOKING_RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>INVOKING_RESOURCE_TYPE</code> | <code>PARENT_FLOWS_RESOURCE_ID</code> | <code>Q_CONNECT_ENABLED</code> | <code>QUEUE</code> | <code>RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> | <code>TEST_CASE</code> | <code>TEST_CASE_EXECUTION_FAILURE_REASON</code> | <code>TEST_CASE_INVOCATION_METHOD</code></p>
443 /// <p>API, SCHEDULE, and EVENT are the only valid filterValues for TEST_CASE_INVOCATION_METHOD.</p>
444 /// <p>OBSERVE_EVENT, SEND_INSTRUCTION, ASSERT_DATA, and OVERRIDE_SYSTEM_BEHAVIOR are the only valid filterValues for TEST_CASE_EXECUTION_FAILURE_REASON</p>
445 /// <p>Type: Array of strings</p>
446 /// <p>Array Members: Maximum number of 4 items</p>
447 /// <p>Required: No</p>
448 pub fn get_groupings(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
449 self.inner.get_groupings()
450 }
451 ///
452 /// Appends an item to `Metrics`.
453 ///
454 /// To override the contents of this collection use [`set_metrics`](Self::set_metrics).
455 ///
456 /// <p>The metrics to retrieve. Specify the name or metricId, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html">Metrics definition</a> in the <i>Amazon Connect Administrator Guide</i>.</p><note>
457 /// <p>MetricId should be used to reference custom metrics or out of the box metrics as Arn. If using MetricId, the limit is 20 MetricId per request.</p>
458 /// </note>
459 /// <dl>
460 /// <dt>
461 /// ABANDONMENT_RATE
462 /// </dt>
463 /// <dd>
464 /// <p>Unit: Percent</p>
465 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
466 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#abandonment-rate">Abandonment rate</a></p>
467 /// </dd>
468 /// <dt>
469 /// AGENT_ADHERENT_TIME
470 /// </dt>
471 /// <dd>
472 /// <p>This metric is available only in Amazon Web Services Regions where <a href="https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region">Forecasting, capacity planning, and scheduling</a> is available.</p>
473 /// <p>Unit: Seconds</p>
474 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
475 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#adherent-time">Adherent time</a></p>
476 /// </dd>
477 /// <dt>
478 /// AGENT_ANSWER_RATE
479 /// </dt>
480 /// <dd>
481 /// <p>Unit: Percent</p>
482 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
483 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-answer-rate">Agent answer rate</a></p>
484 /// </dd>
485 /// <dt>
486 /// AGENT_NON_ADHERENT_TIME
487 /// </dt>
488 /// <dd>
489 /// <p>Unit: Seconds</p>
490 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
491 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#non-adherent-time">Non-adherent time</a></p>
492 /// </dd>
493 /// <dt>
494 /// AGENT_NON_RESPONSE
495 /// </dt>
496 /// <dd>
497 /// <p>Unit: Count</p>
498 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
499 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-non-response">Agent non-response</a></p>
500 /// </dd>
501 /// <dt>
502 /// AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS
503 /// </dt>
504 /// <dd>
505 /// <p>Unit: Count</p>
506 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
507 /// <p>Data for this metric is available starting from October 1, 2023 0:00:00 GMT.</p>
508 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-non-response-without-customer-abandons">Agent non-response without customer abandons</a></p>
509 /// </dd>
510 /// <dt>
511 /// AGENT_OCCUPANCY
512 /// </dt>
513 /// <dd>
514 /// <p>Unit: Percentage</p>
515 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
516 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#occupancy">Occupancy</a></p>
517 /// </dd>
518 /// <dt>
519 /// AGENT_SCHEDULE_ADHERENCE
520 /// </dt>
521 /// <dd>
522 /// <p>This metric is available only in Amazon Web Services Regions where <a href="https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region">Forecasting, capacity planning, and scheduling</a> is available.</p>
523 /// <p>Unit: Percent</p>
524 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
525 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#adherence">Adherence</a></p>
526 /// </dd>
527 /// <dt>
528 /// AGENT_SCHEDULED_TIME
529 /// </dt>
530 /// <dd>
531 /// <p>This metric is available only in Amazon Web Services Regions where <a href="https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region">Forecasting, capacity planning, and scheduling</a> is available.</p>
532 /// <p>Unit: Seconds</p>
533 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
534 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#scheduled-time">Scheduled time</a></p>
535 /// </dd>
536 /// <dt>
537 /// AVG_ABANDON_TIME
538 /// </dt>
539 /// <dd>
540 /// <p>Unit: Seconds</p>
541 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
542 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
543 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-queue-abandon-time">Average queue abandon time</a></p>
544 /// </dd>
545 /// <dt>
546 /// AVG_ACTIVE_TIME
547 /// </dt>
548 /// <dd>
549 /// <p>Unit: Seconds</p>
550 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
551 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-active-time">Average active time</a></p>
552 /// </dd>
553 /// <dt>
554 /// AVG_AFTER_CONTACT_WORK_TIME
555 /// </dt>
556 /// <dd>
557 /// <p>Unit: Seconds</p>
558 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
559 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
560 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#after-contact-work-time">Average after contact work time</a></p><note>
561 /// <p>Feature is a valid filter but not a valid grouping.</p>
562 /// </note>
563 /// </dd>
564 /// <dt>
565 /// AVG_AGENT_CONCURRENCY
566 /// </dt>
567 /// <dd>
568 /// <p>Unit: Count</p>
569 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
570 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-concurrency">Average agent concurrency</a></p>
571 /// </dd>
572 /// <dt>
573 /// AVG_AGENT_CONNECTING_TIME
574 /// </dt>
575 /// <dd>
576 /// <p>Unit: Seconds</p>
577 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code>. For now, this metric only supports the following as <code>INITIATION_METHOD</code>: <code>INBOUND</code> | <code>OUTBOUND</code> | <code>CALLBACK</code> | <code>API</code></p>
578 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
579 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-api-connecting-time">Average agent API connecting time</a></p><note>
580 /// <p>The <code>Negate</code> key in metric-level filters is not applicable for this metric.</p>
581 /// </note>
582 /// </dd>
583 /// <dt>
584 /// AVG_AGENT_PAUSE_TIME
585 /// </dt>
586 /// <dd>
587 /// <p>Unit: Seconds</p>
588 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
589 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-pause-time">Average agent pause time</a></p>
590 /// </dd>
591 /// <dt>
592 /// AVG_BOT_CONVERSATION_TIME
593 /// </dt>
594 /// <dd>
595 /// <p>Unit: Seconds</p>
596 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
597 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#average-bot-conversation-time">Average bot conversation time</a></p>
598 /// </dd>
599 /// <dt>
600 /// AVG_BOT_CONVERSATION_TURNS
601 /// </dt>
602 /// <dd>
603 /// <p>Unit: Count</p>
604 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
605 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#average-bot-conversation-turns">Average bot conversation turns</a></p>
606 /// </dd>
607 /// <dt>
608 /// AVG_CASE_RELATED_CONTACTS
609 /// </dt>
610 /// <dd>
611 /// <p>Unit: Count</p>
612 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
613 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
614 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-contacts-per-case">Average contacts per case</a></p>
615 /// </dd>
616 /// <dt>
617 /// AVG_CASE_RESOLUTION_TIME
618 /// </dt>
619 /// <dd>
620 /// <p>Unit: Seconds</p>
621 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
622 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
623 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-case-resolution-time">Average case resolution time</a></p>
624 /// </dd>
625 /// <dt>
626 /// AVG_CONTACT_DURATION
627 /// </dt>
628 /// <dd>
629 /// <p>Unit: Seconds</p>
630 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
631 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-contact-duration">Average contact duration</a></p><note>
632 /// <p>Feature is a valid filter but not a valid grouping.</p>
633 /// </note>
634 /// </dd>
635 /// <dt>
636 /// AVG_CONTACT_FIRST_RESPONSE_TIME_AGENT
637 /// </dt>
638 /// <dd>
639 /// <p>Unit: Seconds</p>
640 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
641 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-average-contact-first-response-wait-time">Agent average contact first response wait time</a></p>
642 /// </dd>
643 /// <dt>
644 /// AVG_CONVERSATION_CLOSE_TIME
645 /// </dt>
646 /// <dd>
647 /// <p>Unit: Seconds</p>
648 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
649 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-conversation-close-time">Average conversation close time</a></p>
650 /// </dd>
651 /// <dt>
652 /// AVG_CONVERSATION_DURATION
653 /// </dt>
654 /// <dd>
655 /// <p>Unit: Seconds</p>
656 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
657 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-conversation-duration">Average conversation duration</a></p>
658 /// </dd>
659 /// <dt>
660 /// AVG_DIALS_PER_MINUTE
661 /// </dt>
662 /// <dd>
663 /// <p>This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.</p>
664 /// <p>Unit: Count</p>
665 /// <p>Valid groupings and filters: Agent, Campaign, Queue, Routing Profile</p>
666 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-dials-per-minute">Average dials per minute</a></p>
667 /// </dd>
668 /// <dt>
669 /// AVG_EVALUATION_SCORE
670 /// </dt>
671 /// <dd>
672 /// <p>Unit: Percent</p>
673 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Section ID, Evaluation Question ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
674 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-evaluation-score">Average evaluation score</a></p>
675 /// </dd>
676 /// <dt>
677 /// AVG_FIRST_RESPONSE_TIME_AGENT
678 /// </dt>
679 /// <dd>
680 /// <p>Unit: Seconds</p>
681 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
682 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-first-response-time">Average agent first response time</a></p>
683 /// </dd>
684 /// <dt>
685 /// AVG_FLOW_TIME
686 /// </dt>
687 /// <dd>
688 /// <p>Unit: Seconds</p>
689 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
690 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-flow-time">Average flow time</a></p>
691 /// </dd>
692 /// <dt>
693 /// AVG_GREETING_TIME_AGENT
694 /// </dt>
695 /// <dd>
696 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
697 /// <p>Unit: Seconds</p>
698 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
699 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-greeting-time">Average agent greeting time</a></p>
700 /// </dd>
701 /// <dt>
702 /// AVG_HANDLE_TIME
703 /// </dt>
704 /// <dd>
705 /// <p>Unit: Seconds</p>
706 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression</p>
707 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-handle-time">Average handle time</a></p><note>
708 /// <p>Feature is a valid filter but not a valid grouping.</p>
709 /// </note>
710 /// </dd>
711 /// <dt>
712 /// ACTIVE_AI_AGENTS
713 /// </dt>
714 /// <dd>
715 /// <p>Unit: Count</p>
716 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Type, AI Use Case, Channel, Queue, Routing Profile</p>
717 /// <p>UI name: Active AI Agents</p>
718 /// </dd>
719 /// <dt>
720 /// AI_HANDOFF_RATE
721 /// </dt>
722 /// <dd>
723 /// <p>Unit: Percent</p>
724 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
725 /// <p>UI name: Handoff Rate</p>
726 /// </dd>
727 /// <dt>
728 /// AI_HANDOFFS
729 /// </dt>
730 /// <dd>
731 /// <p>Unit: Count</p>
732 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
733 /// <p>UI name: AI Handoff Count</p>
734 /// </dd>
735 /// <dt>
736 /// AI_AGENT_INVOCATION_SUCCESS
737 /// </dt>
738 /// <dd>
739 /// <p>Unit: Count</p>
740 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Use Case, Channel, Queue, Routing Profile</p>
741 /// <p>UI name: AI Agent Invocation Success Count</p><note>
742 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
743 /// </note>
744 /// </dd>
745 /// <dt>
746 /// AI_AGENT_INVOCATION_SUCCESS_RATE
747 /// </dt>
748 /// <dd>
749 /// <p>Unit: Percent</p>
750 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Use Case, Channel, Queue, Routing Profile</p>
751 /// <p>UI name: AI Agent Invocation Success Rate</p><note>
752 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
753 /// </note>
754 /// </dd>
755 /// <dt>
756 /// AI_AGENT_INVOCATIONS
757 /// </dt>
758 /// <dd>
759 /// <p>Unit: Count</p>
760 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Type, AI Agent Name Version, AI Use Case, Channel, Queue, Routing Profile</p>
761 /// <p>UI name: AI Agent Invocation Count</p><note>
762 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
763 /// </note>
764 /// </dd>
765 /// <dt>
766 /// AI_RESPONSE_COMPLETION_RATE
767 /// </dt>
768 /// <dd>
769 /// <p>Unit: Percent</p>
770 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
771 /// <p>UI name: AI Response Completion Rate</p>
772 /// </dd>
773 /// <dt>
774 /// AI_INVOLVED_CONTACTS
775 /// </dt>
776 /// <dd>
777 /// <p>Unit: Count</p>
778 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
779 /// <p>UI name: AI Contacts</p>
780 /// </dd>
781 /// <dt>
782 /// AI_PROMPT_INVOCATION_SUCCESS
783 /// </dt>
784 /// <dd>
785 /// <p>Unit: Count</p>
786 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Prompt, AI Prompt ID, AI Prompt Name, AI Prompt Type, AI Use Case, Channel, Queue, Routing Profile</p>
787 /// <p>UI name: AI Prompt Invocation Success Count</p><note>
788 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
789 /// </note>
790 /// </dd>
791 /// <dt>
792 /// AI_PROMPT_INVOCATION_SUCCESS_RATE
793 /// </dt>
794 /// <dd>
795 /// <p>Unit: Percent</p>
796 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Prompt, AI Prompt ID, AI Prompt Name, AI Prompt Type, AI Use Case, Channel, Queue, Routing Profile</p>
797 /// <p>UI name: AI Prompt Invocation Success Rate</p><note>
798 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
799 /// </note>
800 /// </dd>
801 /// <dt>
802 /// AI_TOOL_INVOCATIONS
803 /// </dt>
804 /// <dd>
805 /// <p>Unit: Count</p>
806 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Tool ID, AI Tool Name, AI Tool Type, AI Use Case, Channel, Queue, Routing Profile</p>
807 /// <p>UI name: AI Tool Invocation Count</p><note>
808 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
809 /// </note>
810 /// </dd>
811 /// <dt>
812 /// AVG_AI_AGENT_CONVERSATION_TURNS
813 /// </dt>
814 /// <dd>
815 /// <p>Unit: Count</p>
816 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Use Case, Channel, Queue, Routing Profile</p>
817 /// <p>UI name: Average AI Agent Conversation Turns</p><note>
818 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
819 /// </note>
820 /// </dd>
821 /// <dt>
822 /// AVG_AI_CONVERSATION_TURNS
823 /// </dt>
824 /// <dd>
825 /// <p>Unit: Count</p>
826 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
827 /// <p>UI name: AI Conversation Turns</p>
828 /// </dd>
829 /// <dt>
830 /// AVG_AI_PROMPT_INVOCATION_LATENCY
831 /// </dt>
832 /// <dd>
833 /// <p>Unit: Milliseconds</p>
834 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Prompt, AI Prompt ID, AI Prompt Name, AI Prompt Type, AI Use Case, Channel, Queue, Routing Profile</p>
835 /// <p>UI name: Average AI Prompt Invocation Latency</p><note>
836 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
837 /// </note>
838 /// </dd>
839 /// <dt>
840 /// AVG_AI_TOOL_INVOCATION_LATENCY
841 /// </dt>
842 /// <dd>
843 /// <p>Unit: Milliseconds</p>
844 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Tool ID, AI Tool Name, AI Tool Type, AI Use Case, Channel, Queue, Routing Profile</p>
845 /// <p>UI name: Average AI Tool Invocation Latency</p><note>
846 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
847 /// </note>
848 /// </dd>
849 /// <dt>
850 /// KNOWLEDGE_CONTENT_REFERENCES
851 /// </dt>
852 /// <dd>
853 /// <p>Unit: Count</p>
854 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Type, AI Use Case, Channel, Knowledge Base Name, Queue, Routing Profile</p>
855 /// <p>UI name: KnowledgeBase Reference Count</p>
856 /// </dd>
857 /// <dt>
858 /// PROACTIVE_INTENT_ENGAGEMENT_RATE
859 /// </dt>
860 /// <dd>
861 /// <p>Unit: Percent</p>
862 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
863 /// <p>UI name: Proactive Intent Engagement Rate</p>
864 /// </dd>
865 /// <dt>
866 /// PROACTIVE_INTENT_RESPONSE_RATE
867 /// </dt>
868 /// <dd>
869 /// <p>Unit: Percent</p>
870 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
871 /// <p>UI name: Proactive Intent Response Rate</p>
872 /// </dd>
873 /// <dt>
874 /// PROACTIVE_INTENTS_ANSWERED
875 /// </dt>
876 /// <dd>
877 /// <p>Unit: Count</p>
878 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
879 /// <p>UI name: Proactive Intents Answered</p>
880 /// </dd>
881 /// <dt>
882 /// PROACTIVE_INTENTS_DETECTED
883 /// </dt>
884 /// <dd>
885 /// <p>Unit: Count</p>
886 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
887 /// <p>UI name: Proactive Intents Detected</p>
888 /// </dd>
889 /// <dt>
890 /// </dt>
891 /// <dd>
892 /// <p>Unit:</p>
893 /// <p>Valid groupings and filters:</p>
894 /// <p>UI name:</p>
895 /// </dd>
896 /// <dt>
897 /// </dt>
898 /// <dd>
899 /// <p>Unit:</p>
900 /// <p>Valid groupings and filters:</p>
901 /// <p>UI name:</p>
902 /// </dd>
903 /// <dt>
904 /// PROACTIVE_INTENTS_ENGAGED
905 /// </dt>
906 /// <dd>
907 /// <p>Unit: Count</p>
908 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
909 /// <p>UI name: UI name:</p>
910 /// </dd>
911 /// <dt>
912 /// AVG_HOLD_TIME
913 /// </dt>
914 /// <dd>
915 /// <p>Unit: Seconds</p>
916 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
917 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-hold-time">Average customer hold time</a></p><note>
918 /// <p>Feature is a valid filter but not a valid grouping.</p>
919 /// </note>
920 /// </dd>
921 /// <dt>
922 /// AVG_HOLD_TIME_ALL_CONTACTS
923 /// </dt>
924 /// <dd>
925 /// <p>Unit: Seconds</p>
926 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
927 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-hold-time-all-contacts">Average customer hold time all contacts</a></p>
928 /// </dd>
929 /// <dt>
930 /// AVG_HOLDS
931 /// </dt>
932 /// <dd>
933 /// <p>Unit: Count</p>
934 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
935 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-holds">Average holds</a></p><note>
936 /// <p>Feature is a valid filter but not a valid grouping.</p>
937 /// </note>
938 /// </dd>
939 /// <dt>
940 /// AVG_INTERACTION_AND_HOLD_TIME
941 /// </dt>
942 /// <dd>
943 /// <p>Unit: Seconds</p>
944 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
945 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interaction-and-customer-hold-time">Average agent interaction and customer hold time</a></p>
946 /// </dd>
947 /// <dt>
948 /// AVG_INTERACTION_TIME
949 /// </dt>
950 /// <dd>
951 /// <p>Unit: Seconds</p>
952 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
953 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
954 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interaction-time">Average agent interaction time</a></p><note>
955 /// <p>Feature is a valid filter but not a valid grouping.</p>
956 /// </note>
957 /// </dd>
958 /// <dt>
959 /// AVG_INTERRUPTIONS_AGENT
960 /// </dt>
961 /// <dd>
962 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
963 /// <p>Unit: Count</p>
964 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
965 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interruptions">Average agent interruptions</a></p>
966 /// </dd>
967 /// <dt>
968 /// AVG_INTERRUPTION_TIME_AGENT
969 /// </dt>
970 /// <dd>
971 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
972 /// <p>Unit: Seconds</p>
973 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
974 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interruption-time">Average agent interruption time</a></p>
975 /// </dd>
976 /// <dt>
977 /// AVG_MESSAGE_LENGTH_AGENT
978 /// </dt>
979 /// <dd>
980 /// <p>Unit: Count</p>
981 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
982 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-message-length">Average agent message length</a></p>
983 /// </dd>
984 /// <dt>
985 /// AVG_MESSAGE_LENGTH_CUSTOMER
986 /// </dt>
987 /// <dd>
988 /// <p>Unit: Count</p>
989 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
990 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-message-length">Average customer message length</a></p>
991 /// </dd>
992 /// <dt>
993 /// AVG_MESSAGES
994 /// </dt>
995 /// <dd>
996 /// <p>Unit: Count</p>
997 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
998 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-messages">Average messages</a></p>
999 /// </dd>
1000 /// <dt>
1001 /// AVG_MESSAGES_AGENT
1002 /// </dt>
1003 /// <dd>
1004 /// <p>Unit: Count</p>
1005 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
1006 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-messages">Average agent messages</a></p>
1007 /// </dd>
1008 /// <dt>
1009 /// AVG_MESSAGES_BOT
1010 /// </dt>
1011 /// <dd>
1012 /// <p>Unit: Count</p>
1013 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
1014 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-bot-messages">Average bot messages</a></p>
1015 /// </dd>
1016 /// <dt>
1017 /// AVG_MESSAGES_CUSTOMER
1018 /// </dt>
1019 /// <dd>
1020 /// <p>Unit: Count</p>
1021 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
1022 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-messages">Average customer messages</a></p>
1023 /// </dd>
1024 /// <dt>
1025 /// AVG_NON_TALK_TIME
1026 /// </dt>
1027 /// <dd>
1028 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1029 /// <p>Unit: Seconds</p>
1030 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1031 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-non-talk-time">Average non-talk time</a></p>
1032 /// </dd>
1033 /// <dt>
1034 /// AVG_QUEUE_ANSWER_TIME
1035 /// </dt>
1036 /// <dd>
1037 /// <p>Unit: Seconds</p>
1038 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1039 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-queue-answer-time">Average queue answer time</a></p>
1040 /// <p>Valid metric level filters: <code>INITIATION_METHOD</code>, <code>FEATURE</code>, <code>DISCONNECT_REASON</code></p><note>
1041 /// <p>Feature is a valid filter but not a valid grouping.</p>
1042 /// </note>
1043 /// </dd>
1044 /// <dt>
1045 /// AVG_QUEUE_ANSWER_TIME_CUSTOMER_FIRST_CALLBACK
1046 /// </dt>
1047 /// <dd>
1048 /// <p>Unit: Seconds</p>
1049 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect, Agent Hierarchy</p>
1050 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-queue-answer-time-customer-first-callback">Avg. queue answer time - customer first callback</a></p>
1051 /// </dd>
1052 /// <dt>
1053 /// AVG_RESPONSE_TIME_AGENT
1054 /// </dt>
1055 /// <dd>
1056 /// <p>Unit: Seconds</p>
1057 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
1058 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-response-time-agent">Average agent response time</a></p>
1059 /// </dd>
1060 /// <dt>
1061 /// AVG_RESPONSE_TIME_CUSTOMER
1062 /// </dt>
1063 /// <dd>
1064 /// <p>Unit: Seconds</p>
1065 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
1066 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-time-agent">Average customer response time</a></p>
1067 /// </dd>
1068 /// <dt>
1069 /// AVG_RESOLUTION_TIME
1070 /// </dt>
1071 /// <dd>
1072 /// <p>Unit: Seconds</p>
1073 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1074 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-resolution-time">Average resolution time</a></p>
1075 /// </dd>
1076 /// <dt>
1077 /// AVG_TALK_TIME
1078 /// </dt>
1079 /// <dd>
1080 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1081 /// <p>Unit: Seconds</p>
1082 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1083 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-talk-time">Average talk time</a></p>
1084 /// </dd>
1085 /// <dt>
1086 /// AVG_TALK_TIME_AGENT
1087 /// </dt>
1088 /// <dd>
1089 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1090 /// <p>Unit: Seconds</p>
1091 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1092 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-talk-time">Average agent talk time</a></p>
1093 /// </dd>
1094 /// <dt>
1095 /// AVG_TALK_TIME_CUSTOMER
1096 /// </dt>
1097 /// <dd>
1098 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1099 /// <p>Unit: Seconds</p>
1100 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1101 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-talk-time">Average customer talk time</a></p>
1102 /// </dd>
1103 /// <dt>
1104 /// AVG_WAIT_TIME_AFTER_CUSTOMER_CONNECTION
1105 /// </dt>
1106 /// <dd>
1107 /// <p>This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.</p>
1108 /// <p>Unit: Seconds</p>
1109 /// <p>Valid groupings and filters: Campaign</p>
1110 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-wait-time-after-customer-connection">Average wait time after customer connection</a></p>
1111 /// </dd>
1112 /// <dt>
1113 /// AVG_WAIT_TIME_AFTER_CUSTOMER_FIRST_CALLBACK_CONNECTION
1114 /// </dt>
1115 /// <dd>
1116 /// <p>Unit: Seconds</p>
1117 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect, Agent Hierarchy</p>
1118 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-wait-time-after-customer-connection-customer-first-callback">Avg. wait time after customer connection - customer first callback</a></p>
1119 /// </dd>
1120 /// <dt>
1121 /// AVG_WEIGHTED_EVALUATION_SCORE
1122 /// </dt>
1123 /// <dd>
1124 /// <p>Unit: Percent</p>
1125 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form Id, Evaluation Section ID, Evaluation Question ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
1126 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-weighted-evaluation-score">Average weighted evaluation score</a></p>
1127 /// </dd>
1128 /// <dt>
1129 /// BOT_CONVERSATIONS_COMPLETED
1130 /// </dt>
1131 /// <dd>
1132 /// <p>Unit: Count</p>
1133 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
1134 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-conversations-completed">Bot conversations completed</a></p>
1135 /// </dd>
1136 /// <dt>
1137 /// BOT_INTENTS_COMPLETED
1138 /// </dt>
1139 /// <dd>
1140 /// <p>Unit: Count</p>
1141 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Bot intent name, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
1142 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-intents-completed">Bot intents completed</a></p>
1143 /// </dd>
1144 /// <dt>
1145 /// CAMPAIGN_CONTACTS_ABANDONED_AFTER_X
1146 /// </dt>
1147 /// <dd>
1148 /// <p>This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.</p>
1149 /// <p>Unit: Count</p>
1150 /// <p>Valid groupings and filters: Agent, Campaign</p>
1151 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>GT</code> (for <i>Greater than</i>).</p>
1152 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-contacts-abandoned-after-x">Campaign contacts abandoned after X</a></p>
1153 /// </dd>
1154 /// <dt>
1155 /// CAMPAIGN_CONTACTS_ABANDONED_AFTER_X_RATE
1156 /// </dt>
1157 /// <dd>
1158 /// <p>This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.</p>
1159 /// <p>Unit: Percent</p>
1160 /// <p>Valid groupings and filters: Agent, Campaign</p>
1161 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>GT</code> (for <i>Greater than</i>).</p>
1162 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-contacts-abandoned-after-x-rate">Campaign contacts abandoned after X rate</a></p>
1163 /// </dd>
1164 /// <dt>
1165 /// CAMPAIGN_INTERACTIONS
1166 /// </dt>
1167 /// <dd>
1168 /// <p>This metric is available only for outbound campaigns using the email delivery mode.</p>
1169 /// <p>Unit: Count</p>
1170 /// <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
1171 /// <p>Valid groupings and filters: Campaign</p>
1172 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-interactions">Campaign interactions</a></p>
1173 /// </dd>
1174 /// <dt>
1175 /// CAMPAIGN_PROGRESS_RATE
1176 /// </dt>
1177 /// <dd>
1178 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
1179 /// <p>Unit: Percent</p>
1180 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
1181 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-progress-rate">Campaign progress rate</a></p>
1182 /// </dd>
1183 /// <dt>
1184 /// CAMPAIGN_SEND_ATTEMPTS
1185 /// </dt>
1186 /// <dd>
1187 /// <p>This metric is available only for outbound campaigns.</p>
1188 /// <p>Unit: Count</p>
1189 /// <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype</p>
1190 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-send-attempts">Campaign send attempts</a></p>
1191 /// </dd>
1192 /// <dt>
1193 /// CAMPAIGN_SEND_EXCLUSIONS
1194 /// </dt>
1195 /// <dd>
1196 /// <p>This metric is available only for outbound campaigns.</p>
1197 /// <p>Valid metric filter key: CAMPAIGN_EXCLUDED_EVENT_TYPE</p>
1198 /// <p>Unit: Count</p>
1199 /// <p>Valid groupings and filters: Campaign, Campaign Excluded Event Type, Campaign Execution Timestamp</p>
1200 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-send-exclusions">Campaign send exclusions</a></p>
1201 /// </dd>
1202 /// <dt>
1203 /// CASES_CREATED
1204 /// </dt>
1205 /// <dd>
1206 /// <p>Unit: Count</p>
1207 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1208 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1209 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-created">Cases created</a></p>
1210 /// </dd>
1211 /// <dt>
1212 /// CONTACTS_CREATED
1213 /// </dt>
1214 /// <dd>
1215 /// <p>Unit: Count</p>
1216 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
1217 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1218 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-created">Contacts created</a></p><note>
1219 /// <p>Feature is a valid filter but not a valid grouping.</p>
1220 /// </note>
1221 /// </dd>
1222 /// <dt>
1223 /// CONTACTS_HANDLED
1224 /// </dt>
1225 /// <dd>
1226 /// <p>Unit: Count</p>
1227 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code>, <code>DISCONNECT_REASON</code></p>
1228 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
1229 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-handled">Contacts handled</a></p><note>
1230 /// <p>Feature is a valid filter but not a valid grouping.</p>
1231 /// </note>
1232 /// </dd>
1233 /// <dt>
1234 /// CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT
1235 /// </dt>
1236 /// <dd>
1237 /// <p>Unit: Count</p>
1238 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
1239 /// <p>Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1240 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-handled-by-connected-to-agent-timestamp">Contacts handled (connected to agent timestamp)</a></p>
1241 /// </dd>
1242 /// <dt>
1243 /// CONTACTS_HOLD_ABANDONS
1244 /// </dt>
1245 /// <dd>
1246 /// <p>Unit: Count</p>
1247 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1248 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-hold-disconnect">Contacts hold disconnect</a></p>
1249 /// </dd>
1250 /// <dt>
1251 /// CONTACTS_ON_HOLD_AGENT_DISCONNECT
1252 /// </dt>
1253 /// <dd>
1254 /// <p>Unit: Count</p>
1255 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1256 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-hold-agent-disconnect">Contacts hold agent disconnect</a></p>
1257 /// </dd>
1258 /// <dt>
1259 /// CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT
1260 /// </dt>
1261 /// <dd>
1262 /// <p>Unit: Count</p>
1263 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1264 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-hold-customer-disconnect">Contacts hold customer disconnect</a></p>
1265 /// </dd>
1266 /// <dt>
1267 /// CONTACTS_PUT_ON_HOLD
1268 /// </dt>
1269 /// <dd>
1270 /// <p>Unit: Count</p>
1271 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1272 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-put-on-hold">Contacts put on hold</a></p>
1273 /// </dd>
1274 /// <dt>
1275 /// CONTACTS_TRANSFERRED_OUT_EXTERNAL
1276 /// </dt>
1277 /// <dd>
1278 /// <p>Unit: Count</p>
1279 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1280 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out-external">Contacts transferred out external</a></p>
1281 /// </dd>
1282 /// <dt>
1283 /// CONTACTS_TRANSFERRED_OUT_INTERNAL
1284 /// </dt>
1285 /// <dd>
1286 /// <p>Unit: Percent</p>
1287 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1288 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out-internal">Contacts transferred out internal</a></p>
1289 /// </dd>
1290 /// <dt>
1291 /// CONTACTS_QUEUED
1292 /// </dt>
1293 /// <dd>
1294 /// <p>Unit: Count</p>
1295 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1296 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-queued">Contacts queued</a></p>
1297 /// </dd>
1298 /// <dt>
1299 /// CONTACTS_QUEUED_BY_ENQUEUE
1300 /// </dt>
1301 /// <dd>
1302 /// <p>Unit: Count</p>
1303 /// <p>Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype</p>
1304 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-queued-by-enqueue">Contacts queued (enqueue timestamp)</a></p>
1305 /// </dd>
1306 /// <dt>
1307 /// CONTACTS_REMOVED_FROM_QUEUE_IN_X
1308 /// </dt>
1309 /// <dd>
1310 /// <p>Unit: Count</p>
1311 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
1312 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
1313 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-removed-from-queue">Contacts removed from queue in X seconds</a></p>
1314 /// </dd>
1315 /// <dt>
1316 /// CONTACTS_RESOLVED_IN_X
1317 /// </dt>
1318 /// <dd>
1319 /// <p>Unit: Count</p>
1320 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1321 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
1322 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-resolved">Contacts resolved in X</a></p>
1323 /// </dd>
1324 /// <dt>
1325 /// CONTACTS_TRANSFERRED_OUT
1326 /// </dt>
1327 /// <dd>
1328 /// <p>Unit: Count</p>
1329 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1330 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out">Contacts transferred out</a></p><note>
1331 /// <p>Feature is a valid filter but not a valid grouping.</p>
1332 /// </note>
1333 /// </dd>
1334 /// <dt>
1335 /// CONTACTS_TRANSFERRED_OUT_BY_AGENT
1336 /// </dt>
1337 /// <dd>
1338 /// <p>Unit: Count</p>
1339 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1340 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out-by-agent">Contacts transferred out by agent</a></p>
1341 /// </dd>
1342 /// <dt>
1343 /// CONTACTS_TRANSFERRED_OUT_FROM_QUEUE
1344 /// </dt>
1345 /// <dd>
1346 /// <p>Unit: Count</p>
1347 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1348 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out-queue">Contacts transferred out queue</a></p>
1349 /// </dd>
1350 /// <dt>
1351 /// CURRENT_CASES
1352 /// </dt>
1353 /// <dd>
1354 /// <p>Unit: Count</p>
1355 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1356 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1357 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#current-cases">Current cases</a></p>
1358 /// </dd>
1359 /// <dt>
1360 /// CONVERSATIONS_ABANDONED
1361 /// </dt>
1362 /// <dd>
1363 /// <p>Unit: Count</p>
1364 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
1365 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#conversations-abandoned">Conversations abandoned</a></p>
1366 /// </dd>
1367 /// <dt>
1368 /// DELIVERY_ATTEMPTS
1369 /// </dt>
1370 /// <dd>
1371 /// <p>This metric is available only for outbound campaigns.</p>
1372 /// <p>Unit: Count</p>
1373 /// <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code></p>
1374 /// <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Campaign Delivery EventType, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile</p>
1375 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#delivery-attempts">Delivery attempts</a></p><note>
1376 /// <p>Campaign Delivery EventType filter and grouping are only available for SMS and Email campaign delivery modes. Agent, Queue, Routing Profile, Answering Machine Detection Status and Disconnect Reason are only available for agent assisted voice and automated voice delivery modes.</p>
1377 /// </note>
1378 /// </dd>
1379 /// <dt>
1380 /// DELIVERY_ATTEMPT_DISPOSITION_RATE
1381 /// </dt>
1382 /// <dd>
1383 /// <p>This metric is available only for outbound campaigns. Dispositions for the agent assisted voice and automated voice delivery modes are only available with answering machine detection enabled.</p>
1384 /// <p>Unit: Percent</p>
1385 /// <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code></p>
1386 /// <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile</p>
1387 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#delivery-attempt-disposition-rate">Delivery attempt disposition rate</a></p><note>
1388 /// <p>Campaign Delivery Event Type filter and grouping are only available for SMS and Email campaign delivery modes. Agent, Queue, Routing Profile, Answering Machine Detection Status and Disconnect Reason are only available for agent assisted voice and automated voice delivery modes.</p>
1389 /// </note>
1390 /// </dd>
1391 /// <dt>
1392 /// EVALUATIONS_PERFORMED
1393 /// </dt>
1394 /// <dd>
1395 /// <p>Unit: Count</p>
1396 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
1397 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#evaluations-performed">Evaluations performed</a></p>
1398 /// </dd>
1399 /// <dt>
1400 /// FLOWS_OUTCOME
1401 /// </dt>
1402 /// <dd>
1403 /// <p>Unit: Count</p>
1404 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
1405 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-outcome">Flows outcome</a></p>
1406 /// </dd>
1407 /// <dt>
1408 /// FLOWS_STARTED
1409 /// </dt>
1410 /// <dd>
1411 /// <p>Unit: Count</p>
1412 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp</p>
1413 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-started">Flows started</a></p>
1414 /// </dd>
1415 /// <dt>
1416 /// HUMAN_ANSWERED_CALLS
1417 /// </dt>
1418 /// <dd>
1419 /// <p>This metric is available only for outbound campaigns. Dispositions for the agent assisted voice and automated voice delivery modes are only available with answering machine detection enabled.</p>
1420 /// <p>Unit: Count</p>
1421 /// <p>Valid groupings and filters: Agent, Campaign</p>
1422 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#human-answered">Human answered</a></p>
1423 /// </dd>
1424 /// <dt>
1425 /// MAX_FLOW_TIME
1426 /// </dt>
1427 /// <dd>
1428 /// <p>Unit: Seconds</p>
1429 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
1430 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#maximum-flow-time">Maximum flow time</a></p>
1431 /// </dd>
1432 /// <dt>
1433 /// MAX_QUEUED_TIME
1434 /// </dt>
1435 /// <dd>
1436 /// <p>Unit: Seconds</p>
1437 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1438 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#maximum-queued-time">Maximum queued time</a></p>
1439 /// </dd>
1440 /// <dt>
1441 /// MIN_FLOW_TIME
1442 /// </dt>
1443 /// <dd>
1444 /// <p>Unit: Seconds</p>
1445 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
1446 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#minimum-flow-time">Minimum flow time</a></p>
1447 /// </dd>
1448 /// <dt>
1449 /// PERCENT_AUTOMATIC_FAILS
1450 /// </dt>
1451 /// <dd>
1452 /// <p>Unit: Percent</p>
1453 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
1454 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#automatic-fails-percent">Automatic fails percent</a></p>
1455 /// </dd>
1456 /// <dt>
1457 /// PERCENT_BOT_CONVERSATIONS_OUTCOME
1458 /// </dt>
1459 /// <dd>
1460 /// <p>Unit: Percent</p>
1461 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
1462 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#percent-bot-conversations-outcome">Percent bot conversations outcome</a></p>
1463 /// </dd>
1464 /// <dt>
1465 /// PERCENT_BOT_INTENTS_OUTCOME
1466 /// </dt>
1467 /// <dd>
1468 /// <p>Unit: Percent</p>
1469 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Bot intent name, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
1470 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#percent-bot-intents-outcome">Percent bot intents outcome</a></p>
1471 /// </dd>
1472 /// <dt>
1473 /// PERCENT_CASES_FIRST_CONTACT_RESOLVED
1474 /// </dt>
1475 /// <dd>
1476 /// <p>Unit: Percent</p>
1477 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1478 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1479 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-resolved-on-first-contact">Cases resolved on first contact</a></p>
1480 /// </dd>
1481 /// <dt>
1482 /// PERCENT_CONTACTS_STEP_EXPIRED
1483 /// </dt>
1484 /// <dd>
1485 /// <p>Unit: Percent</p>
1486 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
1487 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
1488 /// </dd>
1489 /// <dt>
1490 /// PERCENT_CONTACTS_STEP_JOINED
1491 /// </dt>
1492 /// <dd>
1493 /// <p>Unit: Percent</p>
1494 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
1495 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
1496 /// </dd>
1497 /// <dt>
1498 /// PERCENT_FLOWS_OUTCOME
1499 /// </dt>
1500 /// <dd>
1501 /// <p>Unit: Percent</p>
1502 /// <p>Valid metric filter key: <code>FLOWS_OUTCOME_TYPE</code></p>
1503 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
1504 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-outcome-percentage">Flows outcome percentage</a>.</p><note>
1505 /// <p>The <code>FLOWS_OUTCOME_TYPE</code> is not a valid grouping.</p>
1506 /// </note>
1507 /// </dd>
1508 /// <dt>
1509 /// PERCENT_NON_TALK_TIME
1510 /// </dt>
1511 /// <dd>
1512 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1513 /// <p>Unit: Percentage</p>
1514 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1515 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#non-talk-time-percent">Non-talk time percent</a></p>
1516 /// </dd>
1517 /// <dt>
1518 /// PERCENT_TALK_TIME
1519 /// </dt>
1520 /// <dd>
1521 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1522 /// <p>Unit: Percentage</p>
1523 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1524 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#talk-time-percent">Talk time percent</a></p>
1525 /// </dd>
1526 /// <dt>
1527 /// PERCENT_TALK_TIME_AGENT
1528 /// </dt>
1529 /// <dd>
1530 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1531 /// <p>Unit: Percentage</p>
1532 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1533 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-talk-time-percent">Agent talk time percent</a></p>
1534 /// </dd>
1535 /// <dt>
1536 /// PERCENT_TALK_TIME_CUSTOMER
1537 /// </dt>
1538 /// <dd>
1539 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1540 /// <p>Unit: Percentage</p>
1541 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1542 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#customer-talk-time-percent">Customer talk time percent</a></p>
1543 /// </dd>
1544 /// <dt>
1545 /// RECIPIENTS_ATTEMPTED
1546 /// </dt>
1547 /// <dd>
1548 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
1549 /// <p>Unit: Count</p>
1550 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
1551 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-attempted">Recipients attempted</a></p>
1552 /// </dd>
1553 /// <dt>
1554 /// RECIPIENTS_INTERACTED
1555 /// </dt>
1556 /// <dd>
1557 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
1558 /// <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
1559 /// <p>Unit: Count</p>
1560 /// <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype, Campaign Execution Timestamp</p>
1561 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-interacted">Recipients interacted</a></p>
1562 /// </dd>
1563 /// <dt>
1564 /// RECIPIENTS_TARGETED
1565 /// </dt>
1566 /// <dd>
1567 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
1568 /// <p>Unit: Count</p>
1569 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
1570 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-targeted">Recipients targeted</a></p>
1571 /// </dd>
1572 /// <dt>
1573 /// REOPENED_CASE_ACTIONS
1574 /// </dt>
1575 /// <dd>
1576 /// <p>Unit: Count</p>
1577 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1578 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1579 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-reopened">Cases reopened</a></p>
1580 /// </dd>
1581 /// <dt>
1582 /// RESOLVED_CASE_ACTIONS
1583 /// </dt>
1584 /// <dd>
1585 /// <p>Unit: Count</p>
1586 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1587 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1588 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-resolved">Cases resolved</a></p>
1589 /// </dd>
1590 /// <dt>
1591 /// SERVICE_LEVEL
1592 /// </dt>
1593 /// <dd>
1594 /// <p>You can include up to 20 SERVICE_LEVEL metrics in a request.</p>
1595 /// <p>Unit: Percent</p>
1596 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
1597 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
1598 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#service-level">Service level X</a></p>
1599 /// </dd>
1600 /// <dt>
1601 /// STEP_CONTACTS_QUEUED
1602 /// </dt>
1603 /// <dd>
1604 /// <p>Unit: Count</p>
1605 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
1606 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
1607 /// </dd>
1608 /// <dt>
1609 /// SUM_AFTER_CONTACT_WORK_TIME
1610 /// </dt>
1611 /// <dd>
1612 /// <p>Unit: Seconds</p>
1613 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1614 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#after-contact-work-time">After contact work time</a></p>
1615 /// </dd>
1616 /// <dt>
1617 /// SUM_CONNECTING_TIME_AGENT
1618 /// </dt>
1619 /// <dd>
1620 /// <p>Unit: Seconds</p>
1621 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code>. This metric only supports the following filter keys as <code>INITIATION_METHOD</code>: <code>INBOUND</code> | <code>OUTBOUND</code> | <code>CALLBACK</code> | <code>API</code> | <code>CALLBACK_CUSTOMER_FIRST_DIALED</code></p>
1622 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1623 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-api-connecting-time">Agent API connecting time</a></p><note>
1624 /// <p>The <code>Negate</code> key in metric-level filters is not applicable for this metric.</p>
1625 /// </note>
1626 /// </dd>
1627 /// <dt>
1628 /// CONTACTS_ABANDONED
1629 /// </dt>
1630 /// <dd>
1631 /// <p>Unit: Count</p>
1632 /// <p>Metric filter:</p>
1633 /// <ul>
1634 /// <li>
1635 /// <p>Valid values: <code>API</code>| <code>INCOMING</code> | <code>OUTBOUND</code> | <code>TRANSFER</code> | <code>CALLBACK</code> | <code>QUEUE_TRANSFER</code>| <code>Disconnect</code> | <code>CALLBACK_CUSTOMER_FIRST_DIALED</code></p></li>
1636 /// </ul>
1637 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
1638 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-abandoned">Contact abandoned</a></p>
1639 /// </dd>
1640 /// <dt>
1641 /// SUM_CONTACTS_ABANDONED_IN_X
1642 /// </dt>
1643 /// <dd>
1644 /// <p>Unit: Count</p>
1645 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1646 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
1647 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-abandoned-in-x-seconds">Contacts abandoned in X seconds</a></p>
1648 /// </dd>
1649 /// <dt>
1650 /// SUM_CONTACTS_ANSWERED_IN_X
1651 /// </dt>
1652 /// <dd>
1653 /// <p>Unit: Count</p>
1654 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1655 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
1656 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-answered-in-x-seconds">Contacts answered in X seconds</a></p>
1657 /// </dd>
1658 /// <dt>
1659 /// SUM_CONTACT_FLOW_TIME
1660 /// </dt>
1661 /// <dd>
1662 /// <p>Unit: Seconds</p>
1663 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1664 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-flow-time">Contact flow time</a></p>
1665 /// </dd>
1666 /// <dt>
1667 /// SUM_CONTACT_TIME_AGENT
1668 /// </dt>
1669 /// <dd>
1670 /// <p>Unit: Seconds</p>
1671 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
1672 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-on-contact-time">Agent on contact time</a></p>
1673 /// </dd>
1674 /// <dt>
1675 /// SUM_CONTACTS_DISCONNECTED
1676 /// </dt>
1677 /// <dd>
1678 /// <p>Valid metric filter key: <code>DISCONNECT_REASON</code></p>
1679 /// <p>Unit: Count</p>
1680 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1681 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-disconnected">Contact disconnected</a></p>
1682 /// </dd>
1683 /// <dt>
1684 /// SUM_ERROR_STATUS_TIME_AGENT
1685 /// </dt>
1686 /// <dd>
1687 /// <p>Unit: Seconds</p>
1688 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
1689 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#error-status-time">Error status time</a></p>
1690 /// </dd>
1691 /// <dt>
1692 /// SUM_HANDLE_TIME
1693 /// </dt>
1694 /// <dd>
1695 /// <p>Unit: Seconds</p>
1696 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1697 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-handle-time">Contact handle time</a></p>
1698 /// </dd>
1699 /// <dt>
1700 /// SUM_HOLD_TIME
1701 /// </dt>
1702 /// <dd>
1703 /// <p>Unit: Count</p>
1704 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1705 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#customer-hold-time">Customer hold time</a></p>
1706 /// </dd>
1707 /// <dt>
1708 /// SUM_IDLE_TIME_AGENT
1709 /// </dt>
1710 /// <dd>
1711 /// <p>Unit: Seconds</p>
1712 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
1713 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-idle-time">Agent idle time</a></p>
1714 /// </dd>
1715 /// <dt>
1716 /// SUM_INTERACTION_AND_HOLD_TIME
1717 /// </dt>
1718 /// <dd>
1719 /// <p>Unit: Seconds</p>
1720 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1721 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-interaction-and-hold-time">Agent interaction and hold time</a></p>
1722 /// </dd>
1723 /// <dt>
1724 /// SUM_INTERACTION_TIME
1725 /// </dt>
1726 /// <dd>
1727 /// <p>Unit: Seconds</p>
1728 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1729 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-interaction-time">Agent interaction time</a></p>
1730 /// </dd>
1731 /// <dt>
1732 /// SUM_NON_PRODUCTIVE_TIME_AGENT
1733 /// </dt>
1734 /// <dd>
1735 /// <p>Unit: Seconds</p>
1736 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
1737 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-non-productive-time">Agent non-productive time</a></p>
1738 /// </dd>
1739 /// <dt>
1740 /// SUM_ONLINE_TIME_AGENT
1741 /// </dt>
1742 /// <dd>
1743 /// <p>Unit: Seconds</p>
1744 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
1745 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#online-time">Online time</a></p>
1746 /// </dd>
1747 /// <dt>
1748 /// SUM_RETRY_CALLBACK_ATTEMPTS
1749 /// </dt>
1750 /// <dd>
1751 /// <p>Unit: Count</p>
1752 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1753 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#callback-attempts">Callback attempts</a></p>
1754 /// </dd>
1755 /// </dl>
1756 pub fn metrics(mut self, input: crate::types::MetricV2) -> Self {
1757 self.inner = self.inner.metrics(input);
1758 self
1759 }
1760 /// <p>The metrics to retrieve. Specify the name or metricId, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html">Metrics definition</a> in the <i>Amazon Connect Administrator Guide</i>.</p><note>
1761 /// <p>MetricId should be used to reference custom metrics or out of the box metrics as Arn. If using MetricId, the limit is 20 MetricId per request.</p>
1762 /// </note>
1763 /// <dl>
1764 /// <dt>
1765 /// ABANDONMENT_RATE
1766 /// </dt>
1767 /// <dd>
1768 /// <p>Unit: Percent</p>
1769 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1770 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#abandonment-rate">Abandonment rate</a></p>
1771 /// </dd>
1772 /// <dt>
1773 /// AGENT_ADHERENT_TIME
1774 /// </dt>
1775 /// <dd>
1776 /// <p>This metric is available only in Amazon Web Services Regions where <a href="https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region">Forecasting, capacity planning, and scheduling</a> is available.</p>
1777 /// <p>Unit: Seconds</p>
1778 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1779 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#adherent-time">Adherent time</a></p>
1780 /// </dd>
1781 /// <dt>
1782 /// AGENT_ANSWER_RATE
1783 /// </dt>
1784 /// <dd>
1785 /// <p>Unit: Percent</p>
1786 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1787 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-answer-rate">Agent answer rate</a></p>
1788 /// </dd>
1789 /// <dt>
1790 /// AGENT_NON_ADHERENT_TIME
1791 /// </dt>
1792 /// <dd>
1793 /// <p>Unit: Seconds</p>
1794 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1795 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#non-adherent-time">Non-adherent time</a></p>
1796 /// </dd>
1797 /// <dt>
1798 /// AGENT_NON_RESPONSE
1799 /// </dt>
1800 /// <dd>
1801 /// <p>Unit: Count</p>
1802 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1803 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-non-response">Agent non-response</a></p>
1804 /// </dd>
1805 /// <dt>
1806 /// AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS
1807 /// </dt>
1808 /// <dd>
1809 /// <p>Unit: Count</p>
1810 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1811 /// <p>Data for this metric is available starting from October 1, 2023 0:00:00 GMT.</p>
1812 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-non-response-without-customer-abandons">Agent non-response without customer abandons</a></p>
1813 /// </dd>
1814 /// <dt>
1815 /// AGENT_OCCUPANCY
1816 /// </dt>
1817 /// <dd>
1818 /// <p>Unit: Percentage</p>
1819 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
1820 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#occupancy">Occupancy</a></p>
1821 /// </dd>
1822 /// <dt>
1823 /// AGENT_SCHEDULE_ADHERENCE
1824 /// </dt>
1825 /// <dd>
1826 /// <p>This metric is available only in Amazon Web Services Regions where <a href="https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region">Forecasting, capacity planning, and scheduling</a> is available.</p>
1827 /// <p>Unit: Percent</p>
1828 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1829 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#adherence">Adherence</a></p>
1830 /// </dd>
1831 /// <dt>
1832 /// AGENT_SCHEDULED_TIME
1833 /// </dt>
1834 /// <dd>
1835 /// <p>This metric is available only in Amazon Web Services Regions where <a href="https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region">Forecasting, capacity planning, and scheduling</a> is available.</p>
1836 /// <p>Unit: Seconds</p>
1837 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1838 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#scheduled-time">Scheduled time</a></p>
1839 /// </dd>
1840 /// <dt>
1841 /// AVG_ABANDON_TIME
1842 /// </dt>
1843 /// <dd>
1844 /// <p>Unit: Seconds</p>
1845 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1846 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
1847 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-queue-abandon-time">Average queue abandon time</a></p>
1848 /// </dd>
1849 /// <dt>
1850 /// AVG_ACTIVE_TIME
1851 /// </dt>
1852 /// <dd>
1853 /// <p>Unit: Seconds</p>
1854 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1855 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-active-time">Average active time</a></p>
1856 /// </dd>
1857 /// <dt>
1858 /// AVG_AFTER_CONTACT_WORK_TIME
1859 /// </dt>
1860 /// <dd>
1861 /// <p>Unit: Seconds</p>
1862 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
1863 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1864 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#after-contact-work-time">Average after contact work time</a></p><note>
1865 /// <p>Feature is a valid filter but not a valid grouping.</p>
1866 /// </note>
1867 /// </dd>
1868 /// <dt>
1869 /// AVG_AGENT_CONCURRENCY
1870 /// </dt>
1871 /// <dd>
1872 /// <p>Unit: Count</p>
1873 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1874 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-concurrency">Average agent concurrency</a></p>
1875 /// </dd>
1876 /// <dt>
1877 /// AVG_AGENT_CONNECTING_TIME
1878 /// </dt>
1879 /// <dd>
1880 /// <p>Unit: Seconds</p>
1881 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code>. For now, this metric only supports the following as <code>INITIATION_METHOD</code>: <code>INBOUND</code> | <code>OUTBOUND</code> | <code>CALLBACK</code> | <code>API</code></p>
1882 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1883 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-api-connecting-time">Average agent API connecting time</a></p><note>
1884 /// <p>The <code>Negate</code> key in metric-level filters is not applicable for this metric.</p>
1885 /// </note>
1886 /// </dd>
1887 /// <dt>
1888 /// AVG_AGENT_PAUSE_TIME
1889 /// </dt>
1890 /// <dd>
1891 /// <p>Unit: Seconds</p>
1892 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1893 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-pause-time">Average agent pause time</a></p>
1894 /// </dd>
1895 /// <dt>
1896 /// AVG_BOT_CONVERSATION_TIME
1897 /// </dt>
1898 /// <dd>
1899 /// <p>Unit: Seconds</p>
1900 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
1901 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#average-bot-conversation-time">Average bot conversation time</a></p>
1902 /// </dd>
1903 /// <dt>
1904 /// AVG_BOT_CONVERSATION_TURNS
1905 /// </dt>
1906 /// <dd>
1907 /// <p>Unit: Count</p>
1908 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
1909 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#average-bot-conversation-turns">Average bot conversation turns</a></p>
1910 /// </dd>
1911 /// <dt>
1912 /// AVG_CASE_RELATED_CONTACTS
1913 /// </dt>
1914 /// <dd>
1915 /// <p>Unit: Count</p>
1916 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1917 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1918 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-contacts-per-case">Average contacts per case</a></p>
1919 /// </dd>
1920 /// <dt>
1921 /// AVG_CASE_RESOLUTION_TIME
1922 /// </dt>
1923 /// <dd>
1924 /// <p>Unit: Seconds</p>
1925 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1926 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1927 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-case-resolution-time">Average case resolution time</a></p>
1928 /// </dd>
1929 /// <dt>
1930 /// AVG_CONTACT_DURATION
1931 /// </dt>
1932 /// <dd>
1933 /// <p>Unit: Seconds</p>
1934 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1935 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-contact-duration">Average contact duration</a></p><note>
1936 /// <p>Feature is a valid filter but not a valid grouping.</p>
1937 /// </note>
1938 /// </dd>
1939 /// <dt>
1940 /// AVG_CONTACT_FIRST_RESPONSE_TIME_AGENT
1941 /// </dt>
1942 /// <dd>
1943 /// <p>Unit: Seconds</p>
1944 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
1945 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-average-contact-first-response-wait-time">Agent average contact first response wait time</a></p>
1946 /// </dd>
1947 /// <dt>
1948 /// AVG_CONVERSATION_CLOSE_TIME
1949 /// </dt>
1950 /// <dd>
1951 /// <p>Unit: Seconds</p>
1952 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
1953 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-conversation-close-time">Average conversation close time</a></p>
1954 /// </dd>
1955 /// <dt>
1956 /// AVG_CONVERSATION_DURATION
1957 /// </dt>
1958 /// <dd>
1959 /// <p>Unit: Seconds</p>
1960 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1961 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-conversation-duration">Average conversation duration</a></p>
1962 /// </dd>
1963 /// <dt>
1964 /// AVG_DIALS_PER_MINUTE
1965 /// </dt>
1966 /// <dd>
1967 /// <p>This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.</p>
1968 /// <p>Unit: Count</p>
1969 /// <p>Valid groupings and filters: Agent, Campaign, Queue, Routing Profile</p>
1970 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-dials-per-minute">Average dials per minute</a></p>
1971 /// </dd>
1972 /// <dt>
1973 /// AVG_EVALUATION_SCORE
1974 /// </dt>
1975 /// <dd>
1976 /// <p>Unit: Percent</p>
1977 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Section ID, Evaluation Question ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
1978 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-evaluation-score">Average evaluation score</a></p>
1979 /// </dd>
1980 /// <dt>
1981 /// AVG_FIRST_RESPONSE_TIME_AGENT
1982 /// </dt>
1983 /// <dd>
1984 /// <p>Unit: Seconds</p>
1985 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
1986 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-first-response-time">Average agent first response time</a></p>
1987 /// </dd>
1988 /// <dt>
1989 /// AVG_FLOW_TIME
1990 /// </dt>
1991 /// <dd>
1992 /// <p>Unit: Seconds</p>
1993 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
1994 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-flow-time">Average flow time</a></p>
1995 /// </dd>
1996 /// <dt>
1997 /// AVG_GREETING_TIME_AGENT
1998 /// </dt>
1999 /// <dd>
2000 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2001 /// <p>Unit: Seconds</p>
2002 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2003 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-greeting-time">Average agent greeting time</a></p>
2004 /// </dd>
2005 /// <dt>
2006 /// AVG_HANDLE_TIME
2007 /// </dt>
2008 /// <dd>
2009 /// <p>Unit: Seconds</p>
2010 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression</p>
2011 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-handle-time">Average handle time</a></p><note>
2012 /// <p>Feature is a valid filter but not a valid grouping.</p>
2013 /// </note>
2014 /// </dd>
2015 /// <dt>
2016 /// ACTIVE_AI_AGENTS
2017 /// </dt>
2018 /// <dd>
2019 /// <p>Unit: Count</p>
2020 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Type, AI Use Case, Channel, Queue, Routing Profile</p>
2021 /// <p>UI name: Active AI Agents</p>
2022 /// </dd>
2023 /// <dt>
2024 /// AI_HANDOFF_RATE
2025 /// </dt>
2026 /// <dd>
2027 /// <p>Unit: Percent</p>
2028 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
2029 /// <p>UI name: Handoff Rate</p>
2030 /// </dd>
2031 /// <dt>
2032 /// AI_HANDOFFS
2033 /// </dt>
2034 /// <dd>
2035 /// <p>Unit: Count</p>
2036 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
2037 /// <p>UI name: AI Handoff Count</p>
2038 /// </dd>
2039 /// <dt>
2040 /// AI_AGENT_INVOCATION_SUCCESS
2041 /// </dt>
2042 /// <dd>
2043 /// <p>Unit: Count</p>
2044 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Use Case, Channel, Queue, Routing Profile</p>
2045 /// <p>UI name: AI Agent Invocation Success Count</p><note>
2046 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
2047 /// </note>
2048 /// </dd>
2049 /// <dt>
2050 /// AI_AGENT_INVOCATION_SUCCESS_RATE
2051 /// </dt>
2052 /// <dd>
2053 /// <p>Unit: Percent</p>
2054 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Use Case, Channel, Queue, Routing Profile</p>
2055 /// <p>UI name: AI Agent Invocation Success Rate</p><note>
2056 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
2057 /// </note>
2058 /// </dd>
2059 /// <dt>
2060 /// AI_AGENT_INVOCATIONS
2061 /// </dt>
2062 /// <dd>
2063 /// <p>Unit: Count</p>
2064 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Type, AI Agent Name Version, AI Use Case, Channel, Queue, Routing Profile</p>
2065 /// <p>UI name: AI Agent Invocation Count</p><note>
2066 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
2067 /// </note>
2068 /// </dd>
2069 /// <dt>
2070 /// AI_RESPONSE_COMPLETION_RATE
2071 /// </dt>
2072 /// <dd>
2073 /// <p>Unit: Percent</p>
2074 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
2075 /// <p>UI name: AI Response Completion Rate</p>
2076 /// </dd>
2077 /// <dt>
2078 /// AI_INVOLVED_CONTACTS
2079 /// </dt>
2080 /// <dd>
2081 /// <p>Unit: Count</p>
2082 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
2083 /// <p>UI name: AI Contacts</p>
2084 /// </dd>
2085 /// <dt>
2086 /// AI_PROMPT_INVOCATION_SUCCESS
2087 /// </dt>
2088 /// <dd>
2089 /// <p>Unit: Count</p>
2090 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Prompt, AI Prompt ID, AI Prompt Name, AI Prompt Type, AI Use Case, Channel, Queue, Routing Profile</p>
2091 /// <p>UI name: AI Prompt Invocation Success Count</p><note>
2092 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
2093 /// </note>
2094 /// </dd>
2095 /// <dt>
2096 /// AI_PROMPT_INVOCATION_SUCCESS_RATE
2097 /// </dt>
2098 /// <dd>
2099 /// <p>Unit: Percent</p>
2100 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Prompt, AI Prompt ID, AI Prompt Name, AI Prompt Type, AI Use Case, Channel, Queue, Routing Profile</p>
2101 /// <p>UI name: AI Prompt Invocation Success Rate</p><note>
2102 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
2103 /// </note>
2104 /// </dd>
2105 /// <dt>
2106 /// AI_TOOL_INVOCATIONS
2107 /// </dt>
2108 /// <dd>
2109 /// <p>Unit: Count</p>
2110 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Tool ID, AI Tool Name, AI Tool Type, AI Use Case, Channel, Queue, Routing Profile</p>
2111 /// <p>UI name: AI Tool Invocation Count</p><note>
2112 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
2113 /// </note>
2114 /// </dd>
2115 /// <dt>
2116 /// AVG_AI_AGENT_CONVERSATION_TURNS
2117 /// </dt>
2118 /// <dd>
2119 /// <p>Unit: Count</p>
2120 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Use Case, Channel, Queue, Routing Profile</p>
2121 /// <p>UI name: Average AI Agent Conversation Turns</p><note>
2122 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
2123 /// </note>
2124 /// </dd>
2125 /// <dt>
2126 /// AVG_AI_CONVERSATION_TURNS
2127 /// </dt>
2128 /// <dd>
2129 /// <p>Unit: Count</p>
2130 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
2131 /// <p>UI name: AI Conversation Turns</p>
2132 /// </dd>
2133 /// <dt>
2134 /// AVG_AI_PROMPT_INVOCATION_LATENCY
2135 /// </dt>
2136 /// <dd>
2137 /// <p>Unit: Milliseconds</p>
2138 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Prompt, AI Prompt ID, AI Prompt Name, AI Prompt Type, AI Use Case, Channel, Queue, Routing Profile</p>
2139 /// <p>UI name: Average AI Prompt Invocation Latency</p><note>
2140 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
2141 /// </note>
2142 /// </dd>
2143 /// <dt>
2144 /// AVG_AI_TOOL_INVOCATION_LATENCY
2145 /// </dt>
2146 /// <dd>
2147 /// <p>Unit: Milliseconds</p>
2148 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Tool ID, AI Tool Name, AI Tool Type, AI Use Case, Channel, Queue, Routing Profile</p>
2149 /// <p>UI name: Average AI Tool Invocation Latency</p><note>
2150 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
2151 /// </note>
2152 /// </dd>
2153 /// <dt>
2154 /// KNOWLEDGE_CONTENT_REFERENCES
2155 /// </dt>
2156 /// <dd>
2157 /// <p>Unit: Count</p>
2158 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Type, AI Use Case, Channel, Knowledge Base Name, Queue, Routing Profile</p>
2159 /// <p>UI name: KnowledgeBase Reference Count</p>
2160 /// </dd>
2161 /// <dt>
2162 /// PROACTIVE_INTENT_ENGAGEMENT_RATE
2163 /// </dt>
2164 /// <dd>
2165 /// <p>Unit: Percent</p>
2166 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
2167 /// <p>UI name: Proactive Intent Engagement Rate</p>
2168 /// </dd>
2169 /// <dt>
2170 /// PROACTIVE_INTENT_RESPONSE_RATE
2171 /// </dt>
2172 /// <dd>
2173 /// <p>Unit: Percent</p>
2174 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
2175 /// <p>UI name: Proactive Intent Response Rate</p>
2176 /// </dd>
2177 /// <dt>
2178 /// PROACTIVE_INTENTS_ANSWERED
2179 /// </dt>
2180 /// <dd>
2181 /// <p>Unit: Count</p>
2182 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
2183 /// <p>UI name: Proactive Intents Answered</p>
2184 /// </dd>
2185 /// <dt>
2186 /// PROACTIVE_INTENTS_DETECTED
2187 /// </dt>
2188 /// <dd>
2189 /// <p>Unit: Count</p>
2190 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
2191 /// <p>UI name: Proactive Intents Detected</p>
2192 /// </dd>
2193 /// <dt>
2194 /// </dt>
2195 /// <dd>
2196 /// <p>Unit:</p>
2197 /// <p>Valid groupings and filters:</p>
2198 /// <p>UI name:</p>
2199 /// </dd>
2200 /// <dt>
2201 /// </dt>
2202 /// <dd>
2203 /// <p>Unit:</p>
2204 /// <p>Valid groupings and filters:</p>
2205 /// <p>UI name:</p>
2206 /// </dd>
2207 /// <dt>
2208 /// PROACTIVE_INTENTS_ENGAGED
2209 /// </dt>
2210 /// <dd>
2211 /// <p>Unit: Count</p>
2212 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
2213 /// <p>UI name: UI name:</p>
2214 /// </dd>
2215 /// <dt>
2216 /// AVG_HOLD_TIME
2217 /// </dt>
2218 /// <dd>
2219 /// <p>Unit: Seconds</p>
2220 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2221 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-hold-time">Average customer hold time</a></p><note>
2222 /// <p>Feature is a valid filter but not a valid grouping.</p>
2223 /// </note>
2224 /// </dd>
2225 /// <dt>
2226 /// AVG_HOLD_TIME_ALL_CONTACTS
2227 /// </dt>
2228 /// <dd>
2229 /// <p>Unit: Seconds</p>
2230 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2231 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-hold-time-all-contacts">Average customer hold time all contacts</a></p>
2232 /// </dd>
2233 /// <dt>
2234 /// AVG_HOLDS
2235 /// </dt>
2236 /// <dd>
2237 /// <p>Unit: Count</p>
2238 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2239 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-holds">Average holds</a></p><note>
2240 /// <p>Feature is a valid filter but not a valid grouping.</p>
2241 /// </note>
2242 /// </dd>
2243 /// <dt>
2244 /// AVG_INTERACTION_AND_HOLD_TIME
2245 /// </dt>
2246 /// <dd>
2247 /// <p>Unit: Seconds</p>
2248 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2249 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interaction-and-customer-hold-time">Average agent interaction and customer hold time</a></p>
2250 /// </dd>
2251 /// <dt>
2252 /// AVG_INTERACTION_TIME
2253 /// </dt>
2254 /// <dd>
2255 /// <p>Unit: Seconds</p>
2256 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
2257 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2258 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interaction-time">Average agent interaction time</a></p><note>
2259 /// <p>Feature is a valid filter but not a valid grouping.</p>
2260 /// </note>
2261 /// </dd>
2262 /// <dt>
2263 /// AVG_INTERRUPTIONS_AGENT
2264 /// </dt>
2265 /// <dd>
2266 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2267 /// <p>Unit: Count</p>
2268 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2269 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interruptions">Average agent interruptions</a></p>
2270 /// </dd>
2271 /// <dt>
2272 /// AVG_INTERRUPTION_TIME_AGENT
2273 /// </dt>
2274 /// <dd>
2275 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2276 /// <p>Unit: Seconds</p>
2277 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2278 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interruption-time">Average agent interruption time</a></p>
2279 /// </dd>
2280 /// <dt>
2281 /// AVG_MESSAGE_LENGTH_AGENT
2282 /// </dt>
2283 /// <dd>
2284 /// <p>Unit: Count</p>
2285 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
2286 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-message-length">Average agent message length</a></p>
2287 /// </dd>
2288 /// <dt>
2289 /// AVG_MESSAGE_LENGTH_CUSTOMER
2290 /// </dt>
2291 /// <dd>
2292 /// <p>Unit: Count</p>
2293 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
2294 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-message-length">Average customer message length</a></p>
2295 /// </dd>
2296 /// <dt>
2297 /// AVG_MESSAGES
2298 /// </dt>
2299 /// <dd>
2300 /// <p>Unit: Count</p>
2301 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
2302 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-messages">Average messages</a></p>
2303 /// </dd>
2304 /// <dt>
2305 /// AVG_MESSAGES_AGENT
2306 /// </dt>
2307 /// <dd>
2308 /// <p>Unit: Count</p>
2309 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
2310 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-messages">Average agent messages</a></p>
2311 /// </dd>
2312 /// <dt>
2313 /// AVG_MESSAGES_BOT
2314 /// </dt>
2315 /// <dd>
2316 /// <p>Unit: Count</p>
2317 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
2318 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-bot-messages">Average bot messages</a></p>
2319 /// </dd>
2320 /// <dt>
2321 /// AVG_MESSAGES_CUSTOMER
2322 /// </dt>
2323 /// <dd>
2324 /// <p>Unit: Count</p>
2325 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
2326 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-messages">Average customer messages</a></p>
2327 /// </dd>
2328 /// <dt>
2329 /// AVG_NON_TALK_TIME
2330 /// </dt>
2331 /// <dd>
2332 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2333 /// <p>Unit: Seconds</p>
2334 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2335 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-non-talk-time">Average non-talk time</a></p>
2336 /// </dd>
2337 /// <dt>
2338 /// AVG_QUEUE_ANSWER_TIME
2339 /// </dt>
2340 /// <dd>
2341 /// <p>Unit: Seconds</p>
2342 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2343 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-queue-answer-time">Average queue answer time</a></p>
2344 /// <p>Valid metric level filters: <code>INITIATION_METHOD</code>, <code>FEATURE</code>, <code>DISCONNECT_REASON</code></p><note>
2345 /// <p>Feature is a valid filter but not a valid grouping.</p>
2346 /// </note>
2347 /// </dd>
2348 /// <dt>
2349 /// AVG_QUEUE_ANSWER_TIME_CUSTOMER_FIRST_CALLBACK
2350 /// </dt>
2351 /// <dd>
2352 /// <p>Unit: Seconds</p>
2353 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect, Agent Hierarchy</p>
2354 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-queue-answer-time-customer-first-callback">Avg. queue answer time - customer first callback</a></p>
2355 /// </dd>
2356 /// <dt>
2357 /// AVG_RESPONSE_TIME_AGENT
2358 /// </dt>
2359 /// <dd>
2360 /// <p>Unit: Seconds</p>
2361 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
2362 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-response-time-agent">Average agent response time</a></p>
2363 /// </dd>
2364 /// <dt>
2365 /// AVG_RESPONSE_TIME_CUSTOMER
2366 /// </dt>
2367 /// <dd>
2368 /// <p>Unit: Seconds</p>
2369 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
2370 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-time-agent">Average customer response time</a></p>
2371 /// </dd>
2372 /// <dt>
2373 /// AVG_RESOLUTION_TIME
2374 /// </dt>
2375 /// <dd>
2376 /// <p>Unit: Seconds</p>
2377 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2378 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-resolution-time">Average resolution time</a></p>
2379 /// </dd>
2380 /// <dt>
2381 /// AVG_TALK_TIME
2382 /// </dt>
2383 /// <dd>
2384 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2385 /// <p>Unit: Seconds</p>
2386 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2387 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-talk-time">Average talk time</a></p>
2388 /// </dd>
2389 /// <dt>
2390 /// AVG_TALK_TIME_AGENT
2391 /// </dt>
2392 /// <dd>
2393 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2394 /// <p>Unit: Seconds</p>
2395 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2396 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-talk-time">Average agent talk time</a></p>
2397 /// </dd>
2398 /// <dt>
2399 /// AVG_TALK_TIME_CUSTOMER
2400 /// </dt>
2401 /// <dd>
2402 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2403 /// <p>Unit: Seconds</p>
2404 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2405 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-talk-time">Average customer talk time</a></p>
2406 /// </dd>
2407 /// <dt>
2408 /// AVG_WAIT_TIME_AFTER_CUSTOMER_CONNECTION
2409 /// </dt>
2410 /// <dd>
2411 /// <p>This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.</p>
2412 /// <p>Unit: Seconds</p>
2413 /// <p>Valid groupings and filters: Campaign</p>
2414 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-wait-time-after-customer-connection">Average wait time after customer connection</a></p>
2415 /// </dd>
2416 /// <dt>
2417 /// AVG_WAIT_TIME_AFTER_CUSTOMER_FIRST_CALLBACK_CONNECTION
2418 /// </dt>
2419 /// <dd>
2420 /// <p>Unit: Seconds</p>
2421 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect, Agent Hierarchy</p>
2422 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-wait-time-after-customer-connection-customer-first-callback">Avg. wait time after customer connection - customer first callback</a></p>
2423 /// </dd>
2424 /// <dt>
2425 /// AVG_WEIGHTED_EVALUATION_SCORE
2426 /// </dt>
2427 /// <dd>
2428 /// <p>Unit: Percent</p>
2429 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form Id, Evaluation Section ID, Evaluation Question ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
2430 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-weighted-evaluation-score">Average weighted evaluation score</a></p>
2431 /// </dd>
2432 /// <dt>
2433 /// BOT_CONVERSATIONS_COMPLETED
2434 /// </dt>
2435 /// <dd>
2436 /// <p>Unit: Count</p>
2437 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
2438 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-conversations-completed">Bot conversations completed</a></p>
2439 /// </dd>
2440 /// <dt>
2441 /// BOT_INTENTS_COMPLETED
2442 /// </dt>
2443 /// <dd>
2444 /// <p>Unit: Count</p>
2445 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Bot intent name, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
2446 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-intents-completed">Bot intents completed</a></p>
2447 /// </dd>
2448 /// <dt>
2449 /// CAMPAIGN_CONTACTS_ABANDONED_AFTER_X
2450 /// </dt>
2451 /// <dd>
2452 /// <p>This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.</p>
2453 /// <p>Unit: Count</p>
2454 /// <p>Valid groupings and filters: Agent, Campaign</p>
2455 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>GT</code> (for <i>Greater than</i>).</p>
2456 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-contacts-abandoned-after-x">Campaign contacts abandoned after X</a></p>
2457 /// </dd>
2458 /// <dt>
2459 /// CAMPAIGN_CONTACTS_ABANDONED_AFTER_X_RATE
2460 /// </dt>
2461 /// <dd>
2462 /// <p>This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.</p>
2463 /// <p>Unit: Percent</p>
2464 /// <p>Valid groupings and filters: Agent, Campaign</p>
2465 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>GT</code> (for <i>Greater than</i>).</p>
2466 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-contacts-abandoned-after-x-rate">Campaign contacts abandoned after X rate</a></p>
2467 /// </dd>
2468 /// <dt>
2469 /// CAMPAIGN_INTERACTIONS
2470 /// </dt>
2471 /// <dd>
2472 /// <p>This metric is available only for outbound campaigns using the email delivery mode.</p>
2473 /// <p>Unit: Count</p>
2474 /// <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
2475 /// <p>Valid groupings and filters: Campaign</p>
2476 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-interactions">Campaign interactions</a></p>
2477 /// </dd>
2478 /// <dt>
2479 /// CAMPAIGN_PROGRESS_RATE
2480 /// </dt>
2481 /// <dd>
2482 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
2483 /// <p>Unit: Percent</p>
2484 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
2485 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-progress-rate">Campaign progress rate</a></p>
2486 /// </dd>
2487 /// <dt>
2488 /// CAMPAIGN_SEND_ATTEMPTS
2489 /// </dt>
2490 /// <dd>
2491 /// <p>This metric is available only for outbound campaigns.</p>
2492 /// <p>Unit: Count</p>
2493 /// <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype</p>
2494 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-send-attempts">Campaign send attempts</a></p>
2495 /// </dd>
2496 /// <dt>
2497 /// CAMPAIGN_SEND_EXCLUSIONS
2498 /// </dt>
2499 /// <dd>
2500 /// <p>This metric is available only for outbound campaigns.</p>
2501 /// <p>Valid metric filter key: CAMPAIGN_EXCLUDED_EVENT_TYPE</p>
2502 /// <p>Unit: Count</p>
2503 /// <p>Valid groupings and filters: Campaign, Campaign Excluded Event Type, Campaign Execution Timestamp</p>
2504 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-send-exclusions">Campaign send exclusions</a></p>
2505 /// </dd>
2506 /// <dt>
2507 /// CASES_CREATED
2508 /// </dt>
2509 /// <dd>
2510 /// <p>Unit: Count</p>
2511 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
2512 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
2513 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-created">Cases created</a></p>
2514 /// </dd>
2515 /// <dt>
2516 /// CONTACTS_CREATED
2517 /// </dt>
2518 /// <dd>
2519 /// <p>Unit: Count</p>
2520 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
2521 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2522 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-created">Contacts created</a></p><note>
2523 /// <p>Feature is a valid filter but not a valid grouping.</p>
2524 /// </note>
2525 /// </dd>
2526 /// <dt>
2527 /// CONTACTS_HANDLED
2528 /// </dt>
2529 /// <dd>
2530 /// <p>Unit: Count</p>
2531 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code>, <code>DISCONNECT_REASON</code></p>
2532 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
2533 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-handled">Contacts handled</a></p><note>
2534 /// <p>Feature is a valid filter but not a valid grouping.</p>
2535 /// </note>
2536 /// </dd>
2537 /// <dt>
2538 /// CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT
2539 /// </dt>
2540 /// <dd>
2541 /// <p>Unit: Count</p>
2542 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
2543 /// <p>Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2544 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-handled-by-connected-to-agent-timestamp">Contacts handled (connected to agent timestamp)</a></p>
2545 /// </dd>
2546 /// <dt>
2547 /// CONTACTS_HOLD_ABANDONS
2548 /// </dt>
2549 /// <dd>
2550 /// <p>Unit: Count</p>
2551 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2552 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-hold-disconnect">Contacts hold disconnect</a></p>
2553 /// </dd>
2554 /// <dt>
2555 /// CONTACTS_ON_HOLD_AGENT_DISCONNECT
2556 /// </dt>
2557 /// <dd>
2558 /// <p>Unit: Count</p>
2559 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2560 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-hold-agent-disconnect">Contacts hold agent disconnect</a></p>
2561 /// </dd>
2562 /// <dt>
2563 /// CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT
2564 /// </dt>
2565 /// <dd>
2566 /// <p>Unit: Count</p>
2567 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2568 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-hold-customer-disconnect">Contacts hold customer disconnect</a></p>
2569 /// </dd>
2570 /// <dt>
2571 /// CONTACTS_PUT_ON_HOLD
2572 /// </dt>
2573 /// <dd>
2574 /// <p>Unit: Count</p>
2575 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2576 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-put-on-hold">Contacts put on hold</a></p>
2577 /// </dd>
2578 /// <dt>
2579 /// CONTACTS_TRANSFERRED_OUT_EXTERNAL
2580 /// </dt>
2581 /// <dd>
2582 /// <p>Unit: Count</p>
2583 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2584 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out-external">Contacts transferred out external</a></p>
2585 /// </dd>
2586 /// <dt>
2587 /// CONTACTS_TRANSFERRED_OUT_INTERNAL
2588 /// </dt>
2589 /// <dd>
2590 /// <p>Unit: Percent</p>
2591 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2592 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out-internal">Contacts transferred out internal</a></p>
2593 /// </dd>
2594 /// <dt>
2595 /// CONTACTS_QUEUED
2596 /// </dt>
2597 /// <dd>
2598 /// <p>Unit: Count</p>
2599 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2600 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-queued">Contacts queued</a></p>
2601 /// </dd>
2602 /// <dt>
2603 /// CONTACTS_QUEUED_BY_ENQUEUE
2604 /// </dt>
2605 /// <dd>
2606 /// <p>Unit: Count</p>
2607 /// <p>Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype</p>
2608 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-queued-by-enqueue">Contacts queued (enqueue timestamp)</a></p>
2609 /// </dd>
2610 /// <dt>
2611 /// CONTACTS_REMOVED_FROM_QUEUE_IN_X
2612 /// </dt>
2613 /// <dd>
2614 /// <p>Unit: Count</p>
2615 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
2616 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
2617 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-removed-from-queue">Contacts removed from queue in X seconds</a></p>
2618 /// </dd>
2619 /// <dt>
2620 /// CONTACTS_RESOLVED_IN_X
2621 /// </dt>
2622 /// <dd>
2623 /// <p>Unit: Count</p>
2624 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2625 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
2626 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-resolved">Contacts resolved in X</a></p>
2627 /// </dd>
2628 /// <dt>
2629 /// CONTACTS_TRANSFERRED_OUT
2630 /// </dt>
2631 /// <dd>
2632 /// <p>Unit: Count</p>
2633 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2634 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out">Contacts transferred out</a></p><note>
2635 /// <p>Feature is a valid filter but not a valid grouping.</p>
2636 /// </note>
2637 /// </dd>
2638 /// <dt>
2639 /// CONTACTS_TRANSFERRED_OUT_BY_AGENT
2640 /// </dt>
2641 /// <dd>
2642 /// <p>Unit: Count</p>
2643 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2644 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out-by-agent">Contacts transferred out by agent</a></p>
2645 /// </dd>
2646 /// <dt>
2647 /// CONTACTS_TRANSFERRED_OUT_FROM_QUEUE
2648 /// </dt>
2649 /// <dd>
2650 /// <p>Unit: Count</p>
2651 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2652 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out-queue">Contacts transferred out queue</a></p>
2653 /// </dd>
2654 /// <dt>
2655 /// CURRENT_CASES
2656 /// </dt>
2657 /// <dd>
2658 /// <p>Unit: Count</p>
2659 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
2660 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
2661 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#current-cases">Current cases</a></p>
2662 /// </dd>
2663 /// <dt>
2664 /// CONVERSATIONS_ABANDONED
2665 /// </dt>
2666 /// <dd>
2667 /// <p>Unit: Count</p>
2668 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
2669 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#conversations-abandoned">Conversations abandoned</a></p>
2670 /// </dd>
2671 /// <dt>
2672 /// DELIVERY_ATTEMPTS
2673 /// </dt>
2674 /// <dd>
2675 /// <p>This metric is available only for outbound campaigns.</p>
2676 /// <p>Unit: Count</p>
2677 /// <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code></p>
2678 /// <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Campaign Delivery EventType, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile</p>
2679 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#delivery-attempts">Delivery attempts</a></p><note>
2680 /// <p>Campaign Delivery EventType filter and grouping are only available for SMS and Email campaign delivery modes. Agent, Queue, Routing Profile, Answering Machine Detection Status and Disconnect Reason are only available for agent assisted voice and automated voice delivery modes.</p>
2681 /// </note>
2682 /// </dd>
2683 /// <dt>
2684 /// DELIVERY_ATTEMPT_DISPOSITION_RATE
2685 /// </dt>
2686 /// <dd>
2687 /// <p>This metric is available only for outbound campaigns. Dispositions for the agent assisted voice and automated voice delivery modes are only available with answering machine detection enabled.</p>
2688 /// <p>Unit: Percent</p>
2689 /// <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code></p>
2690 /// <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile</p>
2691 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#delivery-attempt-disposition-rate">Delivery attempt disposition rate</a></p><note>
2692 /// <p>Campaign Delivery Event Type filter and grouping are only available for SMS and Email campaign delivery modes. Agent, Queue, Routing Profile, Answering Machine Detection Status and Disconnect Reason are only available for agent assisted voice and automated voice delivery modes.</p>
2693 /// </note>
2694 /// </dd>
2695 /// <dt>
2696 /// EVALUATIONS_PERFORMED
2697 /// </dt>
2698 /// <dd>
2699 /// <p>Unit: Count</p>
2700 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
2701 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#evaluations-performed">Evaluations performed</a></p>
2702 /// </dd>
2703 /// <dt>
2704 /// FLOWS_OUTCOME
2705 /// </dt>
2706 /// <dd>
2707 /// <p>Unit: Count</p>
2708 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
2709 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-outcome">Flows outcome</a></p>
2710 /// </dd>
2711 /// <dt>
2712 /// FLOWS_STARTED
2713 /// </dt>
2714 /// <dd>
2715 /// <p>Unit: Count</p>
2716 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp</p>
2717 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-started">Flows started</a></p>
2718 /// </dd>
2719 /// <dt>
2720 /// HUMAN_ANSWERED_CALLS
2721 /// </dt>
2722 /// <dd>
2723 /// <p>This metric is available only for outbound campaigns. Dispositions for the agent assisted voice and automated voice delivery modes are only available with answering machine detection enabled.</p>
2724 /// <p>Unit: Count</p>
2725 /// <p>Valid groupings and filters: Agent, Campaign</p>
2726 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#human-answered">Human answered</a></p>
2727 /// </dd>
2728 /// <dt>
2729 /// MAX_FLOW_TIME
2730 /// </dt>
2731 /// <dd>
2732 /// <p>Unit: Seconds</p>
2733 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
2734 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#maximum-flow-time">Maximum flow time</a></p>
2735 /// </dd>
2736 /// <dt>
2737 /// MAX_QUEUED_TIME
2738 /// </dt>
2739 /// <dd>
2740 /// <p>Unit: Seconds</p>
2741 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2742 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#maximum-queued-time">Maximum queued time</a></p>
2743 /// </dd>
2744 /// <dt>
2745 /// MIN_FLOW_TIME
2746 /// </dt>
2747 /// <dd>
2748 /// <p>Unit: Seconds</p>
2749 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
2750 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#minimum-flow-time">Minimum flow time</a></p>
2751 /// </dd>
2752 /// <dt>
2753 /// PERCENT_AUTOMATIC_FAILS
2754 /// </dt>
2755 /// <dd>
2756 /// <p>Unit: Percent</p>
2757 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
2758 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#automatic-fails-percent">Automatic fails percent</a></p>
2759 /// </dd>
2760 /// <dt>
2761 /// PERCENT_BOT_CONVERSATIONS_OUTCOME
2762 /// </dt>
2763 /// <dd>
2764 /// <p>Unit: Percent</p>
2765 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
2766 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#percent-bot-conversations-outcome">Percent bot conversations outcome</a></p>
2767 /// </dd>
2768 /// <dt>
2769 /// PERCENT_BOT_INTENTS_OUTCOME
2770 /// </dt>
2771 /// <dd>
2772 /// <p>Unit: Percent</p>
2773 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Bot intent name, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
2774 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#percent-bot-intents-outcome">Percent bot intents outcome</a></p>
2775 /// </dd>
2776 /// <dt>
2777 /// PERCENT_CASES_FIRST_CONTACT_RESOLVED
2778 /// </dt>
2779 /// <dd>
2780 /// <p>Unit: Percent</p>
2781 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
2782 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
2783 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-resolved-on-first-contact">Cases resolved on first contact</a></p>
2784 /// </dd>
2785 /// <dt>
2786 /// PERCENT_CONTACTS_STEP_EXPIRED
2787 /// </dt>
2788 /// <dd>
2789 /// <p>Unit: Percent</p>
2790 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
2791 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
2792 /// </dd>
2793 /// <dt>
2794 /// PERCENT_CONTACTS_STEP_JOINED
2795 /// </dt>
2796 /// <dd>
2797 /// <p>Unit: Percent</p>
2798 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
2799 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
2800 /// </dd>
2801 /// <dt>
2802 /// PERCENT_FLOWS_OUTCOME
2803 /// </dt>
2804 /// <dd>
2805 /// <p>Unit: Percent</p>
2806 /// <p>Valid metric filter key: <code>FLOWS_OUTCOME_TYPE</code></p>
2807 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
2808 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-outcome-percentage">Flows outcome percentage</a>.</p><note>
2809 /// <p>The <code>FLOWS_OUTCOME_TYPE</code> is not a valid grouping.</p>
2810 /// </note>
2811 /// </dd>
2812 /// <dt>
2813 /// PERCENT_NON_TALK_TIME
2814 /// </dt>
2815 /// <dd>
2816 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2817 /// <p>Unit: Percentage</p>
2818 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2819 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#non-talk-time-percent">Non-talk time percent</a></p>
2820 /// </dd>
2821 /// <dt>
2822 /// PERCENT_TALK_TIME
2823 /// </dt>
2824 /// <dd>
2825 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2826 /// <p>Unit: Percentage</p>
2827 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2828 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#talk-time-percent">Talk time percent</a></p>
2829 /// </dd>
2830 /// <dt>
2831 /// PERCENT_TALK_TIME_AGENT
2832 /// </dt>
2833 /// <dd>
2834 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2835 /// <p>Unit: Percentage</p>
2836 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2837 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-talk-time-percent">Agent talk time percent</a></p>
2838 /// </dd>
2839 /// <dt>
2840 /// PERCENT_TALK_TIME_CUSTOMER
2841 /// </dt>
2842 /// <dd>
2843 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2844 /// <p>Unit: Percentage</p>
2845 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2846 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#customer-talk-time-percent">Customer talk time percent</a></p>
2847 /// </dd>
2848 /// <dt>
2849 /// RECIPIENTS_ATTEMPTED
2850 /// </dt>
2851 /// <dd>
2852 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
2853 /// <p>Unit: Count</p>
2854 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
2855 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-attempted">Recipients attempted</a></p>
2856 /// </dd>
2857 /// <dt>
2858 /// RECIPIENTS_INTERACTED
2859 /// </dt>
2860 /// <dd>
2861 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
2862 /// <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
2863 /// <p>Unit: Count</p>
2864 /// <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype, Campaign Execution Timestamp</p>
2865 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-interacted">Recipients interacted</a></p>
2866 /// </dd>
2867 /// <dt>
2868 /// RECIPIENTS_TARGETED
2869 /// </dt>
2870 /// <dd>
2871 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
2872 /// <p>Unit: Count</p>
2873 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
2874 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-targeted">Recipients targeted</a></p>
2875 /// </dd>
2876 /// <dt>
2877 /// REOPENED_CASE_ACTIONS
2878 /// </dt>
2879 /// <dd>
2880 /// <p>Unit: Count</p>
2881 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
2882 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
2883 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-reopened">Cases reopened</a></p>
2884 /// </dd>
2885 /// <dt>
2886 /// RESOLVED_CASE_ACTIONS
2887 /// </dt>
2888 /// <dd>
2889 /// <p>Unit: Count</p>
2890 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
2891 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
2892 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-resolved">Cases resolved</a></p>
2893 /// </dd>
2894 /// <dt>
2895 /// SERVICE_LEVEL
2896 /// </dt>
2897 /// <dd>
2898 /// <p>You can include up to 20 SERVICE_LEVEL metrics in a request.</p>
2899 /// <p>Unit: Percent</p>
2900 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
2901 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
2902 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#service-level">Service level X</a></p>
2903 /// </dd>
2904 /// <dt>
2905 /// STEP_CONTACTS_QUEUED
2906 /// </dt>
2907 /// <dd>
2908 /// <p>Unit: Count</p>
2909 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
2910 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
2911 /// </dd>
2912 /// <dt>
2913 /// SUM_AFTER_CONTACT_WORK_TIME
2914 /// </dt>
2915 /// <dd>
2916 /// <p>Unit: Seconds</p>
2917 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2918 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#after-contact-work-time">After contact work time</a></p>
2919 /// </dd>
2920 /// <dt>
2921 /// SUM_CONNECTING_TIME_AGENT
2922 /// </dt>
2923 /// <dd>
2924 /// <p>Unit: Seconds</p>
2925 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code>. This metric only supports the following filter keys as <code>INITIATION_METHOD</code>: <code>INBOUND</code> | <code>OUTBOUND</code> | <code>CALLBACK</code> | <code>API</code> | <code>CALLBACK_CUSTOMER_FIRST_DIALED</code></p>
2926 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
2927 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-api-connecting-time">Agent API connecting time</a></p><note>
2928 /// <p>The <code>Negate</code> key in metric-level filters is not applicable for this metric.</p>
2929 /// </note>
2930 /// </dd>
2931 /// <dt>
2932 /// CONTACTS_ABANDONED
2933 /// </dt>
2934 /// <dd>
2935 /// <p>Unit: Count</p>
2936 /// <p>Metric filter:</p>
2937 /// <ul>
2938 /// <li>
2939 /// <p>Valid values: <code>API</code>| <code>INCOMING</code> | <code>OUTBOUND</code> | <code>TRANSFER</code> | <code>CALLBACK</code> | <code>QUEUE_TRANSFER</code>| <code>Disconnect</code> | <code>CALLBACK_CUSTOMER_FIRST_DIALED</code></p></li>
2940 /// </ul>
2941 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
2942 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-abandoned">Contact abandoned</a></p>
2943 /// </dd>
2944 /// <dt>
2945 /// SUM_CONTACTS_ABANDONED_IN_X
2946 /// </dt>
2947 /// <dd>
2948 /// <p>Unit: Count</p>
2949 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2950 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
2951 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-abandoned-in-x-seconds">Contacts abandoned in X seconds</a></p>
2952 /// </dd>
2953 /// <dt>
2954 /// SUM_CONTACTS_ANSWERED_IN_X
2955 /// </dt>
2956 /// <dd>
2957 /// <p>Unit: Count</p>
2958 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2959 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
2960 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-answered-in-x-seconds">Contacts answered in X seconds</a></p>
2961 /// </dd>
2962 /// <dt>
2963 /// SUM_CONTACT_FLOW_TIME
2964 /// </dt>
2965 /// <dd>
2966 /// <p>Unit: Seconds</p>
2967 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2968 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-flow-time">Contact flow time</a></p>
2969 /// </dd>
2970 /// <dt>
2971 /// SUM_CONTACT_TIME_AGENT
2972 /// </dt>
2973 /// <dd>
2974 /// <p>Unit: Seconds</p>
2975 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
2976 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-on-contact-time">Agent on contact time</a></p>
2977 /// </dd>
2978 /// <dt>
2979 /// SUM_CONTACTS_DISCONNECTED
2980 /// </dt>
2981 /// <dd>
2982 /// <p>Valid metric filter key: <code>DISCONNECT_REASON</code></p>
2983 /// <p>Unit: Count</p>
2984 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2985 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-disconnected">Contact disconnected</a></p>
2986 /// </dd>
2987 /// <dt>
2988 /// SUM_ERROR_STATUS_TIME_AGENT
2989 /// </dt>
2990 /// <dd>
2991 /// <p>Unit: Seconds</p>
2992 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
2993 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#error-status-time">Error status time</a></p>
2994 /// </dd>
2995 /// <dt>
2996 /// SUM_HANDLE_TIME
2997 /// </dt>
2998 /// <dd>
2999 /// <p>Unit: Seconds</p>
3000 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3001 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-handle-time">Contact handle time</a></p>
3002 /// </dd>
3003 /// <dt>
3004 /// SUM_HOLD_TIME
3005 /// </dt>
3006 /// <dd>
3007 /// <p>Unit: Count</p>
3008 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3009 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#customer-hold-time">Customer hold time</a></p>
3010 /// </dd>
3011 /// <dt>
3012 /// SUM_IDLE_TIME_AGENT
3013 /// </dt>
3014 /// <dd>
3015 /// <p>Unit: Seconds</p>
3016 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
3017 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-idle-time">Agent idle time</a></p>
3018 /// </dd>
3019 /// <dt>
3020 /// SUM_INTERACTION_AND_HOLD_TIME
3021 /// </dt>
3022 /// <dd>
3023 /// <p>Unit: Seconds</p>
3024 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3025 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-interaction-and-hold-time">Agent interaction and hold time</a></p>
3026 /// </dd>
3027 /// <dt>
3028 /// SUM_INTERACTION_TIME
3029 /// </dt>
3030 /// <dd>
3031 /// <p>Unit: Seconds</p>
3032 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
3033 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-interaction-time">Agent interaction time</a></p>
3034 /// </dd>
3035 /// <dt>
3036 /// SUM_NON_PRODUCTIVE_TIME_AGENT
3037 /// </dt>
3038 /// <dd>
3039 /// <p>Unit: Seconds</p>
3040 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
3041 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-non-productive-time">Agent non-productive time</a></p>
3042 /// </dd>
3043 /// <dt>
3044 /// SUM_ONLINE_TIME_AGENT
3045 /// </dt>
3046 /// <dd>
3047 /// <p>Unit: Seconds</p>
3048 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
3049 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#online-time">Online time</a></p>
3050 /// </dd>
3051 /// <dt>
3052 /// SUM_RETRY_CALLBACK_ATTEMPTS
3053 /// </dt>
3054 /// <dd>
3055 /// <p>Unit: Count</p>
3056 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3057 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#callback-attempts">Callback attempts</a></p>
3058 /// </dd>
3059 /// </dl>
3060 pub fn set_metrics(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::MetricV2>>) -> Self {
3061 self.inner = self.inner.set_metrics(input);
3062 self
3063 }
3064 /// <p>The metrics to retrieve. Specify the name or metricId, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html">Metrics definition</a> in the <i>Amazon Connect Administrator Guide</i>.</p><note>
3065 /// <p>MetricId should be used to reference custom metrics or out of the box metrics as Arn. If using MetricId, the limit is 20 MetricId per request.</p>
3066 /// </note>
3067 /// <dl>
3068 /// <dt>
3069 /// ABANDONMENT_RATE
3070 /// </dt>
3071 /// <dd>
3072 /// <p>Unit: Percent</p>
3073 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3074 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#abandonment-rate">Abandonment rate</a></p>
3075 /// </dd>
3076 /// <dt>
3077 /// AGENT_ADHERENT_TIME
3078 /// </dt>
3079 /// <dd>
3080 /// <p>This metric is available only in Amazon Web Services Regions where <a href="https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region">Forecasting, capacity planning, and scheduling</a> is available.</p>
3081 /// <p>Unit: Seconds</p>
3082 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
3083 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#adherent-time">Adherent time</a></p>
3084 /// </dd>
3085 /// <dt>
3086 /// AGENT_ANSWER_RATE
3087 /// </dt>
3088 /// <dd>
3089 /// <p>Unit: Percent</p>
3090 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
3091 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-answer-rate">Agent answer rate</a></p>
3092 /// </dd>
3093 /// <dt>
3094 /// AGENT_NON_ADHERENT_TIME
3095 /// </dt>
3096 /// <dd>
3097 /// <p>Unit: Seconds</p>
3098 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
3099 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#non-adherent-time">Non-adherent time</a></p>
3100 /// </dd>
3101 /// <dt>
3102 /// AGENT_NON_RESPONSE
3103 /// </dt>
3104 /// <dd>
3105 /// <p>Unit: Count</p>
3106 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
3107 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-non-response">Agent non-response</a></p>
3108 /// </dd>
3109 /// <dt>
3110 /// AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS
3111 /// </dt>
3112 /// <dd>
3113 /// <p>Unit: Count</p>
3114 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
3115 /// <p>Data for this metric is available starting from October 1, 2023 0:00:00 GMT.</p>
3116 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-non-response-without-customer-abandons">Agent non-response without customer abandons</a></p>
3117 /// </dd>
3118 /// <dt>
3119 /// AGENT_OCCUPANCY
3120 /// </dt>
3121 /// <dd>
3122 /// <p>Unit: Percentage</p>
3123 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
3124 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#occupancy">Occupancy</a></p>
3125 /// </dd>
3126 /// <dt>
3127 /// AGENT_SCHEDULE_ADHERENCE
3128 /// </dt>
3129 /// <dd>
3130 /// <p>This metric is available only in Amazon Web Services Regions where <a href="https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region">Forecasting, capacity planning, and scheduling</a> is available.</p>
3131 /// <p>Unit: Percent</p>
3132 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
3133 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#adherence">Adherence</a></p>
3134 /// </dd>
3135 /// <dt>
3136 /// AGENT_SCHEDULED_TIME
3137 /// </dt>
3138 /// <dd>
3139 /// <p>This metric is available only in Amazon Web Services Regions where <a href="https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region">Forecasting, capacity planning, and scheduling</a> is available.</p>
3140 /// <p>Unit: Seconds</p>
3141 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
3142 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#scheduled-time">Scheduled time</a></p>
3143 /// </dd>
3144 /// <dt>
3145 /// AVG_ABANDON_TIME
3146 /// </dt>
3147 /// <dd>
3148 /// <p>Unit: Seconds</p>
3149 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3150 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
3151 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-queue-abandon-time">Average queue abandon time</a></p>
3152 /// </dd>
3153 /// <dt>
3154 /// AVG_ACTIVE_TIME
3155 /// </dt>
3156 /// <dd>
3157 /// <p>Unit: Seconds</p>
3158 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3159 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-active-time">Average active time</a></p>
3160 /// </dd>
3161 /// <dt>
3162 /// AVG_AFTER_CONTACT_WORK_TIME
3163 /// </dt>
3164 /// <dd>
3165 /// <p>Unit: Seconds</p>
3166 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
3167 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3168 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#after-contact-work-time">Average after contact work time</a></p><note>
3169 /// <p>Feature is a valid filter but not a valid grouping.</p>
3170 /// </note>
3171 /// </dd>
3172 /// <dt>
3173 /// AVG_AGENT_CONCURRENCY
3174 /// </dt>
3175 /// <dd>
3176 /// <p>Unit: Count</p>
3177 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3178 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-concurrency">Average agent concurrency</a></p>
3179 /// </dd>
3180 /// <dt>
3181 /// AVG_AGENT_CONNECTING_TIME
3182 /// </dt>
3183 /// <dd>
3184 /// <p>Unit: Seconds</p>
3185 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code>. For now, this metric only supports the following as <code>INITIATION_METHOD</code>: <code>INBOUND</code> | <code>OUTBOUND</code> | <code>CALLBACK</code> | <code>API</code></p>
3186 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
3187 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-api-connecting-time">Average agent API connecting time</a></p><note>
3188 /// <p>The <code>Negate</code> key in metric-level filters is not applicable for this metric.</p>
3189 /// </note>
3190 /// </dd>
3191 /// <dt>
3192 /// AVG_AGENT_PAUSE_TIME
3193 /// </dt>
3194 /// <dd>
3195 /// <p>Unit: Seconds</p>
3196 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3197 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-pause-time">Average agent pause time</a></p>
3198 /// </dd>
3199 /// <dt>
3200 /// AVG_BOT_CONVERSATION_TIME
3201 /// </dt>
3202 /// <dd>
3203 /// <p>Unit: Seconds</p>
3204 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
3205 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#average-bot-conversation-time">Average bot conversation time</a></p>
3206 /// </dd>
3207 /// <dt>
3208 /// AVG_BOT_CONVERSATION_TURNS
3209 /// </dt>
3210 /// <dd>
3211 /// <p>Unit: Count</p>
3212 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
3213 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#average-bot-conversation-turns">Average bot conversation turns</a></p>
3214 /// </dd>
3215 /// <dt>
3216 /// AVG_CASE_RELATED_CONTACTS
3217 /// </dt>
3218 /// <dd>
3219 /// <p>Unit: Count</p>
3220 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
3221 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
3222 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-contacts-per-case">Average contacts per case</a></p>
3223 /// </dd>
3224 /// <dt>
3225 /// AVG_CASE_RESOLUTION_TIME
3226 /// </dt>
3227 /// <dd>
3228 /// <p>Unit: Seconds</p>
3229 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
3230 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
3231 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-case-resolution-time">Average case resolution time</a></p>
3232 /// </dd>
3233 /// <dt>
3234 /// AVG_CONTACT_DURATION
3235 /// </dt>
3236 /// <dd>
3237 /// <p>Unit: Seconds</p>
3238 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3239 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-contact-duration">Average contact duration</a></p><note>
3240 /// <p>Feature is a valid filter but not a valid grouping.</p>
3241 /// </note>
3242 /// </dd>
3243 /// <dt>
3244 /// AVG_CONTACT_FIRST_RESPONSE_TIME_AGENT
3245 /// </dt>
3246 /// <dd>
3247 /// <p>Unit: Seconds</p>
3248 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
3249 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-average-contact-first-response-wait-time">Agent average contact first response wait time</a></p>
3250 /// </dd>
3251 /// <dt>
3252 /// AVG_CONVERSATION_CLOSE_TIME
3253 /// </dt>
3254 /// <dd>
3255 /// <p>Unit: Seconds</p>
3256 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
3257 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-conversation-close-time">Average conversation close time</a></p>
3258 /// </dd>
3259 /// <dt>
3260 /// AVG_CONVERSATION_DURATION
3261 /// </dt>
3262 /// <dd>
3263 /// <p>Unit: Seconds</p>
3264 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3265 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-conversation-duration">Average conversation duration</a></p>
3266 /// </dd>
3267 /// <dt>
3268 /// AVG_DIALS_PER_MINUTE
3269 /// </dt>
3270 /// <dd>
3271 /// <p>This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.</p>
3272 /// <p>Unit: Count</p>
3273 /// <p>Valid groupings and filters: Agent, Campaign, Queue, Routing Profile</p>
3274 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-dials-per-minute">Average dials per minute</a></p>
3275 /// </dd>
3276 /// <dt>
3277 /// AVG_EVALUATION_SCORE
3278 /// </dt>
3279 /// <dd>
3280 /// <p>Unit: Percent</p>
3281 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Section ID, Evaluation Question ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
3282 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-evaluation-score">Average evaluation score</a></p>
3283 /// </dd>
3284 /// <dt>
3285 /// AVG_FIRST_RESPONSE_TIME_AGENT
3286 /// </dt>
3287 /// <dd>
3288 /// <p>Unit: Seconds</p>
3289 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
3290 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-first-response-time">Average agent first response time</a></p>
3291 /// </dd>
3292 /// <dt>
3293 /// AVG_FLOW_TIME
3294 /// </dt>
3295 /// <dd>
3296 /// <p>Unit: Seconds</p>
3297 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
3298 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-flow-time">Average flow time</a></p>
3299 /// </dd>
3300 /// <dt>
3301 /// AVG_GREETING_TIME_AGENT
3302 /// </dt>
3303 /// <dd>
3304 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3305 /// <p>Unit: Seconds</p>
3306 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3307 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-greeting-time">Average agent greeting time</a></p>
3308 /// </dd>
3309 /// <dt>
3310 /// AVG_HANDLE_TIME
3311 /// </dt>
3312 /// <dd>
3313 /// <p>Unit: Seconds</p>
3314 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression</p>
3315 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-handle-time">Average handle time</a></p><note>
3316 /// <p>Feature is a valid filter but not a valid grouping.</p>
3317 /// </note>
3318 /// </dd>
3319 /// <dt>
3320 /// ACTIVE_AI_AGENTS
3321 /// </dt>
3322 /// <dd>
3323 /// <p>Unit: Count</p>
3324 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Type, AI Use Case, Channel, Queue, Routing Profile</p>
3325 /// <p>UI name: Active AI Agents</p>
3326 /// </dd>
3327 /// <dt>
3328 /// AI_HANDOFF_RATE
3329 /// </dt>
3330 /// <dd>
3331 /// <p>Unit: Percent</p>
3332 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
3333 /// <p>UI name: Handoff Rate</p>
3334 /// </dd>
3335 /// <dt>
3336 /// AI_HANDOFFS
3337 /// </dt>
3338 /// <dd>
3339 /// <p>Unit: Count</p>
3340 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
3341 /// <p>UI name: AI Handoff Count</p>
3342 /// </dd>
3343 /// <dt>
3344 /// AI_AGENT_INVOCATION_SUCCESS
3345 /// </dt>
3346 /// <dd>
3347 /// <p>Unit: Count</p>
3348 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Use Case, Channel, Queue, Routing Profile</p>
3349 /// <p>UI name: AI Agent Invocation Success Count</p><note>
3350 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
3351 /// </note>
3352 /// </dd>
3353 /// <dt>
3354 /// AI_AGENT_INVOCATION_SUCCESS_RATE
3355 /// </dt>
3356 /// <dd>
3357 /// <p>Unit: Percent</p>
3358 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Use Case, Channel, Queue, Routing Profile</p>
3359 /// <p>UI name: AI Agent Invocation Success Rate</p><note>
3360 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
3361 /// </note>
3362 /// </dd>
3363 /// <dt>
3364 /// AI_AGENT_INVOCATIONS
3365 /// </dt>
3366 /// <dd>
3367 /// <p>Unit: Count</p>
3368 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Type, AI Agent Name Version, AI Use Case, Channel, Queue, Routing Profile</p>
3369 /// <p>UI name: AI Agent Invocation Count</p><note>
3370 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
3371 /// </note>
3372 /// </dd>
3373 /// <dt>
3374 /// AI_RESPONSE_COMPLETION_RATE
3375 /// </dt>
3376 /// <dd>
3377 /// <p>Unit: Percent</p>
3378 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
3379 /// <p>UI name: AI Response Completion Rate</p>
3380 /// </dd>
3381 /// <dt>
3382 /// AI_INVOLVED_CONTACTS
3383 /// </dt>
3384 /// <dd>
3385 /// <p>Unit: Count</p>
3386 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
3387 /// <p>UI name: AI Contacts</p>
3388 /// </dd>
3389 /// <dt>
3390 /// AI_PROMPT_INVOCATION_SUCCESS
3391 /// </dt>
3392 /// <dd>
3393 /// <p>Unit: Count</p>
3394 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Prompt, AI Prompt ID, AI Prompt Name, AI Prompt Type, AI Use Case, Channel, Queue, Routing Profile</p>
3395 /// <p>UI name: AI Prompt Invocation Success Count</p><note>
3396 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
3397 /// </note>
3398 /// </dd>
3399 /// <dt>
3400 /// AI_PROMPT_INVOCATION_SUCCESS_RATE
3401 /// </dt>
3402 /// <dd>
3403 /// <p>Unit: Percent</p>
3404 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Prompt, AI Prompt ID, AI Prompt Name, AI Prompt Type, AI Use Case, Channel, Queue, Routing Profile</p>
3405 /// <p>UI name: AI Prompt Invocation Success Rate</p><note>
3406 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
3407 /// </note>
3408 /// </dd>
3409 /// <dt>
3410 /// AI_TOOL_INVOCATIONS
3411 /// </dt>
3412 /// <dd>
3413 /// <p>Unit: Count</p>
3414 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Tool ID, AI Tool Name, AI Tool Type, AI Use Case, Channel, Queue, Routing Profile</p>
3415 /// <p>UI name: AI Tool Invocation Count</p><note>
3416 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
3417 /// </note>
3418 /// </dd>
3419 /// <dt>
3420 /// AVG_AI_AGENT_CONVERSATION_TURNS
3421 /// </dt>
3422 /// <dd>
3423 /// <p>Unit: Count</p>
3424 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Use Case, Channel, Queue, Routing Profile</p>
3425 /// <p>UI name: Average AI Agent Conversation Turns</p><note>
3426 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
3427 /// </note>
3428 /// </dd>
3429 /// <dt>
3430 /// AVG_AI_CONVERSATION_TURNS
3431 /// </dt>
3432 /// <dd>
3433 /// <p>Unit: Count</p>
3434 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
3435 /// <p>UI name: AI Conversation Turns</p>
3436 /// </dd>
3437 /// <dt>
3438 /// AVG_AI_PROMPT_INVOCATION_LATENCY
3439 /// </dt>
3440 /// <dd>
3441 /// <p>Unit: Milliseconds</p>
3442 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Prompt, AI Prompt ID, AI Prompt Name, AI Prompt Type, AI Use Case, Channel, Queue, Routing Profile</p>
3443 /// <p>UI name: Average AI Prompt Invocation Latency</p><note>
3444 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
3445 /// </note>
3446 /// </dd>
3447 /// <dt>
3448 /// AVG_AI_TOOL_INVOCATION_LATENCY
3449 /// </dt>
3450 /// <dd>
3451 /// <p>Unit: Milliseconds</p>
3452 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Name Version, AI Agent Type, AI Tool ID, AI Tool Name, AI Tool Type, AI Use Case, Channel, Queue, Routing Profile</p>
3453 /// <p>UI name: Average AI Tool Invocation Latency</p><note>
3454 /// <p>AI Agent Name Version is not a valid filter but a valid grouping.</p>
3455 /// </note>
3456 /// </dd>
3457 /// <dt>
3458 /// KNOWLEDGE_CONTENT_REFERENCES
3459 /// </dt>
3460 /// <dd>
3461 /// <p>Unit: Count</p>
3462 /// <p>Valid groupings and filters: AI Agent, AI Agent Name, AI Agent Type, AI Use Case, Channel, Knowledge Base Name, Queue, Routing Profile</p>
3463 /// <p>UI name: KnowledgeBase Reference Count</p>
3464 /// </dd>
3465 /// <dt>
3466 /// PROACTIVE_INTENT_ENGAGEMENT_RATE
3467 /// </dt>
3468 /// <dd>
3469 /// <p>Unit: Percent</p>
3470 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
3471 /// <p>UI name: Proactive Intent Engagement Rate</p>
3472 /// </dd>
3473 /// <dt>
3474 /// PROACTIVE_INTENT_RESPONSE_RATE
3475 /// </dt>
3476 /// <dd>
3477 /// <p>Unit: Percent</p>
3478 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
3479 /// <p>UI name: Proactive Intent Response Rate</p>
3480 /// </dd>
3481 /// <dt>
3482 /// PROACTIVE_INTENTS_ANSWERED
3483 /// </dt>
3484 /// <dd>
3485 /// <p>Unit: Count</p>
3486 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
3487 /// <p>UI name: Proactive Intents Answered</p>
3488 /// </dd>
3489 /// <dt>
3490 /// PROACTIVE_INTENTS_DETECTED
3491 /// </dt>
3492 /// <dd>
3493 /// <p>Unit: Count</p>
3494 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
3495 /// <p>UI name: Proactive Intents Detected</p>
3496 /// </dd>
3497 /// <dt>
3498 /// </dt>
3499 /// <dd>
3500 /// <p>Unit:</p>
3501 /// <p>Valid groupings and filters:</p>
3502 /// <p>UI name:</p>
3503 /// </dd>
3504 /// <dt>
3505 /// </dt>
3506 /// <dd>
3507 /// <p>Unit:</p>
3508 /// <p>Valid groupings and filters:</p>
3509 /// <p>UI name:</p>
3510 /// </dd>
3511 /// <dt>
3512 /// PROACTIVE_INTENTS_ENGAGED
3513 /// </dt>
3514 /// <dd>
3515 /// <p>Unit: Count</p>
3516 /// <p>Valid groupings and filters: AI Use Case, Channel, Queue, Routing Profile</p>
3517 /// <p>UI name: UI name:</p>
3518 /// </dd>
3519 /// <dt>
3520 /// AVG_HOLD_TIME
3521 /// </dt>
3522 /// <dd>
3523 /// <p>Unit: Seconds</p>
3524 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3525 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-hold-time">Average customer hold time</a></p><note>
3526 /// <p>Feature is a valid filter but not a valid grouping.</p>
3527 /// </note>
3528 /// </dd>
3529 /// <dt>
3530 /// AVG_HOLD_TIME_ALL_CONTACTS
3531 /// </dt>
3532 /// <dd>
3533 /// <p>Unit: Seconds</p>
3534 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3535 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-hold-time-all-contacts">Average customer hold time all contacts</a></p>
3536 /// </dd>
3537 /// <dt>
3538 /// AVG_HOLDS
3539 /// </dt>
3540 /// <dd>
3541 /// <p>Unit: Count</p>
3542 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3543 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-holds">Average holds</a></p><note>
3544 /// <p>Feature is a valid filter but not a valid grouping.</p>
3545 /// </note>
3546 /// </dd>
3547 /// <dt>
3548 /// AVG_INTERACTION_AND_HOLD_TIME
3549 /// </dt>
3550 /// <dd>
3551 /// <p>Unit: Seconds</p>
3552 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3553 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interaction-and-customer-hold-time">Average agent interaction and customer hold time</a></p>
3554 /// </dd>
3555 /// <dt>
3556 /// AVG_INTERACTION_TIME
3557 /// </dt>
3558 /// <dd>
3559 /// <p>Unit: Seconds</p>
3560 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
3561 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3562 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interaction-time">Average agent interaction time</a></p><note>
3563 /// <p>Feature is a valid filter but not a valid grouping.</p>
3564 /// </note>
3565 /// </dd>
3566 /// <dt>
3567 /// AVG_INTERRUPTIONS_AGENT
3568 /// </dt>
3569 /// <dd>
3570 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3571 /// <p>Unit: Count</p>
3572 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3573 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interruptions">Average agent interruptions</a></p>
3574 /// </dd>
3575 /// <dt>
3576 /// AVG_INTERRUPTION_TIME_AGENT
3577 /// </dt>
3578 /// <dd>
3579 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3580 /// <p>Unit: Seconds</p>
3581 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3582 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interruption-time">Average agent interruption time</a></p>
3583 /// </dd>
3584 /// <dt>
3585 /// AVG_MESSAGE_LENGTH_AGENT
3586 /// </dt>
3587 /// <dd>
3588 /// <p>Unit: Count</p>
3589 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
3590 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-message-length">Average agent message length</a></p>
3591 /// </dd>
3592 /// <dt>
3593 /// AVG_MESSAGE_LENGTH_CUSTOMER
3594 /// </dt>
3595 /// <dd>
3596 /// <p>Unit: Count</p>
3597 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
3598 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-message-length">Average customer message length</a></p>
3599 /// </dd>
3600 /// <dt>
3601 /// AVG_MESSAGES
3602 /// </dt>
3603 /// <dd>
3604 /// <p>Unit: Count</p>
3605 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
3606 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-messages">Average messages</a></p>
3607 /// </dd>
3608 /// <dt>
3609 /// AVG_MESSAGES_AGENT
3610 /// </dt>
3611 /// <dd>
3612 /// <p>Unit: Count</p>
3613 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
3614 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-messages">Average agent messages</a></p>
3615 /// </dd>
3616 /// <dt>
3617 /// AVG_MESSAGES_BOT
3618 /// </dt>
3619 /// <dd>
3620 /// <p>Unit: Count</p>
3621 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
3622 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-bot-messages">Average bot messages</a></p>
3623 /// </dd>
3624 /// <dt>
3625 /// AVG_MESSAGES_CUSTOMER
3626 /// </dt>
3627 /// <dd>
3628 /// <p>Unit: Count</p>
3629 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
3630 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-messages">Average customer messages</a></p>
3631 /// </dd>
3632 /// <dt>
3633 /// AVG_NON_TALK_TIME
3634 /// </dt>
3635 /// <dd>
3636 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3637 /// <p>Unit: Seconds</p>
3638 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3639 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-non-talk-time">Average non-talk time</a></p>
3640 /// </dd>
3641 /// <dt>
3642 /// AVG_QUEUE_ANSWER_TIME
3643 /// </dt>
3644 /// <dd>
3645 /// <p>Unit: Seconds</p>
3646 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3647 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-queue-answer-time">Average queue answer time</a></p>
3648 /// <p>Valid metric level filters: <code>INITIATION_METHOD</code>, <code>FEATURE</code>, <code>DISCONNECT_REASON</code></p><note>
3649 /// <p>Feature is a valid filter but not a valid grouping.</p>
3650 /// </note>
3651 /// </dd>
3652 /// <dt>
3653 /// AVG_QUEUE_ANSWER_TIME_CUSTOMER_FIRST_CALLBACK
3654 /// </dt>
3655 /// <dd>
3656 /// <p>Unit: Seconds</p>
3657 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect, Agent Hierarchy</p>
3658 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-queue-answer-time-customer-first-callback">Avg. queue answer time - customer first callback</a></p>
3659 /// </dd>
3660 /// <dt>
3661 /// AVG_RESPONSE_TIME_AGENT
3662 /// </dt>
3663 /// <dd>
3664 /// <p>Unit: Seconds</p>
3665 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
3666 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-response-time-agent">Average agent response time</a></p>
3667 /// </dd>
3668 /// <dt>
3669 /// AVG_RESPONSE_TIME_CUSTOMER
3670 /// </dt>
3671 /// <dd>
3672 /// <p>Unit: Seconds</p>
3673 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
3674 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-time-agent">Average customer response time</a></p>
3675 /// </dd>
3676 /// <dt>
3677 /// AVG_RESOLUTION_TIME
3678 /// </dt>
3679 /// <dd>
3680 /// <p>Unit: Seconds</p>
3681 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3682 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-resolution-time">Average resolution time</a></p>
3683 /// </dd>
3684 /// <dt>
3685 /// AVG_TALK_TIME
3686 /// </dt>
3687 /// <dd>
3688 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3689 /// <p>Unit: Seconds</p>
3690 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3691 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-talk-time">Average talk time</a></p>
3692 /// </dd>
3693 /// <dt>
3694 /// AVG_TALK_TIME_AGENT
3695 /// </dt>
3696 /// <dd>
3697 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3698 /// <p>Unit: Seconds</p>
3699 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3700 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-talk-time">Average agent talk time</a></p>
3701 /// </dd>
3702 /// <dt>
3703 /// AVG_TALK_TIME_CUSTOMER
3704 /// </dt>
3705 /// <dd>
3706 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3707 /// <p>Unit: Seconds</p>
3708 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3709 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-talk-time">Average customer talk time</a></p>
3710 /// </dd>
3711 /// <dt>
3712 /// AVG_WAIT_TIME_AFTER_CUSTOMER_CONNECTION
3713 /// </dt>
3714 /// <dd>
3715 /// <p>This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.</p>
3716 /// <p>Unit: Seconds</p>
3717 /// <p>Valid groupings and filters: Campaign</p>
3718 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-wait-time-after-customer-connection">Average wait time after customer connection</a></p>
3719 /// </dd>
3720 /// <dt>
3721 /// AVG_WAIT_TIME_AFTER_CUSTOMER_FIRST_CALLBACK_CONNECTION
3722 /// </dt>
3723 /// <dd>
3724 /// <p>Unit: Seconds</p>
3725 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect, Agent Hierarchy</p>
3726 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-wait-time-after-customer-connection-customer-first-callback">Avg. wait time after customer connection - customer first callback</a></p>
3727 /// </dd>
3728 /// <dt>
3729 /// AVG_WEIGHTED_EVALUATION_SCORE
3730 /// </dt>
3731 /// <dd>
3732 /// <p>Unit: Percent</p>
3733 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form Id, Evaluation Section ID, Evaluation Question ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
3734 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-weighted-evaluation-score">Average weighted evaluation score</a></p>
3735 /// </dd>
3736 /// <dt>
3737 /// BOT_CONVERSATIONS_COMPLETED
3738 /// </dt>
3739 /// <dd>
3740 /// <p>Unit: Count</p>
3741 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
3742 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-conversations-completed">Bot conversations completed</a></p>
3743 /// </dd>
3744 /// <dt>
3745 /// BOT_INTENTS_COMPLETED
3746 /// </dt>
3747 /// <dd>
3748 /// <p>Unit: Count</p>
3749 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Bot intent name, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
3750 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-intents-completed">Bot intents completed</a></p>
3751 /// </dd>
3752 /// <dt>
3753 /// CAMPAIGN_CONTACTS_ABANDONED_AFTER_X
3754 /// </dt>
3755 /// <dd>
3756 /// <p>This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.</p>
3757 /// <p>Unit: Count</p>
3758 /// <p>Valid groupings and filters: Agent, Campaign</p>
3759 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>GT</code> (for <i>Greater than</i>).</p>
3760 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-contacts-abandoned-after-x">Campaign contacts abandoned after X</a></p>
3761 /// </dd>
3762 /// <dt>
3763 /// CAMPAIGN_CONTACTS_ABANDONED_AFTER_X_RATE
3764 /// </dt>
3765 /// <dd>
3766 /// <p>This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.</p>
3767 /// <p>Unit: Percent</p>
3768 /// <p>Valid groupings and filters: Agent, Campaign</p>
3769 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>GT</code> (for <i>Greater than</i>).</p>
3770 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-contacts-abandoned-after-x-rate">Campaign contacts abandoned after X rate</a></p>
3771 /// </dd>
3772 /// <dt>
3773 /// CAMPAIGN_INTERACTIONS
3774 /// </dt>
3775 /// <dd>
3776 /// <p>This metric is available only for outbound campaigns using the email delivery mode.</p>
3777 /// <p>Unit: Count</p>
3778 /// <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
3779 /// <p>Valid groupings and filters: Campaign</p>
3780 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-interactions">Campaign interactions</a></p>
3781 /// </dd>
3782 /// <dt>
3783 /// CAMPAIGN_PROGRESS_RATE
3784 /// </dt>
3785 /// <dd>
3786 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
3787 /// <p>Unit: Percent</p>
3788 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
3789 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-progress-rate">Campaign progress rate</a></p>
3790 /// </dd>
3791 /// <dt>
3792 /// CAMPAIGN_SEND_ATTEMPTS
3793 /// </dt>
3794 /// <dd>
3795 /// <p>This metric is available only for outbound campaigns.</p>
3796 /// <p>Unit: Count</p>
3797 /// <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype</p>
3798 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-send-attempts">Campaign send attempts</a></p>
3799 /// </dd>
3800 /// <dt>
3801 /// CAMPAIGN_SEND_EXCLUSIONS
3802 /// </dt>
3803 /// <dd>
3804 /// <p>This metric is available only for outbound campaigns.</p>
3805 /// <p>Valid metric filter key: CAMPAIGN_EXCLUDED_EVENT_TYPE</p>
3806 /// <p>Unit: Count</p>
3807 /// <p>Valid groupings and filters: Campaign, Campaign Excluded Event Type, Campaign Execution Timestamp</p>
3808 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-send-exclusions">Campaign send exclusions</a></p>
3809 /// </dd>
3810 /// <dt>
3811 /// CASES_CREATED
3812 /// </dt>
3813 /// <dd>
3814 /// <p>Unit: Count</p>
3815 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
3816 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
3817 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-created">Cases created</a></p>
3818 /// </dd>
3819 /// <dt>
3820 /// CONTACTS_CREATED
3821 /// </dt>
3822 /// <dd>
3823 /// <p>Unit: Count</p>
3824 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
3825 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3826 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-created">Contacts created</a></p><note>
3827 /// <p>Feature is a valid filter but not a valid grouping.</p>
3828 /// </note>
3829 /// </dd>
3830 /// <dt>
3831 /// CONTACTS_HANDLED
3832 /// </dt>
3833 /// <dd>
3834 /// <p>Unit: Count</p>
3835 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code>, <code>DISCONNECT_REASON</code></p>
3836 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
3837 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-handled">Contacts handled</a></p><note>
3838 /// <p>Feature is a valid filter but not a valid grouping.</p>
3839 /// </note>
3840 /// </dd>
3841 /// <dt>
3842 /// CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT
3843 /// </dt>
3844 /// <dd>
3845 /// <p>Unit: Count</p>
3846 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
3847 /// <p>Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3848 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-handled-by-connected-to-agent-timestamp">Contacts handled (connected to agent timestamp)</a></p>
3849 /// </dd>
3850 /// <dt>
3851 /// CONTACTS_HOLD_ABANDONS
3852 /// </dt>
3853 /// <dd>
3854 /// <p>Unit: Count</p>
3855 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3856 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-hold-disconnect">Contacts hold disconnect</a></p>
3857 /// </dd>
3858 /// <dt>
3859 /// CONTACTS_ON_HOLD_AGENT_DISCONNECT
3860 /// </dt>
3861 /// <dd>
3862 /// <p>Unit: Count</p>
3863 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3864 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-hold-agent-disconnect">Contacts hold agent disconnect</a></p>
3865 /// </dd>
3866 /// <dt>
3867 /// CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT
3868 /// </dt>
3869 /// <dd>
3870 /// <p>Unit: Count</p>
3871 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3872 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-hold-customer-disconnect">Contacts hold customer disconnect</a></p>
3873 /// </dd>
3874 /// <dt>
3875 /// CONTACTS_PUT_ON_HOLD
3876 /// </dt>
3877 /// <dd>
3878 /// <p>Unit: Count</p>
3879 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3880 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-put-on-hold">Contacts put on hold</a></p>
3881 /// </dd>
3882 /// <dt>
3883 /// CONTACTS_TRANSFERRED_OUT_EXTERNAL
3884 /// </dt>
3885 /// <dd>
3886 /// <p>Unit: Count</p>
3887 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3888 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out-external">Contacts transferred out external</a></p>
3889 /// </dd>
3890 /// <dt>
3891 /// CONTACTS_TRANSFERRED_OUT_INTERNAL
3892 /// </dt>
3893 /// <dd>
3894 /// <p>Unit: Percent</p>
3895 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3896 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out-internal">Contacts transferred out internal</a></p>
3897 /// </dd>
3898 /// <dt>
3899 /// CONTACTS_QUEUED
3900 /// </dt>
3901 /// <dd>
3902 /// <p>Unit: Count</p>
3903 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3904 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-queued">Contacts queued</a></p>
3905 /// </dd>
3906 /// <dt>
3907 /// CONTACTS_QUEUED_BY_ENQUEUE
3908 /// </dt>
3909 /// <dd>
3910 /// <p>Unit: Count</p>
3911 /// <p>Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype</p>
3912 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-queued-by-enqueue">Contacts queued (enqueue timestamp)</a></p>
3913 /// </dd>
3914 /// <dt>
3915 /// CONTACTS_REMOVED_FROM_QUEUE_IN_X
3916 /// </dt>
3917 /// <dd>
3918 /// <p>Unit: Count</p>
3919 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
3920 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
3921 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-removed-from-queue">Contacts removed from queue in X seconds</a></p>
3922 /// </dd>
3923 /// <dt>
3924 /// CONTACTS_RESOLVED_IN_X
3925 /// </dt>
3926 /// <dd>
3927 /// <p>Unit: Count</p>
3928 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3929 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
3930 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-resolved">Contacts resolved in X</a></p>
3931 /// </dd>
3932 /// <dt>
3933 /// CONTACTS_TRANSFERRED_OUT
3934 /// </dt>
3935 /// <dd>
3936 /// <p>Unit: Count</p>
3937 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3938 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out">Contacts transferred out</a></p><note>
3939 /// <p>Feature is a valid filter but not a valid grouping.</p>
3940 /// </note>
3941 /// </dd>
3942 /// <dt>
3943 /// CONTACTS_TRANSFERRED_OUT_BY_AGENT
3944 /// </dt>
3945 /// <dd>
3946 /// <p>Unit: Count</p>
3947 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3948 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out-by-agent">Contacts transferred out by agent</a></p>
3949 /// </dd>
3950 /// <dt>
3951 /// CONTACTS_TRANSFERRED_OUT_FROM_QUEUE
3952 /// </dt>
3953 /// <dd>
3954 /// <p>Unit: Count</p>
3955 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3956 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-transferred-out-queue">Contacts transferred out queue</a></p>
3957 /// </dd>
3958 /// <dt>
3959 /// CURRENT_CASES
3960 /// </dt>
3961 /// <dd>
3962 /// <p>Unit: Count</p>
3963 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
3964 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
3965 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#current-cases">Current cases</a></p>
3966 /// </dd>
3967 /// <dt>
3968 /// CONVERSATIONS_ABANDONED
3969 /// </dt>
3970 /// <dd>
3971 /// <p>Unit: Count</p>
3972 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Feature, RoutingStepExpression, Initiation method, Routing Profile, Queue, Q in Connect</p>
3973 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#conversations-abandoned">Conversations abandoned</a></p>
3974 /// </dd>
3975 /// <dt>
3976 /// DELIVERY_ATTEMPTS
3977 /// </dt>
3978 /// <dd>
3979 /// <p>This metric is available only for outbound campaigns.</p>
3980 /// <p>Unit: Count</p>
3981 /// <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code></p>
3982 /// <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Campaign Delivery EventType, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile</p>
3983 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#delivery-attempts">Delivery attempts</a></p><note>
3984 /// <p>Campaign Delivery EventType filter and grouping are only available for SMS and Email campaign delivery modes. Agent, Queue, Routing Profile, Answering Machine Detection Status and Disconnect Reason are only available for agent assisted voice and automated voice delivery modes.</p>
3985 /// </note>
3986 /// </dd>
3987 /// <dt>
3988 /// DELIVERY_ATTEMPT_DISPOSITION_RATE
3989 /// </dt>
3990 /// <dd>
3991 /// <p>This metric is available only for outbound campaigns. Dispositions for the agent assisted voice and automated voice delivery modes are only available with answering machine detection enabled.</p>
3992 /// <p>Unit: Percent</p>
3993 /// <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code></p>
3994 /// <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile</p>
3995 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#delivery-attempt-disposition-rate">Delivery attempt disposition rate</a></p><note>
3996 /// <p>Campaign Delivery Event Type filter and grouping are only available for SMS and Email campaign delivery modes. Agent, Queue, Routing Profile, Answering Machine Detection Status and Disconnect Reason are only available for agent assisted voice and automated voice delivery modes.</p>
3997 /// </note>
3998 /// </dd>
3999 /// <dt>
4000 /// EVALUATIONS_PERFORMED
4001 /// </dt>
4002 /// <dd>
4003 /// <p>Unit: Count</p>
4004 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
4005 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#evaluations-performed">Evaluations performed</a></p>
4006 /// </dd>
4007 /// <dt>
4008 /// FLOWS_OUTCOME
4009 /// </dt>
4010 /// <dd>
4011 /// <p>Unit: Count</p>
4012 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
4013 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-outcome">Flows outcome</a></p>
4014 /// </dd>
4015 /// <dt>
4016 /// FLOWS_STARTED
4017 /// </dt>
4018 /// <dd>
4019 /// <p>Unit: Count</p>
4020 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp</p>
4021 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-started">Flows started</a></p>
4022 /// </dd>
4023 /// <dt>
4024 /// HUMAN_ANSWERED_CALLS
4025 /// </dt>
4026 /// <dd>
4027 /// <p>This metric is available only for outbound campaigns. Dispositions for the agent assisted voice and automated voice delivery modes are only available with answering machine detection enabled.</p>
4028 /// <p>Unit: Count</p>
4029 /// <p>Valid groupings and filters: Agent, Campaign</p>
4030 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#human-answered">Human answered</a></p>
4031 /// </dd>
4032 /// <dt>
4033 /// MAX_FLOW_TIME
4034 /// </dt>
4035 /// <dd>
4036 /// <p>Unit: Seconds</p>
4037 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
4038 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#maximum-flow-time">Maximum flow time</a></p>
4039 /// </dd>
4040 /// <dt>
4041 /// MAX_QUEUED_TIME
4042 /// </dt>
4043 /// <dd>
4044 /// <p>Unit: Seconds</p>
4045 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
4046 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#maximum-queued-time">Maximum queued time</a></p>
4047 /// </dd>
4048 /// <dt>
4049 /// MIN_FLOW_TIME
4050 /// </dt>
4051 /// <dd>
4052 /// <p>Unit: Seconds</p>
4053 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
4054 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#minimum-flow-time">Minimum flow time</a></p>
4055 /// </dd>
4056 /// <dt>
4057 /// PERCENT_AUTOMATIC_FAILS
4058 /// </dt>
4059 /// <dd>
4060 /// <p>Unit: Percent</p>
4061 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
4062 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#automatic-fails-percent">Automatic fails percent</a></p>
4063 /// </dd>
4064 /// <dt>
4065 /// PERCENT_BOT_CONVERSATIONS_OUTCOME
4066 /// </dt>
4067 /// <dd>
4068 /// <p>Unit: Percent</p>
4069 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
4070 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#percent-bot-conversations-outcome">Percent bot conversations outcome</a></p>
4071 /// </dd>
4072 /// <dt>
4073 /// PERCENT_BOT_INTENTS_OUTCOME
4074 /// </dt>
4075 /// <dd>
4076 /// <p>Unit: Percent</p>
4077 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Bot intent name, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID</p>
4078 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#percent-bot-intents-outcome">Percent bot intents outcome</a></p>
4079 /// </dd>
4080 /// <dt>
4081 /// PERCENT_CASES_FIRST_CONTACT_RESOLVED
4082 /// </dt>
4083 /// <dd>
4084 /// <p>Unit: Percent</p>
4085 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
4086 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
4087 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-resolved-on-first-contact">Cases resolved on first contact</a></p>
4088 /// </dd>
4089 /// <dt>
4090 /// PERCENT_CONTACTS_STEP_EXPIRED
4091 /// </dt>
4092 /// <dd>
4093 /// <p>Unit: Percent</p>
4094 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
4095 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
4096 /// </dd>
4097 /// <dt>
4098 /// PERCENT_CONTACTS_STEP_JOINED
4099 /// </dt>
4100 /// <dd>
4101 /// <p>Unit: Percent</p>
4102 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
4103 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
4104 /// </dd>
4105 /// <dt>
4106 /// PERCENT_FLOWS_OUTCOME
4107 /// </dt>
4108 /// <dd>
4109 /// <p>Unit: Percent</p>
4110 /// <p>Valid metric filter key: <code>FLOWS_OUTCOME_TYPE</code></p>
4111 /// <p>Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp</p>
4112 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-outcome-percentage">Flows outcome percentage</a>.</p><note>
4113 /// <p>The <code>FLOWS_OUTCOME_TYPE</code> is not a valid grouping.</p>
4114 /// </note>
4115 /// </dd>
4116 /// <dt>
4117 /// PERCENT_NON_TALK_TIME
4118 /// </dt>
4119 /// <dd>
4120 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
4121 /// <p>Unit: Percentage</p>
4122 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
4123 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#non-talk-time-percent">Non-talk time percent</a></p>
4124 /// </dd>
4125 /// <dt>
4126 /// PERCENT_TALK_TIME
4127 /// </dt>
4128 /// <dd>
4129 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
4130 /// <p>Unit: Percentage</p>
4131 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
4132 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#talk-time-percent">Talk time percent</a></p>
4133 /// </dd>
4134 /// <dt>
4135 /// PERCENT_TALK_TIME_AGENT
4136 /// </dt>
4137 /// <dd>
4138 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
4139 /// <p>Unit: Percentage</p>
4140 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
4141 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-talk-time-percent">Agent talk time percent</a></p>
4142 /// </dd>
4143 /// <dt>
4144 /// PERCENT_TALK_TIME_CUSTOMER
4145 /// </dt>
4146 /// <dd>
4147 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
4148 /// <p>Unit: Percentage</p>
4149 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
4150 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#customer-talk-time-percent">Customer talk time percent</a></p>
4151 /// </dd>
4152 /// <dt>
4153 /// RECIPIENTS_ATTEMPTED
4154 /// </dt>
4155 /// <dd>
4156 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
4157 /// <p>Unit: Count</p>
4158 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
4159 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-attempted">Recipients attempted</a></p>
4160 /// </dd>
4161 /// <dt>
4162 /// RECIPIENTS_INTERACTED
4163 /// </dt>
4164 /// <dd>
4165 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
4166 /// <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
4167 /// <p>Unit: Count</p>
4168 /// <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype, Campaign Execution Timestamp</p>
4169 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-interacted">Recipients interacted</a></p>
4170 /// </dd>
4171 /// <dt>
4172 /// RECIPIENTS_TARGETED
4173 /// </dt>
4174 /// <dd>
4175 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
4176 /// <p>Unit: Count</p>
4177 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
4178 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-targeted">Recipients targeted</a></p>
4179 /// </dd>
4180 /// <dt>
4181 /// REOPENED_CASE_ACTIONS
4182 /// </dt>
4183 /// <dd>
4184 /// <p>Unit: Count</p>
4185 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
4186 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
4187 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-reopened">Cases reopened</a></p>
4188 /// </dd>
4189 /// <dt>
4190 /// RESOLVED_CASE_ACTIONS
4191 /// </dt>
4192 /// <dd>
4193 /// <p>Unit: Count</p>
4194 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
4195 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
4196 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-resolved">Cases resolved</a></p>
4197 /// </dd>
4198 /// <dt>
4199 /// SERVICE_LEVEL
4200 /// </dt>
4201 /// <dd>
4202 /// <p>You can include up to 20 SERVICE_LEVEL metrics in a request.</p>
4203 /// <p>Unit: Percent</p>
4204 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
4205 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
4206 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#service-level">Service level X</a></p>
4207 /// </dd>
4208 /// <dt>
4209 /// STEP_CONTACTS_QUEUED
4210 /// </dt>
4211 /// <dd>
4212 /// <p>Unit: Count</p>
4213 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
4214 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
4215 /// </dd>
4216 /// <dt>
4217 /// SUM_AFTER_CONTACT_WORK_TIME
4218 /// </dt>
4219 /// <dd>
4220 /// <p>Unit: Seconds</p>
4221 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
4222 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#after-contact-work-time">After contact work time</a></p>
4223 /// </dd>
4224 /// <dt>
4225 /// SUM_CONNECTING_TIME_AGENT
4226 /// </dt>
4227 /// <dd>
4228 /// <p>Unit: Seconds</p>
4229 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code>. This metric only supports the following filter keys as <code>INITIATION_METHOD</code>: <code>INBOUND</code> | <code>OUTBOUND</code> | <code>CALLBACK</code> | <code>API</code> | <code>CALLBACK_CUSTOMER_FIRST_DIALED</code></p>
4230 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
4231 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-api-connecting-time">Agent API connecting time</a></p><note>
4232 /// <p>The <code>Negate</code> key in metric-level filters is not applicable for this metric.</p>
4233 /// </note>
4234 /// </dd>
4235 /// <dt>
4236 /// CONTACTS_ABANDONED
4237 /// </dt>
4238 /// <dd>
4239 /// <p>Unit: Count</p>
4240 /// <p>Metric filter:</p>
4241 /// <ul>
4242 /// <li>
4243 /// <p>Valid values: <code>API</code>| <code>INCOMING</code> | <code>OUTBOUND</code> | <code>TRANSFER</code> | <code>CALLBACK</code> | <code>QUEUE_TRANSFER</code>| <code>Disconnect</code> | <code>CALLBACK_CUSTOMER_FIRST_DIALED</code></p></li>
4244 /// </ul>
4245 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
4246 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-abandoned">Contact abandoned</a></p>
4247 /// </dd>
4248 /// <dt>
4249 /// SUM_CONTACTS_ABANDONED_IN_X
4250 /// </dt>
4251 /// <dd>
4252 /// <p>Unit: Count</p>
4253 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
4254 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
4255 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-abandoned-in-x-seconds">Contacts abandoned in X seconds</a></p>
4256 /// </dd>
4257 /// <dt>
4258 /// SUM_CONTACTS_ANSWERED_IN_X
4259 /// </dt>
4260 /// <dd>
4261 /// <p>Unit: Count</p>
4262 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
4263 /// <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800 (inclusive), in seconds. For <code>Comparison</code>, you can use <code>LT</code> (for "Less than") or <code>LTE</code> (for "Less than equal").</p>
4264 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-answered-in-x-seconds">Contacts answered in X seconds</a></p>
4265 /// </dd>
4266 /// <dt>
4267 /// SUM_CONTACT_FLOW_TIME
4268 /// </dt>
4269 /// <dd>
4270 /// <p>Unit: Seconds</p>
4271 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
4272 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-flow-time">Contact flow time</a></p>
4273 /// </dd>
4274 /// <dt>
4275 /// SUM_CONTACT_TIME_AGENT
4276 /// </dt>
4277 /// <dd>
4278 /// <p>Unit: Seconds</p>
4279 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
4280 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-on-contact-time">Agent on contact time</a></p>
4281 /// </dd>
4282 /// <dt>
4283 /// SUM_CONTACTS_DISCONNECTED
4284 /// </dt>
4285 /// <dd>
4286 /// <p>Valid metric filter key: <code>DISCONNECT_REASON</code></p>
4287 /// <p>Unit: Count</p>
4288 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
4289 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-disconnected">Contact disconnected</a></p>
4290 /// </dd>
4291 /// <dt>
4292 /// SUM_ERROR_STATUS_TIME_AGENT
4293 /// </dt>
4294 /// <dd>
4295 /// <p>Unit: Seconds</p>
4296 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
4297 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#error-status-time">Error status time</a></p>
4298 /// </dd>
4299 /// <dt>
4300 /// SUM_HANDLE_TIME
4301 /// </dt>
4302 /// <dd>
4303 /// <p>Unit: Seconds</p>
4304 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
4305 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-handle-time">Contact handle time</a></p>
4306 /// </dd>
4307 /// <dt>
4308 /// SUM_HOLD_TIME
4309 /// </dt>
4310 /// <dd>
4311 /// <p>Unit: Count</p>
4312 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
4313 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#customer-hold-time">Customer hold time</a></p>
4314 /// </dd>
4315 /// <dt>
4316 /// SUM_IDLE_TIME_AGENT
4317 /// </dt>
4318 /// <dd>
4319 /// <p>Unit: Seconds</p>
4320 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
4321 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-idle-time">Agent idle time</a></p>
4322 /// </dd>
4323 /// <dt>
4324 /// SUM_INTERACTION_AND_HOLD_TIME
4325 /// </dt>
4326 /// <dd>
4327 /// <p>Unit: Seconds</p>
4328 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
4329 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-interaction-and-hold-time">Agent interaction and hold time</a></p>
4330 /// </dd>
4331 /// <dt>
4332 /// SUM_INTERACTION_TIME
4333 /// </dt>
4334 /// <dd>
4335 /// <p>Unit: Seconds</p>
4336 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
4337 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-interaction-time">Agent interaction time</a></p>
4338 /// </dd>
4339 /// <dt>
4340 /// SUM_NON_PRODUCTIVE_TIME_AGENT
4341 /// </dt>
4342 /// <dd>
4343 /// <p>Unit: Seconds</p>
4344 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
4345 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-non-productive-time">Agent non-productive time</a></p>
4346 /// </dd>
4347 /// <dt>
4348 /// SUM_ONLINE_TIME_AGENT
4349 /// </dt>
4350 /// <dd>
4351 /// <p>Unit: Seconds</p>
4352 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
4353 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#online-time">Online time</a></p>
4354 /// </dd>
4355 /// <dt>
4356 /// SUM_RETRY_CALLBACK_ATTEMPTS
4357 /// </dt>
4358 /// <dd>
4359 /// <p>Unit: Count</p>
4360 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
4361 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#callback-attempts">Callback attempts</a></p>
4362 /// </dd>
4363 /// </dl>
4364 pub fn get_metrics(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::MetricV2>> {
4365 self.inner.get_metrics()
4366 }
4367 /// <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
4368 pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
4369 self.inner = self.inner.next_token(input.into());
4370 self
4371 }
4372 /// <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
4373 pub fn set_next_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
4374 self.inner = self.inner.set_next_token(input);
4375 self
4376 }
4377 /// <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
4378 pub fn get_next_token(&self) -> &::std::option::Option<::std::string::String> {
4379 self.inner.get_next_token()
4380 }
4381 /// <p>The maximum number of results to return per page.</p>
4382 pub fn max_results(mut self, input: i32) -> Self {
4383 self.inner = self.inner.max_results(input);
4384 self
4385 }
4386 /// <p>The maximum number of results to return per page.</p>
4387 pub fn set_max_results(mut self, input: ::std::option::Option<i32>) -> Self {
4388 self.inner = self.inner.set_max_results(input);
4389 self
4390 }
4391 /// <p>The maximum number of results to return per page.</p>
4392 pub fn get_max_results(&self) -> &::std::option::Option<i32> {
4393 self.inner.get_max_results()
4394 }
4395}