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_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>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>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>INITIATION_METHOD</code> | <code>INVOKING_RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>INVOKING_RESOURCE_TYPE</code> | <code>PARENT_FLOWS_RESOURCE_ID</code> | <code>RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> | <code>QUEUE</code> | <code>Q_CONNECT_ENABLED</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 Amazon Q in Connect enabled as part of the flow.</p></li>
306 /// <li>
307 /// <p>FALSE includes all contacts that did not have Amazon Q in Connect enabled as part of the flow</p></li>
308 /// </ul>
309 /// <p>This filter is available only for contact record-driven metrics.</p>
310 /// <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>
311 /// </ul>
312 pub fn filters(mut self, input: crate::types::FilterV2) -> Self {
313 self.inner = self.inner.filters(input);
314 self
315 }
316 /// <p>The filters to apply to returned metrics. You can filter on the following resources:</p>
317 /// <ul>
318 /// <li>
319 /// <p>Agents</p></li>
320 /// <li>
321 /// <p>Campaigns</p></li>
322 /// <li>
323 /// <p>Channels</p></li>
324 /// <li>
325 /// <p>Feature</p></li>
326 /// <li>
327 /// <p>Queues</p></li>
328 /// <li>
329 /// <p>Routing profiles</p></li>
330 /// <li>
331 /// <p>Routing step expression</p></li>
332 /// <li>
333 /// <p>User hierarchy groups</p></li>
334 /// </ul>
335 /// <p>At least one filter must be passed from queues, routing profiles, agents, or user hierarchy groups.</p>
336 /// <p>For metrics for outbound campaigns analytics, you can also use campaigns to satisfy at least one filter requirement.</p>
337 /// <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>
338 /// <p>Note the following limits:</p>
339 /// <ul>
340 /// <li>
341 /// <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_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>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>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>INITIATION_METHOD</code> | <code>INVOKING_RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>INVOKING_RESOURCE_TYPE</code> | <code>PARENT_FLOWS_RESOURCE_ID</code> | <code>RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> | <code>QUEUE</code> | <code>Q_CONNECT_ENABLED</code> |</p></li>
342 /// <li>
343 /// <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>
344 /// <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>
345 /// <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>
346 /// <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>
347 /// <p><code>Q_CONNECT_ENABLED</code>. TRUE and FALSE are the only valid filterValues for the <code>Q_CONNECT_ENABLED</code> filter key.</p>
348 /// <ul>
349 /// <li>
350 /// <p>TRUE includes all contacts that had Amazon Q in Connect enabled as part of the flow.</p></li>
351 /// <li>
352 /// <p>FALSE includes all contacts that did not have Amazon Q in Connect enabled as part of the flow</p></li>
353 /// </ul>
354 /// <p>This filter is available only for contact record-driven metrics.</p>
355 /// <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>
356 /// </ul>
357 pub fn set_filters(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::FilterV2>>) -> Self {
358 self.inner = self.inner.set_filters(input);
359 self
360 }
361 /// <p>The filters to apply to returned metrics. You can filter on the following resources:</p>
362 /// <ul>
363 /// <li>
364 /// <p>Agents</p></li>
365 /// <li>
366 /// <p>Campaigns</p></li>
367 /// <li>
368 /// <p>Channels</p></li>
369 /// <li>
370 /// <p>Feature</p></li>
371 /// <li>
372 /// <p>Queues</p></li>
373 /// <li>
374 /// <p>Routing profiles</p></li>
375 /// <li>
376 /// <p>Routing step expression</p></li>
377 /// <li>
378 /// <p>User hierarchy groups</p></li>
379 /// </ul>
380 /// <p>At least one filter must be passed from queues, routing profiles, agents, or user hierarchy groups.</p>
381 /// <p>For metrics for outbound campaigns analytics, you can also use campaigns to satisfy at least one filter requirement.</p>
382 /// <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>
383 /// <p>Note the following limits:</p>
384 /// <ul>
385 /// <li>
386 /// <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_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>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>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>INITIATION_METHOD</code> | <code>INVOKING_RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>INVOKING_RESOURCE_TYPE</code> | <code>PARENT_FLOWS_RESOURCE_ID</code> | <code>RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> | <code>QUEUE</code> | <code>Q_CONNECT_ENABLED</code> |</p></li>
387 /// <li>
388 /// <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>
389 /// <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>
390 /// <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>
391 /// <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>
392 /// <p><code>Q_CONNECT_ENABLED</code>. TRUE and FALSE are the only valid filterValues for the <code>Q_CONNECT_ENABLED</code> filter key.</p>
393 /// <ul>
394 /// <li>
395 /// <p>TRUE includes all contacts that had Amazon Q in Connect enabled as part of the flow.</p></li>
396 /// <li>
397 /// <p>FALSE includes all contacts that did not have Amazon Q in Connect enabled as part of the flow</p></li>
398 /// </ul>
399 /// <p>This filter is available only for contact record-driven metrics.</p>
400 /// <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>
401 /// </ul>
402 pub fn get_filters(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::FilterV2>> {
403 self.inner.get_filters()
404 }
405 ///
406 /// Appends an item to `Groupings`.
407 ///
408 /// To override the contents of this collection use [`set_groupings`](Self::set_groupings).
409 ///
410 /// <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>
411 /// <p>If no grouping is specified, a summary of all metrics is returned.</p>
412 /// <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>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></p>
413 /// <p>Type: Array of strings</p>
414 /// <p>Array Members: Maximum number of 4 items</p>
415 /// <p>Required: No</p>
416 pub fn groupings(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
417 self.inner = self.inner.groupings(input.into());
418 self
419 }
420 /// <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>
421 /// <p>If no grouping is specified, a summary of all metrics is returned.</p>
422 /// <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>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></p>
423 /// <p>Type: Array of strings</p>
424 /// <p>Array Members: Maximum number of 4 items</p>
425 /// <p>Required: No</p>
426 pub fn set_groupings(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
427 self.inner = self.inner.set_groupings(input);
428 self
429 }
430 /// <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>
431 /// <p>If no grouping is specified, a summary of all metrics is returned.</p>
432 /// <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>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></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 get_groupings(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
437 self.inner.get_groupings()
438 }
439 ///
440 /// Appends an item to `Metrics`.
441 ///
442 /// To override the contents of this collection use [`set_metrics`](Self::set_metrics).
443 ///
444 /// <p>The metrics to retrieve. Specify the name, 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>
445 /// <dl>
446 /// <dt>
447 /// ABANDONMENT_RATE
448 /// </dt>
449 /// <dd>
450 /// <p>Unit: Percent</p>
451 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
452 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#abandonment-rate">Abandonment rate</a></p>
453 /// </dd>
454 /// <dt>
455 /// AGENT_ADHERENT_TIME
456 /// </dt>
457 /// <dd>
458 /// <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>
459 /// <p>Unit: Seconds</p>
460 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
461 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#adherent-time">Adherent time</a></p>
462 /// </dd>
463 /// <dt>
464 /// AGENT_ANSWER_RATE
465 /// </dt>
466 /// <dd>
467 /// <p>Unit: Percent</p>
468 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
469 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-answer-rate">Agent answer rate</a></p>
470 /// </dd>
471 /// <dt>
472 /// AGENT_NON_ADHERENT_TIME
473 /// </dt>
474 /// <dd>
475 /// <p>Unit: Seconds</p>
476 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
477 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#non-adherent-time">Non-adherent time</a></p>
478 /// </dd>
479 /// <dt>
480 /// AGENT_NON_RESPONSE
481 /// </dt>
482 /// <dd>
483 /// <p>Unit: Count</p>
484 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
485 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-non-response">Agent non-response</a></p>
486 /// </dd>
487 /// <dt>
488 /// AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS
489 /// </dt>
490 /// <dd>
491 /// <p>Unit: Count</p>
492 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
493 /// <p>Data for this metric is available starting from October 1, 2023 0:00:00 GMT.</p>
494 /// <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>
495 /// </dd>
496 /// <dt>
497 /// AGENT_OCCUPANCY
498 /// </dt>
499 /// <dd>
500 /// <p>Unit: Percentage</p>
501 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
502 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#occupancy">Occupancy</a></p>
503 /// </dd>
504 /// <dt>
505 /// AGENT_SCHEDULE_ADHERENCE
506 /// </dt>
507 /// <dd>
508 /// <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>
509 /// <p>Unit: Percent</p>
510 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
511 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#adherence">Adherence</a></p>
512 /// </dd>
513 /// <dt>
514 /// AGENT_SCHEDULED_TIME
515 /// </dt>
516 /// <dd>
517 /// <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>
518 /// <p>Unit: Seconds</p>
519 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
520 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#scheduled-time">Scheduled time</a></p>
521 /// </dd>
522 /// <dt>
523 /// AVG_ABANDON_TIME
524 /// </dt>
525 /// <dd>
526 /// <p>Unit: Seconds</p>
527 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
528 /// <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>
529 /// </dd>
530 /// <dt>
531 /// AVG_ACTIVE_TIME
532 /// </dt>
533 /// <dd>
534 /// <p>Unit: Seconds</p>
535 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
536 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-active-time">Average active time</a></p>
537 /// </dd>
538 /// <dt>
539 /// AVG_AFTER_CONTACT_WORK_TIME
540 /// </dt>
541 /// <dd>
542 /// <p>Unit: Seconds</p>
543 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
544 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
545 /// <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>
546 /// <p>Feature is a valid filter but not a valid grouping.</p>
547 /// </note>
548 /// </dd>
549 /// <dt>
550 /// AVG_AGENT_CONNECTING_TIME
551 /// </dt>
552 /// <dd>
553 /// <p>Unit: Seconds</p>
554 /// <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>
555 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
556 /// <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>
557 /// <p>The <code>Negate</code> key in metric-level filters is not applicable for this metric.</p>
558 /// </note>
559 /// </dd>
560 /// <dt>
561 /// AVG_AGENT_PAUSE_TIME
562 /// </dt>
563 /// <dd>
564 /// <p>Unit: Seconds</p>
565 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
566 /// <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>
567 /// </dd>
568 /// <dt>
569 /// AVG_BOT_CONVERSATION_TIME
570 /// </dt>
571 /// <dd>
572 /// <p>Unit: Seconds</p>
573 /// <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>
574 /// <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>
575 /// </dd>
576 /// <dt>
577 /// AVG_BOT_CONVERSATION_TURNS
578 /// </dt>
579 /// <dd>
580 /// <p>Unit: Count</p>
581 /// <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>
582 /// <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>
583 /// </dd>
584 /// <dt>
585 /// AVG_CASE_RELATED_CONTACTS
586 /// </dt>
587 /// <dd>
588 /// <p>Unit: Count</p>
589 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
590 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
591 /// <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>
592 /// </dd>
593 /// <dt>
594 /// AVG_CASE_RESOLUTION_TIME
595 /// </dt>
596 /// <dd>
597 /// <p>Unit: Seconds</p>
598 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
599 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
600 /// <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>
601 /// </dd>
602 /// <dt>
603 /// AVG_CONTACT_DURATION
604 /// </dt>
605 /// <dd>
606 /// <p>Unit: Seconds</p>
607 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
608 /// <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>
609 /// <p>Feature is a valid filter but not a valid grouping.</p>
610 /// </note>
611 /// </dd>
612 /// <dt>
613 /// AVG_CONTACT_FIRST_RESPONSE_TIME_AGENT
614 /// </dt>
615 /// <dd>
616 /// <p>Unit: Seconds</p>
617 /// <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>
618 /// <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>
619 /// </dd>
620 /// <dt>
621 /// AVG_CONVERSATION_CLOSE_TIME
622 /// </dt>
623 /// <dd>
624 /// <p>Unit: Seconds</p>
625 /// <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>
626 /// <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>
627 /// </dd>
628 /// <dt>
629 /// AVG_CONVERSATION_DURATION
630 /// </dt>
631 /// <dd>
632 /// <p>Unit: Seconds</p>
633 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
634 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-conversation-duration">Average conversation duration</a></p>
635 /// </dd>
636 /// <dt>
637 /// AVG_DIALS_PER_MINUTE
638 /// </dt>
639 /// <dd>
640 /// <p>This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.</p>
641 /// <p>Unit: Count</p>
642 /// <p>Valid groupings and filters: Agent, Campaign, Queue, Routing Profile</p>
643 /// <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>
644 /// </dd>
645 /// <dt>
646 /// AVG_EVALUATION_SCORE
647 /// </dt>
648 /// <dd>
649 /// <p>Unit: Percent</p>
650 /// <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>
651 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-evaluation-score">Average evaluation score</a></p>
652 /// </dd>
653 /// <dt>
654 /// AVG_FIRST_RESPONSE_TIME_AGENT
655 /// </dt>
656 /// <dd>
657 /// <p>Unit: Seconds</p>
658 /// <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>
659 /// <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>
660 /// </dd>
661 /// <dt>
662 /// AVG_FLOW_TIME
663 /// </dt>
664 /// <dd>
665 /// <p>Unit: Seconds</p>
666 /// <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>
667 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-flow-time">Average flow time</a></p>
668 /// </dd>
669 /// <dt>
670 /// AVG_GREETING_TIME_AGENT
671 /// </dt>
672 /// <dd>
673 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
674 /// <p>Unit: Seconds</p>
675 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
676 /// <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>
677 /// </dd>
678 /// <dt>
679 /// AVG_HANDLE_TIME
680 /// </dt>
681 /// <dd>
682 /// <p>Unit: Seconds</p>
683 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression</p>
684 /// <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>
685 /// <p>Feature is a valid filter but not a valid grouping.</p>
686 /// </note>
687 /// </dd>
688 /// <dt>
689 /// AVG_HOLD_TIME
690 /// </dt>
691 /// <dd>
692 /// <p>Unit: Seconds</p>
693 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
694 /// <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>
695 /// <p>Feature is a valid filter but not a valid grouping.</p>
696 /// </note>
697 /// </dd>
698 /// <dt>
699 /// AVG_HOLD_TIME_ALL_CONTACTS
700 /// </dt>
701 /// <dd>
702 /// <p>Unit: Seconds</p>
703 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
704 /// <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>
705 /// </dd>
706 /// <dt>
707 /// AVG_HOLDS
708 /// </dt>
709 /// <dd>
710 /// <p>Unit: Count</p>
711 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
712 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-holds">Average holds</a></p><note>
713 /// <p>Feature is a valid filter but not a valid grouping.</p>
714 /// </note>
715 /// </dd>
716 /// <dt>
717 /// AVG_INTERACTION_AND_HOLD_TIME
718 /// </dt>
719 /// <dd>
720 /// <p>Unit: Seconds</p>
721 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
722 /// <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>
723 /// </dd>
724 /// <dt>
725 /// AVG_INTERACTION_TIME
726 /// </dt>
727 /// <dd>
728 /// <p>Unit: Seconds</p>
729 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
730 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
731 /// <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>
732 /// <p>Feature is a valid filter but not a valid grouping.</p>
733 /// </note>
734 /// </dd>
735 /// <dt>
736 /// AVG_INTERRUPTIONS_AGENT
737 /// </dt>
738 /// <dd>
739 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
740 /// <p>Unit: Count</p>
741 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
742 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interruptions">Average agent interruptions</a></p>
743 /// </dd>
744 /// <dt>
745 /// AVG_INTERRUPTION_TIME_AGENT
746 /// </dt>
747 /// <dd>
748 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
749 /// <p>Unit: Seconds</p>
750 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
751 /// <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>
752 /// </dd>
753 /// <dt>
754 /// AVG_MESSAGE_LENGTH_AGENT
755 /// </dt>
756 /// <dd>
757 /// <p>Unit: Count</p>
758 /// <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>
759 /// <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>
760 /// </dd>
761 /// <dt>
762 /// AVG_MESSAGE_LENGTH_CUSTOMER
763 /// </dt>
764 /// <dd>
765 /// <p>Unit: Count</p>
766 /// <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>
767 /// <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>
768 /// </dd>
769 /// <dt>
770 /// AVG_MESSAGES
771 /// </dt>
772 /// <dd>
773 /// <p>Unit: Count</p>
774 /// <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>
775 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-messages">Average messages</a></p>
776 /// </dd>
777 /// <dt>
778 /// AVG_MESSAGES_AGENT
779 /// </dt>
780 /// <dd>
781 /// <p>Unit: Count</p>
782 /// <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>
783 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-messages">Average agent messages</a></p>
784 /// </dd>
785 /// <dt>
786 /// AVG_MESSAGES_BOT
787 /// </dt>
788 /// <dd>
789 /// <p>Unit: Count</p>
790 /// <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>
791 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-bot-messages">Average bot messages</a></p>
792 /// </dd>
793 /// <dt>
794 /// AVG_MESSAGES_CUSTOMER
795 /// </dt>
796 /// <dd>
797 /// <p>Unit: Count</p>
798 /// <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>
799 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-messages">Average customer messages</a></p>
800 /// </dd>
801 /// <dt>
802 /// AVG_NON_TALK_TIME
803 /// </dt>
804 /// <dd>
805 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
806 /// <p>Unit: Seconds</p>
807 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
808 /// <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>
809 /// </dd>
810 /// <dt>
811 /// AVG_QUEUE_ANSWER_TIME
812 /// </dt>
813 /// <dd>
814 /// <p>Unit: Seconds</p>
815 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
816 /// <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><note>
817 /// <p>Feature is a valid filter but not a valid grouping.</p>
818 /// </note>
819 /// </dd>
820 /// <dt>
821 /// AVG_RESPONSE_TIME_AGENT
822 /// </dt>
823 /// <dd>
824 /// <p>Unit: Seconds</p>
825 /// <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>
826 /// <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>
827 /// </dd>
828 /// <dt>
829 /// AVG_RESPONSE_TIME_CUSTOMER
830 /// </dt>
831 /// <dd>
832 /// <p>Unit: Seconds</p>
833 /// <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>
834 /// <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>
835 /// </dd>
836 /// <dt>
837 /// AVG_RESOLUTION_TIME
838 /// </dt>
839 /// <dd>
840 /// <p>Unit: Seconds</p>
841 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
842 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-resolution-time">Average resolution time</a></p>
843 /// </dd>
844 /// <dt>
845 /// AVG_TALK_TIME
846 /// </dt>
847 /// <dd>
848 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
849 /// <p>Unit: Seconds</p>
850 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
851 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-talk-time">Average talk time</a></p>
852 /// </dd>
853 /// <dt>
854 /// AVG_TALK_TIME_AGENT
855 /// </dt>
856 /// <dd>
857 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
858 /// <p>Unit: Seconds</p>
859 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
860 /// <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>
861 /// </dd>
862 /// <dt>
863 /// AVG_TALK_TIME_CUSTOMER
864 /// </dt>
865 /// <dd>
866 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
867 /// <p>Unit: Seconds</p>
868 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
869 /// <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>
870 /// </dd>
871 /// <dt>
872 /// AVG_WAIT_TIME_AFTER_CUSTOMER_CONNECTION
873 /// </dt>
874 /// <dd>
875 /// <p>This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.</p>
876 /// <p>Unit: Seconds</p>
877 /// <p>Valid groupings and filters: Campaign</p>
878 /// <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>
879 /// </dd>
880 /// <dt>
881 /// AVG_WEIGHTED_EVALUATION_SCORE
882 /// </dt>
883 /// <dd>
884 /// <p>Unit: Percent</p>
885 /// <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>
886 /// <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>
887 /// </dd>
888 /// <dt>
889 /// BOT_CONVERSATIONS_COMPLETED
890 /// </dt>
891 /// <dd>
892 /// <p>Unit: Count</p>
893 /// <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>
894 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-conversations-completed">Bot conversations completed</a></p>
895 /// </dd>
896 /// <dt>
897 /// BOT_INTENTS_COMPLETED
898 /// </dt>
899 /// <dd>
900 /// <p>Unit: Count</p>
901 /// <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>
902 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-intents-completed">Bot intents completed</a></p>
903 /// </dd>
904 /// <dt>
905 /// CAMPAIGN_CONTACTS_ABANDONED_AFTER_X
906 /// </dt>
907 /// <dd>
908 /// <p>This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.</p>
909 /// <p>Unit: Count</p>
910 /// <p>Valid groupings and filters: Agent, Campaign</p>
911 /// <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>
912 /// <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>
913 /// </dd>
914 /// <dt>
915 /// CAMPAIGN_CONTACTS_ABANDONED_AFTER_X_RATE
916 /// </dt>
917 /// <dd>
918 /// <p>This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.</p>
919 /// <p>Unit: Percent</p>
920 /// <p>Valid groupings and filters: Agent, Campaign</p>
921 /// <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>
922 /// <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>
923 /// </dd>
924 /// <dt>
925 /// CAMPAIGN_INTERACTIONS
926 /// </dt>
927 /// <dd>
928 /// <p>This metric is available only for outbound campaigns using the email delivery mode.</p>
929 /// <p>Unit: Count</p>
930 /// <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
931 /// <p>Valid groupings and filters: Campaign</p>
932 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-interactions">Campaign interactions</a></p>
933 /// </dd>
934 /// <dt>
935 /// CAMPAIGN_PROGRESS_RATE
936 /// </dt>
937 /// <dd>
938 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
939 /// <p>Unit: Percent</p>
940 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
941 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-progress-rate">Campaign progress rate</a></p>
942 /// </dd>
943 /// <dt>
944 /// CAMPAIGN_SEND_ATTEMPTS
945 /// </dt>
946 /// <dd>
947 /// <p>This metric is available only for outbound campaigns.</p>
948 /// <p>Unit: Count</p>
949 /// <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype</p>
950 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-send-attempts">Campaign send attempts</a></p>
951 /// </dd>
952 /// <dt>
953 /// CAMPAIGN_SEND_EXCLUSIONS
954 /// </dt>
955 /// <dd>
956 /// <p>This metric is available only for outbound campaigns.</p>
957 /// <p>Valid metric filter key: CAMPAIGN_EXCLUDED_EVENT_TYPE</p>
958 /// <p>Unit: Count</p>
959 /// <p>Valid groupings and filters: Campaign, Campaign Excluded Event Type, Campaign Execution Timestamp</p>
960 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-send-exclusions">Campaign send exclusions</a></p>
961 /// </dd>
962 /// <dt>
963 /// CASES_CREATED
964 /// </dt>
965 /// <dd>
966 /// <p>Unit: Count</p>
967 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
968 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
969 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-created">Cases created</a></p>
970 /// </dd>
971 /// <dt>
972 /// CONTACTS_CREATED
973 /// </dt>
974 /// <dd>
975 /// <p>Unit: Count</p>
976 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
977 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
978 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-created">Contacts created</a></p><note>
979 /// <p>Feature is a valid filter but not a valid grouping.</p>
980 /// </note>
981 /// </dd>
982 /// <dt>
983 /// CONTACTS_HANDLED
984 /// </dt>
985 /// <dd>
986 /// <p>Unit: Count</p>
987 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code>, <code>DISCONNECT_REASON</code></p>
988 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
989 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#api-contacts-handled">API contacts handled</a></p><note>
990 /// <p>Feature is a valid filter but not a valid grouping.</p>
991 /// </note>
992 /// </dd>
993 /// <dt>
994 /// CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT
995 /// </dt>
996 /// <dd>
997 /// <p>Unit: Count</p>
998 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
999 /// <p>Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1000 /// <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>
1001 /// </dd>
1002 /// <dt>
1003 /// CONTACTS_HOLD_ABANDONS
1004 /// </dt>
1005 /// <dd>
1006 /// <p>Unit: Count</p>
1007 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1008 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-hold-disconnect">Contacts hold disconnect</a></p>
1009 /// </dd>
1010 /// <dt>
1011 /// CONTACTS_ON_HOLD_AGENT_DISCONNECT
1012 /// </dt>
1013 /// <dd>
1014 /// <p>Unit: Count</p>
1015 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1016 /// <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>
1017 /// </dd>
1018 /// <dt>
1019 /// CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT
1020 /// </dt>
1021 /// <dd>
1022 /// <p>Unit: Count</p>
1023 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1024 /// <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>
1025 /// </dd>
1026 /// <dt>
1027 /// CONTACTS_PUT_ON_HOLD
1028 /// </dt>
1029 /// <dd>
1030 /// <p>Unit: Count</p>
1031 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1032 /// <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>
1033 /// </dd>
1034 /// <dt>
1035 /// CONTACTS_TRANSFERRED_OUT_EXTERNAL
1036 /// </dt>
1037 /// <dd>
1038 /// <p>Unit: Count</p>
1039 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1040 /// <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>
1041 /// </dd>
1042 /// <dt>
1043 /// CONTACTS_TRANSFERRED_OUT_INTERNAL
1044 /// </dt>
1045 /// <dd>
1046 /// <p>Unit: Percent</p>
1047 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1048 /// <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>
1049 /// </dd>
1050 /// <dt>
1051 /// CONTACTS_QUEUED
1052 /// </dt>
1053 /// <dd>
1054 /// <p>Unit: Count</p>
1055 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1056 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-queued">Contacts queued</a></p>
1057 /// </dd>
1058 /// <dt>
1059 /// CONTACTS_QUEUED_BY_ENQUEUE
1060 /// </dt>
1061 /// <dd>
1062 /// <p>Unit: Count</p>
1063 /// <p>Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype</p>
1064 /// <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>
1065 /// </dd>
1066 /// <dt>
1067 /// CONTACTS_REMOVED_FROM_QUEUE_IN_X
1068 /// </dt>
1069 /// <dd>
1070 /// <p>Unit: Count</p>
1071 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
1072 /// <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>
1073 /// <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>
1074 /// </dd>
1075 /// <dt>
1076 /// CONTACTS_RESOLVED_IN_X
1077 /// </dt>
1078 /// <dd>
1079 /// <p>Unit: Count</p>
1080 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1081 /// <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>
1082 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-resolved">Contacts resolved in X</a></p>
1083 /// </dd>
1084 /// <dt>
1085 /// CONTACTS_TRANSFERRED_OUT
1086 /// </dt>
1087 /// <dd>
1088 /// <p>Unit: Count</p>
1089 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1090 /// <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>
1091 /// <p>Feature is a valid filter but not a valid grouping.</p>
1092 /// </note>
1093 /// </dd>
1094 /// <dt>
1095 /// CONTACTS_TRANSFERRED_OUT_BY_AGENT
1096 /// </dt>
1097 /// <dd>
1098 /// <p>Unit: Count</p>
1099 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1100 /// <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>
1101 /// </dd>
1102 /// <dt>
1103 /// CONTACTS_TRANSFERRED_OUT_FROM_QUEUE
1104 /// </dt>
1105 /// <dd>
1106 /// <p>Unit: Count</p>
1107 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1108 /// <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>
1109 /// </dd>
1110 /// <dt>
1111 /// CURRENT_CASES
1112 /// </dt>
1113 /// <dd>
1114 /// <p>Unit: Count</p>
1115 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1116 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1117 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#current-cases">Current cases</a></p>
1118 /// </dd>
1119 /// <dt>
1120 /// CONVERSATIONS_ABANDONED
1121 /// </dt>
1122 /// <dd>
1123 /// <p>Unit: Count</p>
1124 /// <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>
1125 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#conversations-abandoned">Conversations abandoned</a></p>
1126 /// </dd>
1127 /// <dt>
1128 /// DELIVERY_ATTEMPTS
1129 /// </dt>
1130 /// <dd>
1131 /// <p>This metric is available only for outbound campaigns.</p>
1132 /// <p>Unit: Count</p>
1133 /// <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code></p>
1134 /// <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>
1135 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#delivery-attempts">Delivery attempts</a></p><note>
1136 /// <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>
1137 /// </note>
1138 /// </dd>
1139 /// <dt>
1140 /// DELIVERY_ATTEMPT_DISPOSITION_RATE
1141 /// </dt>
1142 /// <dd>
1143 /// <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>
1144 /// <p>Unit: Percent</p>
1145 /// <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code></p>
1146 /// <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile</p>
1147 /// <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>
1148 /// <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>
1149 /// </note>
1150 /// </dd>
1151 /// <dt>
1152 /// EVALUATIONS_PERFORMED
1153 /// </dt>
1154 /// <dd>
1155 /// <p>Unit: Count</p>
1156 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
1157 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#evaluations-performed">Evaluations performed</a></p>
1158 /// </dd>
1159 /// <dt>
1160 /// FLOWS_OUTCOME
1161 /// </dt>
1162 /// <dd>
1163 /// <p>Unit: Count</p>
1164 /// <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>
1165 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-outcome">Flows outcome</a></p>
1166 /// </dd>
1167 /// <dt>
1168 /// FLOWS_STARTED
1169 /// </dt>
1170 /// <dd>
1171 /// <p>Unit: Count</p>
1172 /// <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>
1173 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-started">Flows started</a></p>
1174 /// </dd>
1175 /// <dt>
1176 /// HUMAN_ANSWERED_CALLS
1177 /// </dt>
1178 /// <dd>
1179 /// <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>
1180 /// <p>Unit: Count</p>
1181 /// <p>Valid groupings and filters: Agent, Campaign</p>
1182 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#human-answered">Human answered</a></p>
1183 /// </dd>
1184 /// <dt>
1185 /// MAX_FLOW_TIME
1186 /// </dt>
1187 /// <dd>
1188 /// <p>Unit: Seconds</p>
1189 /// <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>
1190 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#maximum-flow-time">Maximum flow time</a></p>
1191 /// </dd>
1192 /// <dt>
1193 /// MAX_QUEUED_TIME
1194 /// </dt>
1195 /// <dd>
1196 /// <p>Unit: Seconds</p>
1197 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1198 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#maximum-queued-time">Maximum queued time</a></p>
1199 /// </dd>
1200 /// <dt>
1201 /// MIN_FLOW_TIME
1202 /// </dt>
1203 /// <dd>
1204 /// <p>Unit: Seconds</p>
1205 /// <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>
1206 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#minimum-flow-time">Minimum flow time</a></p>
1207 /// </dd>
1208 /// <dt>
1209 /// PERCENT_AUTOMATIC_FAILS
1210 /// </dt>
1211 /// <dd>
1212 /// <p>Unit: Percent</p>
1213 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
1214 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#automatic-fails-percent">Automatic fails percent</a></p>
1215 /// </dd>
1216 /// <dt>
1217 /// PERCENT_BOT_CONVERSATIONS_OUTCOME
1218 /// </dt>
1219 /// <dd>
1220 /// <p>Unit: Percent</p>
1221 /// <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>
1222 /// <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>
1223 /// </dd>
1224 /// <dt>
1225 /// PERCENT_BOT_INTENTS_OUTCOME
1226 /// </dt>
1227 /// <dd>
1228 /// <p>Unit: Percent</p>
1229 /// <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>
1230 /// <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>
1231 /// </dd>
1232 /// <dt>
1233 /// PERCENT_CASES_FIRST_CONTACT_RESOLVED
1234 /// </dt>
1235 /// <dd>
1236 /// <p>Unit: Percent</p>
1237 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1238 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1239 /// <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>
1240 /// </dd>
1241 /// <dt>
1242 /// PERCENT_CONTACTS_STEP_EXPIRED
1243 /// </dt>
1244 /// <dd>
1245 /// <p>Unit: Percent</p>
1246 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
1247 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
1248 /// </dd>
1249 /// <dt>
1250 /// PERCENT_CONTACTS_STEP_JOINED
1251 /// </dt>
1252 /// <dd>
1253 /// <p>Unit: Percent</p>
1254 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
1255 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
1256 /// </dd>
1257 /// <dt>
1258 /// PERCENT_FLOWS_OUTCOME
1259 /// </dt>
1260 /// <dd>
1261 /// <p>Unit: Percent</p>
1262 /// <p>Valid metric filter key: <code>FLOWS_OUTCOME_TYPE</code></p>
1263 /// <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>
1264 /// <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>
1265 /// <p>The <code>FLOWS_OUTCOME_TYPE</code> is not a valid grouping.</p>
1266 /// </note>
1267 /// </dd>
1268 /// <dt>
1269 /// PERCENT_NON_TALK_TIME
1270 /// </dt>
1271 /// <dd>
1272 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1273 /// <p>Unit: Percentage</p>
1274 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1275 /// <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>
1276 /// </dd>
1277 /// <dt>
1278 /// PERCENT_TALK_TIME
1279 /// </dt>
1280 /// <dd>
1281 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1282 /// <p>Unit: Percentage</p>
1283 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1284 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#talk-time-percent">Talk time percent</a></p>
1285 /// </dd>
1286 /// <dt>
1287 /// PERCENT_TALK_TIME_AGENT
1288 /// </dt>
1289 /// <dd>
1290 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1291 /// <p>Unit: Percentage</p>
1292 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1293 /// <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>
1294 /// </dd>
1295 /// <dt>
1296 /// PERCENT_TALK_TIME_CUSTOMER
1297 /// </dt>
1298 /// <dd>
1299 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1300 /// <p>Unit: Percentage</p>
1301 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1302 /// <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>
1303 /// </dd>
1304 /// <dt>
1305 /// RECIPIENTS_ATTEMPTED
1306 /// </dt>
1307 /// <dd>
1308 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
1309 /// <p>Unit: Count</p>
1310 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
1311 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-attempted">Recipients attempted</a></p>
1312 /// </dd>
1313 /// <dt>
1314 /// RECIPIENTS_INTERACTED
1315 /// </dt>
1316 /// <dd>
1317 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
1318 /// <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
1319 /// <p>Unit: Count</p>
1320 /// <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype, Campaign Execution Timestamp</p>
1321 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-interacted">Recipients interacted</a></p>
1322 /// </dd>
1323 /// <dt>
1324 /// RECIPIENTS_TARGETED
1325 /// </dt>
1326 /// <dd>
1327 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
1328 /// <p>Unit: Count</p>
1329 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
1330 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-targeted">Recipients targeted</a></p>
1331 /// </dd>
1332 /// <dt>
1333 /// REOPENED_CASE_ACTIONS
1334 /// </dt>
1335 /// <dd>
1336 /// <p>Unit: Count</p>
1337 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1338 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1339 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-reopened">Cases reopened</a></p>
1340 /// </dd>
1341 /// <dt>
1342 /// RESOLVED_CASE_ACTIONS
1343 /// </dt>
1344 /// <dd>
1345 /// <p>Unit: Count</p>
1346 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1347 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1348 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-resolved">Cases resolved</a></p>
1349 /// </dd>
1350 /// <dt>
1351 /// SERVICE_LEVEL
1352 /// </dt>
1353 /// <dd>
1354 /// <p>You can include up to 20 SERVICE_LEVEL metrics in a request.</p>
1355 /// <p>Unit: Percent</p>
1356 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
1357 /// <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>
1358 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#service-level">Service level X</a></p>
1359 /// </dd>
1360 /// <dt>
1361 /// STEP_CONTACTS_QUEUED
1362 /// </dt>
1363 /// <dd>
1364 /// <p>Unit: Count</p>
1365 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
1366 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
1367 /// </dd>
1368 /// <dt>
1369 /// SUM_AFTER_CONTACT_WORK_TIME
1370 /// </dt>
1371 /// <dd>
1372 /// <p>Unit: Seconds</p>
1373 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1374 /// <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>
1375 /// </dd>
1376 /// <dt>
1377 /// SUM_CONNECTING_TIME_AGENT
1378 /// </dt>
1379 /// <dd>
1380 /// <p>Unit: Seconds</p>
1381 /// <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></p>
1382 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1383 /// <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>
1384 /// <p>The <code>Negate</code> key in metric-level filters is not applicable for this metric.</p>
1385 /// </note>
1386 /// </dd>
1387 /// <dt>
1388 /// CONTACTS_ABANDONED
1389 /// </dt>
1390 /// <dd>
1391 /// <p>Unit: Count</p>
1392 /// <p>Metric filter:</p>
1393 /// <ul>
1394 /// <li>
1395 /// <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></p></li>
1396 /// </ul>
1397 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
1398 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-abandoned">Contact abandoned</a></p>
1399 /// </dd>
1400 /// <dt>
1401 /// SUM_CONTACTS_ABANDONED_IN_X
1402 /// </dt>
1403 /// <dd>
1404 /// <p>Unit: Count</p>
1405 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1406 /// <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>
1407 /// <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>
1408 /// </dd>
1409 /// <dt>
1410 /// SUM_CONTACTS_ANSWERED_IN_X
1411 /// </dt>
1412 /// <dd>
1413 /// <p>Unit: Count</p>
1414 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1415 /// <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>
1416 /// <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>
1417 /// </dd>
1418 /// <dt>
1419 /// SUM_CONTACT_FLOW_TIME
1420 /// </dt>
1421 /// <dd>
1422 /// <p>Unit: Seconds</p>
1423 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1424 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-flow-time">Contact flow time</a></p>
1425 /// </dd>
1426 /// <dt>
1427 /// SUM_CONTACT_TIME_AGENT
1428 /// </dt>
1429 /// <dd>
1430 /// <p>Unit: Seconds</p>
1431 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
1432 /// <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>
1433 /// </dd>
1434 /// <dt>
1435 /// SUM_CONTACTS_DISCONNECTED
1436 /// </dt>
1437 /// <dd>
1438 /// <p>Valid metric filter key: <code>DISCONNECT_REASON</code></p>
1439 /// <p>Unit: Count</p>
1440 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1441 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-disconnected">Contact disconnected</a></p>
1442 /// </dd>
1443 /// <dt>
1444 /// SUM_ERROR_STATUS_TIME_AGENT
1445 /// </dt>
1446 /// <dd>
1447 /// <p>Unit: Seconds</p>
1448 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
1449 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#error-status-time">Error status time</a></p>
1450 /// </dd>
1451 /// <dt>
1452 /// SUM_HANDLE_TIME
1453 /// </dt>
1454 /// <dd>
1455 /// <p>Unit: Seconds</p>
1456 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1457 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-handle-time">Contact handle time</a></p>
1458 /// </dd>
1459 /// <dt>
1460 /// SUM_HOLD_TIME
1461 /// </dt>
1462 /// <dd>
1463 /// <p>Unit: Count</p>
1464 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1465 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#customer-hold-time">Customer hold time</a></p>
1466 /// </dd>
1467 /// <dt>
1468 /// SUM_IDLE_TIME_AGENT
1469 /// </dt>
1470 /// <dd>
1471 /// <p>Unit: Seconds</p>
1472 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
1473 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-idle-time">Agent idle time</a></p>
1474 /// </dd>
1475 /// <dt>
1476 /// SUM_INTERACTION_AND_HOLD_TIME
1477 /// </dt>
1478 /// <dd>
1479 /// <p>Unit: Seconds</p>
1480 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1481 /// <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>
1482 /// </dd>
1483 /// <dt>
1484 /// SUM_INTERACTION_TIME
1485 /// </dt>
1486 /// <dd>
1487 /// <p>Unit: Seconds</p>
1488 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1489 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-interaction-time">Agent interaction time</a></p>
1490 /// </dd>
1491 /// <dt>
1492 /// SUM_NON_PRODUCTIVE_TIME_AGENT
1493 /// </dt>
1494 /// <dd>
1495 /// <p>Unit: Seconds</p>
1496 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
1497 /// <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>
1498 /// </dd>
1499 /// <dt>
1500 /// SUM_ONLINE_TIME_AGENT
1501 /// </dt>
1502 /// <dd>
1503 /// <p>Unit: Seconds</p>
1504 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
1505 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#online-time">Online time</a></p>
1506 /// </dd>
1507 /// <dt>
1508 /// SUM_RETRY_CALLBACK_ATTEMPTS
1509 /// </dt>
1510 /// <dd>
1511 /// <p>Unit: Count</p>
1512 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1513 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#callback-attempts">Callback attempts</a></p>
1514 /// </dd>
1515 /// </dl>
1516 pub fn metrics(mut self, input: crate::types::MetricV2) -> Self {
1517 self.inner = self.inner.metrics(input);
1518 self
1519 }
1520 /// <p>The metrics to retrieve. Specify the name, 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>
1521 /// <dl>
1522 /// <dt>
1523 /// ABANDONMENT_RATE
1524 /// </dt>
1525 /// <dd>
1526 /// <p>Unit: Percent</p>
1527 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1528 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#abandonment-rate">Abandonment rate</a></p>
1529 /// </dd>
1530 /// <dt>
1531 /// AGENT_ADHERENT_TIME
1532 /// </dt>
1533 /// <dd>
1534 /// <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>
1535 /// <p>Unit: Seconds</p>
1536 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1537 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#adherent-time">Adherent time</a></p>
1538 /// </dd>
1539 /// <dt>
1540 /// AGENT_ANSWER_RATE
1541 /// </dt>
1542 /// <dd>
1543 /// <p>Unit: Percent</p>
1544 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1545 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-answer-rate">Agent answer rate</a></p>
1546 /// </dd>
1547 /// <dt>
1548 /// AGENT_NON_ADHERENT_TIME
1549 /// </dt>
1550 /// <dd>
1551 /// <p>Unit: Seconds</p>
1552 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1553 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#non-adherent-time">Non-adherent time</a></p>
1554 /// </dd>
1555 /// <dt>
1556 /// AGENT_NON_RESPONSE
1557 /// </dt>
1558 /// <dd>
1559 /// <p>Unit: Count</p>
1560 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1561 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-non-response">Agent non-response</a></p>
1562 /// </dd>
1563 /// <dt>
1564 /// AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS
1565 /// </dt>
1566 /// <dd>
1567 /// <p>Unit: Count</p>
1568 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1569 /// <p>Data for this metric is available starting from October 1, 2023 0:00:00 GMT.</p>
1570 /// <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>
1571 /// </dd>
1572 /// <dt>
1573 /// AGENT_OCCUPANCY
1574 /// </dt>
1575 /// <dd>
1576 /// <p>Unit: Percentage</p>
1577 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
1578 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#occupancy">Occupancy</a></p>
1579 /// </dd>
1580 /// <dt>
1581 /// AGENT_SCHEDULE_ADHERENCE
1582 /// </dt>
1583 /// <dd>
1584 /// <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>
1585 /// <p>Unit: Percent</p>
1586 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1587 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#adherence">Adherence</a></p>
1588 /// </dd>
1589 /// <dt>
1590 /// AGENT_SCHEDULED_TIME
1591 /// </dt>
1592 /// <dd>
1593 /// <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>
1594 /// <p>Unit: Seconds</p>
1595 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1596 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#scheduled-time">Scheduled time</a></p>
1597 /// </dd>
1598 /// <dt>
1599 /// AVG_ABANDON_TIME
1600 /// </dt>
1601 /// <dd>
1602 /// <p>Unit: Seconds</p>
1603 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1604 /// <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>
1605 /// </dd>
1606 /// <dt>
1607 /// AVG_ACTIVE_TIME
1608 /// </dt>
1609 /// <dd>
1610 /// <p>Unit: Seconds</p>
1611 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1612 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-active-time">Average active time</a></p>
1613 /// </dd>
1614 /// <dt>
1615 /// AVG_AFTER_CONTACT_WORK_TIME
1616 /// </dt>
1617 /// <dd>
1618 /// <p>Unit: Seconds</p>
1619 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
1620 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1621 /// <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>
1622 /// <p>Feature is a valid filter but not a valid grouping.</p>
1623 /// </note>
1624 /// </dd>
1625 /// <dt>
1626 /// AVG_AGENT_CONNECTING_TIME
1627 /// </dt>
1628 /// <dd>
1629 /// <p>Unit: Seconds</p>
1630 /// <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>
1631 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1632 /// <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>
1633 /// <p>The <code>Negate</code> key in metric-level filters is not applicable for this metric.</p>
1634 /// </note>
1635 /// </dd>
1636 /// <dt>
1637 /// AVG_AGENT_PAUSE_TIME
1638 /// </dt>
1639 /// <dd>
1640 /// <p>Unit: Seconds</p>
1641 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
1642 /// <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>
1643 /// </dd>
1644 /// <dt>
1645 /// AVG_BOT_CONVERSATION_TIME
1646 /// </dt>
1647 /// <dd>
1648 /// <p>Unit: Seconds</p>
1649 /// <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>
1650 /// <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>
1651 /// </dd>
1652 /// <dt>
1653 /// AVG_BOT_CONVERSATION_TURNS
1654 /// </dt>
1655 /// <dd>
1656 /// <p>Unit: Count</p>
1657 /// <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>
1658 /// <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>
1659 /// </dd>
1660 /// <dt>
1661 /// AVG_CASE_RELATED_CONTACTS
1662 /// </dt>
1663 /// <dd>
1664 /// <p>Unit: Count</p>
1665 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1666 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1667 /// <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>
1668 /// </dd>
1669 /// <dt>
1670 /// AVG_CASE_RESOLUTION_TIME
1671 /// </dt>
1672 /// <dd>
1673 /// <p>Unit: Seconds</p>
1674 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
1675 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
1676 /// <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>
1677 /// </dd>
1678 /// <dt>
1679 /// AVG_CONTACT_DURATION
1680 /// </dt>
1681 /// <dd>
1682 /// <p>Unit: Seconds</p>
1683 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1684 /// <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>
1685 /// <p>Feature is a valid filter but not a valid grouping.</p>
1686 /// </note>
1687 /// </dd>
1688 /// <dt>
1689 /// AVG_CONTACT_FIRST_RESPONSE_TIME_AGENT
1690 /// </dt>
1691 /// <dd>
1692 /// <p>Unit: Seconds</p>
1693 /// <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>
1694 /// <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>
1695 /// </dd>
1696 /// <dt>
1697 /// AVG_CONVERSATION_CLOSE_TIME
1698 /// </dt>
1699 /// <dd>
1700 /// <p>Unit: Seconds</p>
1701 /// <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>
1702 /// <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>
1703 /// </dd>
1704 /// <dt>
1705 /// AVG_CONVERSATION_DURATION
1706 /// </dt>
1707 /// <dd>
1708 /// <p>Unit: Seconds</p>
1709 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1710 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-conversation-duration">Average conversation duration</a></p>
1711 /// </dd>
1712 /// <dt>
1713 /// AVG_DIALS_PER_MINUTE
1714 /// </dt>
1715 /// <dd>
1716 /// <p>This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.</p>
1717 /// <p>Unit: Count</p>
1718 /// <p>Valid groupings and filters: Agent, Campaign, Queue, Routing Profile</p>
1719 /// <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>
1720 /// </dd>
1721 /// <dt>
1722 /// AVG_EVALUATION_SCORE
1723 /// </dt>
1724 /// <dd>
1725 /// <p>Unit: Percent</p>
1726 /// <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>
1727 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-evaluation-score">Average evaluation score</a></p>
1728 /// </dd>
1729 /// <dt>
1730 /// AVG_FIRST_RESPONSE_TIME_AGENT
1731 /// </dt>
1732 /// <dd>
1733 /// <p>Unit: Seconds</p>
1734 /// <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>
1735 /// <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>
1736 /// </dd>
1737 /// <dt>
1738 /// AVG_FLOW_TIME
1739 /// </dt>
1740 /// <dd>
1741 /// <p>Unit: Seconds</p>
1742 /// <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>
1743 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-flow-time">Average flow time</a></p>
1744 /// </dd>
1745 /// <dt>
1746 /// AVG_GREETING_TIME_AGENT
1747 /// </dt>
1748 /// <dd>
1749 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1750 /// <p>Unit: Seconds</p>
1751 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1752 /// <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>
1753 /// </dd>
1754 /// <dt>
1755 /// AVG_HANDLE_TIME
1756 /// </dt>
1757 /// <dd>
1758 /// <p>Unit: Seconds</p>
1759 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression</p>
1760 /// <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>
1761 /// <p>Feature is a valid filter but not a valid grouping.</p>
1762 /// </note>
1763 /// </dd>
1764 /// <dt>
1765 /// AVG_HOLD_TIME
1766 /// </dt>
1767 /// <dd>
1768 /// <p>Unit: Seconds</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#average-customer-hold-time">Average customer hold time</a></p><note>
1771 /// <p>Feature is a valid filter but not a valid grouping.</p>
1772 /// </note>
1773 /// </dd>
1774 /// <dt>
1775 /// AVG_HOLD_TIME_ALL_CONTACTS
1776 /// </dt>
1777 /// <dd>
1778 /// <p>Unit: Seconds</p>
1779 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1780 /// <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>
1781 /// </dd>
1782 /// <dt>
1783 /// AVG_HOLDS
1784 /// </dt>
1785 /// <dd>
1786 /// <p>Unit: Count</p>
1787 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1788 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-holds">Average holds</a></p><note>
1789 /// <p>Feature is a valid filter but not a valid grouping.</p>
1790 /// </note>
1791 /// </dd>
1792 /// <dt>
1793 /// AVG_INTERACTION_AND_HOLD_TIME
1794 /// </dt>
1795 /// <dd>
1796 /// <p>Unit: Seconds</p>
1797 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1798 /// <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>
1799 /// </dd>
1800 /// <dt>
1801 /// AVG_INTERACTION_TIME
1802 /// </dt>
1803 /// <dd>
1804 /// <p>Unit: Seconds</p>
1805 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
1806 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1807 /// <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>
1808 /// <p>Feature is a valid filter but not a valid grouping.</p>
1809 /// </note>
1810 /// </dd>
1811 /// <dt>
1812 /// AVG_INTERRUPTIONS_AGENT
1813 /// </dt>
1814 /// <dd>
1815 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1816 /// <p>Unit: Count</p>
1817 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1818 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interruptions">Average agent interruptions</a></p>
1819 /// </dd>
1820 /// <dt>
1821 /// AVG_INTERRUPTION_TIME_AGENT
1822 /// </dt>
1823 /// <dd>
1824 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1825 /// <p>Unit: Seconds</p>
1826 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1827 /// <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>
1828 /// </dd>
1829 /// <dt>
1830 /// AVG_MESSAGE_LENGTH_AGENT
1831 /// </dt>
1832 /// <dd>
1833 /// <p>Unit: Count</p>
1834 /// <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>
1835 /// <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>
1836 /// </dd>
1837 /// <dt>
1838 /// AVG_MESSAGE_LENGTH_CUSTOMER
1839 /// </dt>
1840 /// <dd>
1841 /// <p>Unit: Count</p>
1842 /// <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>
1843 /// <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>
1844 /// </dd>
1845 /// <dt>
1846 /// AVG_MESSAGES
1847 /// </dt>
1848 /// <dd>
1849 /// <p>Unit: Count</p>
1850 /// <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>
1851 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-messages">Average messages</a></p>
1852 /// </dd>
1853 /// <dt>
1854 /// AVG_MESSAGES_AGENT
1855 /// </dt>
1856 /// <dd>
1857 /// <p>Unit: Count</p>
1858 /// <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>
1859 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-messages">Average agent messages</a></p>
1860 /// </dd>
1861 /// <dt>
1862 /// AVG_MESSAGES_BOT
1863 /// </dt>
1864 /// <dd>
1865 /// <p>Unit: Count</p>
1866 /// <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>
1867 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-bot-messages">Average bot messages</a></p>
1868 /// </dd>
1869 /// <dt>
1870 /// AVG_MESSAGES_CUSTOMER
1871 /// </dt>
1872 /// <dd>
1873 /// <p>Unit: Count</p>
1874 /// <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>
1875 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-messages">Average customer messages</a></p>
1876 /// </dd>
1877 /// <dt>
1878 /// AVG_NON_TALK_TIME
1879 /// </dt>
1880 /// <dd>
1881 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1882 /// <p>Unit: Seconds</p>
1883 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1884 /// <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>
1885 /// </dd>
1886 /// <dt>
1887 /// AVG_QUEUE_ANSWER_TIME
1888 /// </dt>
1889 /// <dd>
1890 /// <p>Unit: Seconds</p>
1891 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1892 /// <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><note>
1893 /// <p>Feature is a valid filter but not a valid grouping.</p>
1894 /// </note>
1895 /// </dd>
1896 /// <dt>
1897 /// AVG_RESPONSE_TIME_AGENT
1898 /// </dt>
1899 /// <dd>
1900 /// <p>Unit: Seconds</p>
1901 /// <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>
1902 /// <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>
1903 /// </dd>
1904 /// <dt>
1905 /// AVG_RESPONSE_TIME_CUSTOMER
1906 /// </dt>
1907 /// <dd>
1908 /// <p>Unit: Seconds</p>
1909 /// <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>
1910 /// <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>
1911 /// </dd>
1912 /// <dt>
1913 /// AVG_RESOLUTION_TIME
1914 /// </dt>
1915 /// <dd>
1916 /// <p>Unit: Seconds</p>
1917 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1918 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-resolution-time">Average resolution time</a></p>
1919 /// </dd>
1920 /// <dt>
1921 /// AVG_TALK_TIME
1922 /// </dt>
1923 /// <dd>
1924 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1925 /// <p>Unit: Seconds</p>
1926 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1927 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-talk-time">Average talk time</a></p>
1928 /// </dd>
1929 /// <dt>
1930 /// AVG_TALK_TIME_AGENT
1931 /// </dt>
1932 /// <dd>
1933 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1934 /// <p>Unit: Seconds</p>
1935 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1936 /// <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>
1937 /// </dd>
1938 /// <dt>
1939 /// AVG_TALK_TIME_CUSTOMER
1940 /// </dt>
1941 /// <dd>
1942 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1943 /// <p>Unit: Seconds</p>
1944 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
1945 /// <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>
1946 /// </dd>
1947 /// <dt>
1948 /// AVG_WAIT_TIME_AFTER_CUSTOMER_CONNECTION
1949 /// </dt>
1950 /// <dd>
1951 /// <p>This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.</p>
1952 /// <p>Unit: Seconds</p>
1953 /// <p>Valid groupings and filters: Campaign</p>
1954 /// <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>
1955 /// </dd>
1956 /// <dt>
1957 /// AVG_WEIGHTED_EVALUATION_SCORE
1958 /// </dt>
1959 /// <dd>
1960 /// <p>Unit: Percent</p>
1961 /// <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>
1962 /// <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>
1963 /// </dd>
1964 /// <dt>
1965 /// BOT_CONVERSATIONS_COMPLETED
1966 /// </dt>
1967 /// <dd>
1968 /// <p>Unit: Count</p>
1969 /// <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>
1970 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-conversations-completed">Bot conversations completed</a></p>
1971 /// </dd>
1972 /// <dt>
1973 /// BOT_INTENTS_COMPLETED
1974 /// </dt>
1975 /// <dd>
1976 /// <p>Unit: Count</p>
1977 /// <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>
1978 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-intents-completed">Bot intents completed</a></p>
1979 /// </dd>
1980 /// <dt>
1981 /// CAMPAIGN_CONTACTS_ABANDONED_AFTER_X
1982 /// </dt>
1983 /// <dd>
1984 /// <p>This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.</p>
1985 /// <p>Unit: Count</p>
1986 /// <p>Valid groupings and filters: Agent, Campaign</p>
1987 /// <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>
1988 /// <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>
1989 /// </dd>
1990 /// <dt>
1991 /// CAMPAIGN_CONTACTS_ABANDONED_AFTER_X_RATE
1992 /// </dt>
1993 /// <dd>
1994 /// <p>This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.</p>
1995 /// <p>Unit: Percent</p>
1996 /// <p>Valid groupings and filters: Agent, Campaign</p>
1997 /// <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>
1998 /// <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>
1999 /// </dd>
2000 /// <dt>
2001 /// CAMPAIGN_INTERACTIONS
2002 /// </dt>
2003 /// <dd>
2004 /// <p>This metric is available only for outbound campaigns using the email delivery mode.</p>
2005 /// <p>Unit: Count</p>
2006 /// <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
2007 /// <p>Valid groupings and filters: Campaign</p>
2008 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-interactions">Campaign interactions</a></p>
2009 /// </dd>
2010 /// <dt>
2011 /// CAMPAIGN_PROGRESS_RATE
2012 /// </dt>
2013 /// <dd>
2014 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
2015 /// <p>Unit: Percent</p>
2016 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
2017 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-progress-rate">Campaign progress rate</a></p>
2018 /// </dd>
2019 /// <dt>
2020 /// CAMPAIGN_SEND_ATTEMPTS
2021 /// </dt>
2022 /// <dd>
2023 /// <p>This metric is available only for outbound campaigns.</p>
2024 /// <p>Unit: Count</p>
2025 /// <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype</p>
2026 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-send-attempts">Campaign send attempts</a></p>
2027 /// </dd>
2028 /// <dt>
2029 /// CAMPAIGN_SEND_EXCLUSIONS
2030 /// </dt>
2031 /// <dd>
2032 /// <p>This metric is available only for outbound campaigns.</p>
2033 /// <p>Valid metric filter key: CAMPAIGN_EXCLUDED_EVENT_TYPE</p>
2034 /// <p>Unit: Count</p>
2035 /// <p>Valid groupings and filters: Campaign, Campaign Excluded Event Type, Campaign Execution Timestamp</p>
2036 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-send-exclusions">Campaign send exclusions</a></p>
2037 /// </dd>
2038 /// <dt>
2039 /// CASES_CREATED
2040 /// </dt>
2041 /// <dd>
2042 /// <p>Unit: Count</p>
2043 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
2044 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
2045 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-created">Cases created</a></p>
2046 /// </dd>
2047 /// <dt>
2048 /// CONTACTS_CREATED
2049 /// </dt>
2050 /// <dd>
2051 /// <p>Unit: Count</p>
2052 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
2053 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2054 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-created">Contacts created</a></p><note>
2055 /// <p>Feature is a valid filter but not a valid grouping.</p>
2056 /// </note>
2057 /// </dd>
2058 /// <dt>
2059 /// CONTACTS_HANDLED
2060 /// </dt>
2061 /// <dd>
2062 /// <p>Unit: Count</p>
2063 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code>, <code>DISCONNECT_REASON</code></p>
2064 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
2065 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#api-contacts-handled">API contacts handled</a></p><note>
2066 /// <p>Feature is a valid filter but not a valid grouping.</p>
2067 /// </note>
2068 /// </dd>
2069 /// <dt>
2070 /// CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT
2071 /// </dt>
2072 /// <dd>
2073 /// <p>Unit: Count</p>
2074 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
2075 /// <p>Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2076 /// <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>
2077 /// </dd>
2078 /// <dt>
2079 /// CONTACTS_HOLD_ABANDONS
2080 /// </dt>
2081 /// <dd>
2082 /// <p>Unit: Count</p>
2083 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2084 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-hold-disconnect">Contacts hold disconnect</a></p>
2085 /// </dd>
2086 /// <dt>
2087 /// CONTACTS_ON_HOLD_AGENT_DISCONNECT
2088 /// </dt>
2089 /// <dd>
2090 /// <p>Unit: Count</p>
2091 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2092 /// <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>
2093 /// </dd>
2094 /// <dt>
2095 /// CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT
2096 /// </dt>
2097 /// <dd>
2098 /// <p>Unit: Count</p>
2099 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2100 /// <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>
2101 /// </dd>
2102 /// <dt>
2103 /// CONTACTS_PUT_ON_HOLD
2104 /// </dt>
2105 /// <dd>
2106 /// <p>Unit: Count</p>
2107 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2108 /// <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>
2109 /// </dd>
2110 /// <dt>
2111 /// CONTACTS_TRANSFERRED_OUT_EXTERNAL
2112 /// </dt>
2113 /// <dd>
2114 /// <p>Unit: Count</p>
2115 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2116 /// <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>
2117 /// </dd>
2118 /// <dt>
2119 /// CONTACTS_TRANSFERRED_OUT_INTERNAL
2120 /// </dt>
2121 /// <dd>
2122 /// <p>Unit: Percent</p>
2123 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2124 /// <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>
2125 /// </dd>
2126 /// <dt>
2127 /// CONTACTS_QUEUED
2128 /// </dt>
2129 /// <dd>
2130 /// <p>Unit: Count</p>
2131 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2132 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-queued">Contacts queued</a></p>
2133 /// </dd>
2134 /// <dt>
2135 /// CONTACTS_QUEUED_BY_ENQUEUE
2136 /// </dt>
2137 /// <dd>
2138 /// <p>Unit: Count</p>
2139 /// <p>Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype</p>
2140 /// <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>
2141 /// </dd>
2142 /// <dt>
2143 /// CONTACTS_REMOVED_FROM_QUEUE_IN_X
2144 /// </dt>
2145 /// <dd>
2146 /// <p>Unit: Count</p>
2147 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
2148 /// <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>
2149 /// <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>
2150 /// </dd>
2151 /// <dt>
2152 /// CONTACTS_RESOLVED_IN_X
2153 /// </dt>
2154 /// <dd>
2155 /// <p>Unit: Count</p>
2156 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2157 /// <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>
2158 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-resolved">Contacts resolved in X</a></p>
2159 /// </dd>
2160 /// <dt>
2161 /// CONTACTS_TRANSFERRED_OUT
2162 /// </dt>
2163 /// <dd>
2164 /// <p>Unit: Count</p>
2165 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2166 /// <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>
2167 /// <p>Feature is a valid filter but not a valid grouping.</p>
2168 /// </note>
2169 /// </dd>
2170 /// <dt>
2171 /// CONTACTS_TRANSFERRED_OUT_BY_AGENT
2172 /// </dt>
2173 /// <dd>
2174 /// <p>Unit: Count</p>
2175 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2176 /// <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>
2177 /// </dd>
2178 /// <dt>
2179 /// CONTACTS_TRANSFERRED_OUT_FROM_QUEUE
2180 /// </dt>
2181 /// <dd>
2182 /// <p>Unit: Count</p>
2183 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2184 /// <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>
2185 /// </dd>
2186 /// <dt>
2187 /// CURRENT_CASES
2188 /// </dt>
2189 /// <dd>
2190 /// <p>Unit: Count</p>
2191 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
2192 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
2193 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#current-cases">Current cases</a></p>
2194 /// </dd>
2195 /// <dt>
2196 /// CONVERSATIONS_ABANDONED
2197 /// </dt>
2198 /// <dd>
2199 /// <p>Unit: Count</p>
2200 /// <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>
2201 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#conversations-abandoned">Conversations abandoned</a></p>
2202 /// </dd>
2203 /// <dt>
2204 /// DELIVERY_ATTEMPTS
2205 /// </dt>
2206 /// <dd>
2207 /// <p>This metric is available only for outbound campaigns.</p>
2208 /// <p>Unit: Count</p>
2209 /// <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code></p>
2210 /// <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>
2211 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#delivery-attempts">Delivery attempts</a></p><note>
2212 /// <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>
2213 /// </note>
2214 /// </dd>
2215 /// <dt>
2216 /// DELIVERY_ATTEMPT_DISPOSITION_RATE
2217 /// </dt>
2218 /// <dd>
2219 /// <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>
2220 /// <p>Unit: Percent</p>
2221 /// <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code></p>
2222 /// <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile</p>
2223 /// <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>
2224 /// <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>
2225 /// </note>
2226 /// </dd>
2227 /// <dt>
2228 /// EVALUATIONS_PERFORMED
2229 /// </dt>
2230 /// <dd>
2231 /// <p>Unit: Count</p>
2232 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
2233 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#evaluations-performed">Evaluations performed</a></p>
2234 /// </dd>
2235 /// <dt>
2236 /// FLOWS_OUTCOME
2237 /// </dt>
2238 /// <dd>
2239 /// <p>Unit: Count</p>
2240 /// <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>
2241 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-outcome">Flows outcome</a></p>
2242 /// </dd>
2243 /// <dt>
2244 /// FLOWS_STARTED
2245 /// </dt>
2246 /// <dd>
2247 /// <p>Unit: Count</p>
2248 /// <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>
2249 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-started">Flows started</a></p>
2250 /// </dd>
2251 /// <dt>
2252 /// HUMAN_ANSWERED_CALLS
2253 /// </dt>
2254 /// <dd>
2255 /// <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>
2256 /// <p>Unit: Count</p>
2257 /// <p>Valid groupings and filters: Agent, Campaign</p>
2258 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#human-answered">Human answered</a></p>
2259 /// </dd>
2260 /// <dt>
2261 /// MAX_FLOW_TIME
2262 /// </dt>
2263 /// <dd>
2264 /// <p>Unit: Seconds</p>
2265 /// <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>
2266 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#maximum-flow-time">Maximum flow time</a></p>
2267 /// </dd>
2268 /// <dt>
2269 /// MAX_QUEUED_TIME
2270 /// </dt>
2271 /// <dd>
2272 /// <p>Unit: Seconds</p>
2273 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2274 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#maximum-queued-time">Maximum queued time</a></p>
2275 /// </dd>
2276 /// <dt>
2277 /// MIN_FLOW_TIME
2278 /// </dt>
2279 /// <dd>
2280 /// <p>Unit: Seconds</p>
2281 /// <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>
2282 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#minimum-flow-time">Minimum flow time</a></p>
2283 /// </dd>
2284 /// <dt>
2285 /// PERCENT_AUTOMATIC_FAILS
2286 /// </dt>
2287 /// <dd>
2288 /// <p>Unit: Percent</p>
2289 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
2290 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#automatic-fails-percent">Automatic fails percent</a></p>
2291 /// </dd>
2292 /// <dt>
2293 /// PERCENT_BOT_CONVERSATIONS_OUTCOME
2294 /// </dt>
2295 /// <dd>
2296 /// <p>Unit: Percent</p>
2297 /// <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>
2298 /// <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>
2299 /// </dd>
2300 /// <dt>
2301 /// PERCENT_BOT_INTENTS_OUTCOME
2302 /// </dt>
2303 /// <dd>
2304 /// <p>Unit: Percent</p>
2305 /// <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>
2306 /// <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>
2307 /// </dd>
2308 /// <dt>
2309 /// PERCENT_CASES_FIRST_CONTACT_RESOLVED
2310 /// </dt>
2311 /// <dd>
2312 /// <p>Unit: Percent</p>
2313 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
2314 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
2315 /// <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>
2316 /// </dd>
2317 /// <dt>
2318 /// PERCENT_CONTACTS_STEP_EXPIRED
2319 /// </dt>
2320 /// <dd>
2321 /// <p>Unit: Percent</p>
2322 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
2323 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
2324 /// </dd>
2325 /// <dt>
2326 /// PERCENT_CONTACTS_STEP_JOINED
2327 /// </dt>
2328 /// <dd>
2329 /// <p>Unit: Percent</p>
2330 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
2331 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
2332 /// </dd>
2333 /// <dt>
2334 /// PERCENT_FLOWS_OUTCOME
2335 /// </dt>
2336 /// <dd>
2337 /// <p>Unit: Percent</p>
2338 /// <p>Valid metric filter key: <code>FLOWS_OUTCOME_TYPE</code></p>
2339 /// <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>
2340 /// <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>
2341 /// <p>The <code>FLOWS_OUTCOME_TYPE</code> is not a valid grouping.</p>
2342 /// </note>
2343 /// </dd>
2344 /// <dt>
2345 /// PERCENT_NON_TALK_TIME
2346 /// </dt>
2347 /// <dd>
2348 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2349 /// <p>Unit: Percentage</p>
2350 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2351 /// <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>
2352 /// </dd>
2353 /// <dt>
2354 /// PERCENT_TALK_TIME
2355 /// </dt>
2356 /// <dd>
2357 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2358 /// <p>Unit: Percentage</p>
2359 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2360 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#talk-time-percent">Talk time percent</a></p>
2361 /// </dd>
2362 /// <dt>
2363 /// PERCENT_TALK_TIME_AGENT
2364 /// </dt>
2365 /// <dd>
2366 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2367 /// <p>Unit: Percentage</p>
2368 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2369 /// <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>
2370 /// </dd>
2371 /// <dt>
2372 /// PERCENT_TALK_TIME_CUSTOMER
2373 /// </dt>
2374 /// <dd>
2375 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2376 /// <p>Unit: Percentage</p>
2377 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, 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#customer-talk-time-percent">Customer talk time percent</a></p>
2379 /// </dd>
2380 /// <dt>
2381 /// RECIPIENTS_ATTEMPTED
2382 /// </dt>
2383 /// <dd>
2384 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
2385 /// <p>Unit: Count</p>
2386 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
2387 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-attempted">Recipients attempted</a></p>
2388 /// </dd>
2389 /// <dt>
2390 /// RECIPIENTS_INTERACTED
2391 /// </dt>
2392 /// <dd>
2393 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
2394 /// <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
2395 /// <p>Unit: Count</p>
2396 /// <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype, Campaign Execution Timestamp</p>
2397 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-interacted">Recipients interacted</a></p>
2398 /// </dd>
2399 /// <dt>
2400 /// RECIPIENTS_TARGETED
2401 /// </dt>
2402 /// <dd>
2403 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
2404 /// <p>Unit: Count</p>
2405 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
2406 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-targeted">Recipients targeted</a></p>
2407 /// </dd>
2408 /// <dt>
2409 /// REOPENED_CASE_ACTIONS
2410 /// </dt>
2411 /// <dd>
2412 /// <p>Unit: Count</p>
2413 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
2414 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
2415 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-reopened">Cases reopened</a></p>
2416 /// </dd>
2417 /// <dt>
2418 /// RESOLVED_CASE_ACTIONS
2419 /// </dt>
2420 /// <dd>
2421 /// <p>Unit: Count</p>
2422 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
2423 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
2424 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-resolved">Cases resolved</a></p>
2425 /// </dd>
2426 /// <dt>
2427 /// SERVICE_LEVEL
2428 /// </dt>
2429 /// <dd>
2430 /// <p>You can include up to 20 SERVICE_LEVEL metrics in a request.</p>
2431 /// <p>Unit: Percent</p>
2432 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
2433 /// <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>
2434 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#service-level">Service level X</a></p>
2435 /// </dd>
2436 /// <dt>
2437 /// STEP_CONTACTS_QUEUED
2438 /// </dt>
2439 /// <dd>
2440 /// <p>Unit: Count</p>
2441 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
2442 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
2443 /// </dd>
2444 /// <dt>
2445 /// SUM_AFTER_CONTACT_WORK_TIME
2446 /// </dt>
2447 /// <dd>
2448 /// <p>Unit: Seconds</p>
2449 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2450 /// <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>
2451 /// </dd>
2452 /// <dt>
2453 /// SUM_CONNECTING_TIME_AGENT
2454 /// </dt>
2455 /// <dd>
2456 /// <p>Unit: Seconds</p>
2457 /// <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></p>
2458 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
2459 /// <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>
2460 /// <p>The <code>Negate</code> key in metric-level filters is not applicable for this metric.</p>
2461 /// </note>
2462 /// </dd>
2463 /// <dt>
2464 /// CONTACTS_ABANDONED
2465 /// </dt>
2466 /// <dd>
2467 /// <p>Unit: Count</p>
2468 /// <p>Metric filter:</p>
2469 /// <ul>
2470 /// <li>
2471 /// <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></p></li>
2472 /// </ul>
2473 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
2474 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-abandoned">Contact abandoned</a></p>
2475 /// </dd>
2476 /// <dt>
2477 /// SUM_CONTACTS_ABANDONED_IN_X
2478 /// </dt>
2479 /// <dd>
2480 /// <p>Unit: Count</p>
2481 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2482 /// <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>
2483 /// <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>
2484 /// </dd>
2485 /// <dt>
2486 /// SUM_CONTACTS_ANSWERED_IN_X
2487 /// </dt>
2488 /// <dd>
2489 /// <p>Unit: Count</p>
2490 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2491 /// <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>
2492 /// <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>
2493 /// </dd>
2494 /// <dt>
2495 /// SUM_CONTACT_FLOW_TIME
2496 /// </dt>
2497 /// <dd>
2498 /// <p>Unit: Seconds</p>
2499 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2500 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-flow-time">Contact flow time</a></p>
2501 /// </dd>
2502 /// <dt>
2503 /// SUM_CONTACT_TIME_AGENT
2504 /// </dt>
2505 /// <dd>
2506 /// <p>Unit: Seconds</p>
2507 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
2508 /// <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>
2509 /// </dd>
2510 /// <dt>
2511 /// SUM_CONTACTS_DISCONNECTED
2512 /// </dt>
2513 /// <dd>
2514 /// <p>Valid metric filter key: <code>DISCONNECT_REASON</code></p>
2515 /// <p>Unit: Count</p>
2516 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2517 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-disconnected">Contact disconnected</a></p>
2518 /// </dd>
2519 /// <dt>
2520 /// SUM_ERROR_STATUS_TIME_AGENT
2521 /// </dt>
2522 /// <dd>
2523 /// <p>Unit: Seconds</p>
2524 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
2525 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#error-status-time">Error status time</a></p>
2526 /// </dd>
2527 /// <dt>
2528 /// SUM_HANDLE_TIME
2529 /// </dt>
2530 /// <dd>
2531 /// <p>Unit: Seconds</p>
2532 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2533 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-handle-time">Contact handle time</a></p>
2534 /// </dd>
2535 /// <dt>
2536 /// SUM_HOLD_TIME
2537 /// </dt>
2538 /// <dd>
2539 /// <p>Unit: Count</p>
2540 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2541 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#customer-hold-time">Customer hold time</a></p>
2542 /// </dd>
2543 /// <dt>
2544 /// SUM_IDLE_TIME_AGENT
2545 /// </dt>
2546 /// <dd>
2547 /// <p>Unit: Seconds</p>
2548 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
2549 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-idle-time">Agent idle time</a></p>
2550 /// </dd>
2551 /// <dt>
2552 /// SUM_INTERACTION_AND_HOLD_TIME
2553 /// </dt>
2554 /// <dd>
2555 /// <p>Unit: Seconds</p>
2556 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2557 /// <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>
2558 /// </dd>
2559 /// <dt>
2560 /// SUM_INTERACTION_TIME
2561 /// </dt>
2562 /// <dd>
2563 /// <p>Unit: Seconds</p>
2564 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
2565 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-interaction-time">Agent interaction time</a></p>
2566 /// </dd>
2567 /// <dt>
2568 /// SUM_NON_PRODUCTIVE_TIME_AGENT
2569 /// </dt>
2570 /// <dd>
2571 /// <p>Unit: Seconds</p>
2572 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
2573 /// <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>
2574 /// </dd>
2575 /// <dt>
2576 /// SUM_ONLINE_TIME_AGENT
2577 /// </dt>
2578 /// <dd>
2579 /// <p>Unit: Seconds</p>
2580 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
2581 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#online-time">Online time</a></p>
2582 /// </dd>
2583 /// <dt>
2584 /// SUM_RETRY_CALLBACK_ATTEMPTS
2585 /// </dt>
2586 /// <dd>
2587 /// <p>Unit: Count</p>
2588 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2589 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#callback-attempts">Callback attempts</a></p>
2590 /// </dd>
2591 /// </dl>
2592 pub fn set_metrics(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::MetricV2>>) -> Self {
2593 self.inner = self.inner.set_metrics(input);
2594 self
2595 }
2596 /// <p>The metrics to retrieve. Specify the name, 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>
2597 /// <dl>
2598 /// <dt>
2599 /// ABANDONMENT_RATE
2600 /// </dt>
2601 /// <dd>
2602 /// <p>Unit: Percent</p>
2603 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2604 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#abandonment-rate">Abandonment rate</a></p>
2605 /// </dd>
2606 /// <dt>
2607 /// AGENT_ADHERENT_TIME
2608 /// </dt>
2609 /// <dd>
2610 /// <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>
2611 /// <p>Unit: Seconds</p>
2612 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
2613 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#adherent-time">Adherent time</a></p>
2614 /// </dd>
2615 /// <dt>
2616 /// AGENT_ANSWER_RATE
2617 /// </dt>
2618 /// <dd>
2619 /// <p>Unit: Percent</p>
2620 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
2621 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-answer-rate">Agent answer rate</a></p>
2622 /// </dd>
2623 /// <dt>
2624 /// AGENT_NON_ADHERENT_TIME
2625 /// </dt>
2626 /// <dd>
2627 /// <p>Unit: Seconds</p>
2628 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
2629 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#non-adherent-time">Non-adherent time</a></p>
2630 /// </dd>
2631 /// <dt>
2632 /// AGENT_NON_RESPONSE
2633 /// </dt>
2634 /// <dd>
2635 /// <p>Unit: Count</p>
2636 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
2637 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-non-response">Agent non-response</a></p>
2638 /// </dd>
2639 /// <dt>
2640 /// AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS
2641 /// </dt>
2642 /// <dd>
2643 /// <p>Unit: Count</p>
2644 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
2645 /// <p>Data for this metric is available starting from October 1, 2023 0:00:00 GMT.</p>
2646 /// <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>
2647 /// </dd>
2648 /// <dt>
2649 /// AGENT_OCCUPANCY
2650 /// </dt>
2651 /// <dd>
2652 /// <p>Unit: Percentage</p>
2653 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
2654 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#occupancy">Occupancy</a></p>
2655 /// </dd>
2656 /// <dt>
2657 /// AGENT_SCHEDULE_ADHERENCE
2658 /// </dt>
2659 /// <dd>
2660 /// <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>
2661 /// <p>Unit: Percent</p>
2662 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
2663 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#adherence">Adherence</a></p>
2664 /// </dd>
2665 /// <dt>
2666 /// AGENT_SCHEDULED_TIME
2667 /// </dt>
2668 /// <dd>
2669 /// <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>
2670 /// <p>Unit: Seconds</p>
2671 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
2672 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#scheduled-time">Scheduled time</a></p>
2673 /// </dd>
2674 /// <dt>
2675 /// AVG_ABANDON_TIME
2676 /// </dt>
2677 /// <dd>
2678 /// <p>Unit: Seconds</p>
2679 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2680 /// <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>
2681 /// </dd>
2682 /// <dt>
2683 /// AVG_ACTIVE_TIME
2684 /// </dt>
2685 /// <dd>
2686 /// <p>Unit: Seconds</p>
2687 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2688 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-active-time">Average active time</a></p>
2689 /// </dd>
2690 /// <dt>
2691 /// AVG_AFTER_CONTACT_WORK_TIME
2692 /// </dt>
2693 /// <dd>
2694 /// <p>Unit: Seconds</p>
2695 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
2696 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2697 /// <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>
2698 /// <p>Feature is a valid filter but not a valid grouping.</p>
2699 /// </note>
2700 /// </dd>
2701 /// <dt>
2702 /// AVG_AGENT_CONNECTING_TIME
2703 /// </dt>
2704 /// <dd>
2705 /// <p>Unit: Seconds</p>
2706 /// <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>
2707 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
2708 /// <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>
2709 /// <p>The <code>Negate</code> key in metric-level filters is not applicable for this metric.</p>
2710 /// </note>
2711 /// </dd>
2712 /// <dt>
2713 /// AVG_AGENT_PAUSE_TIME
2714 /// </dt>
2715 /// <dd>
2716 /// <p>Unit: Seconds</p>
2717 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
2718 /// <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>
2719 /// </dd>
2720 /// <dt>
2721 /// AVG_BOT_CONVERSATION_TIME
2722 /// </dt>
2723 /// <dd>
2724 /// <p>Unit: Seconds</p>
2725 /// <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>
2726 /// <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>
2727 /// </dd>
2728 /// <dt>
2729 /// AVG_BOT_CONVERSATION_TURNS
2730 /// </dt>
2731 /// <dd>
2732 /// <p>Unit: Count</p>
2733 /// <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>
2734 /// <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>
2735 /// </dd>
2736 /// <dt>
2737 /// AVG_CASE_RELATED_CONTACTS
2738 /// </dt>
2739 /// <dd>
2740 /// <p>Unit: Count</p>
2741 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
2742 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
2743 /// <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>
2744 /// </dd>
2745 /// <dt>
2746 /// AVG_CASE_RESOLUTION_TIME
2747 /// </dt>
2748 /// <dd>
2749 /// <p>Unit: Seconds</p>
2750 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
2751 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
2752 /// <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>
2753 /// </dd>
2754 /// <dt>
2755 /// AVG_CONTACT_DURATION
2756 /// </dt>
2757 /// <dd>
2758 /// <p>Unit: Seconds</p>
2759 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2760 /// <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>
2761 /// <p>Feature is a valid filter but not a valid grouping.</p>
2762 /// </note>
2763 /// </dd>
2764 /// <dt>
2765 /// AVG_CONTACT_FIRST_RESPONSE_TIME_AGENT
2766 /// </dt>
2767 /// <dd>
2768 /// <p>Unit: Seconds</p>
2769 /// <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>
2770 /// <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>
2771 /// </dd>
2772 /// <dt>
2773 /// AVG_CONVERSATION_CLOSE_TIME
2774 /// </dt>
2775 /// <dd>
2776 /// <p>Unit: Seconds</p>
2777 /// <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>
2778 /// <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>
2779 /// </dd>
2780 /// <dt>
2781 /// AVG_CONVERSATION_DURATION
2782 /// </dt>
2783 /// <dd>
2784 /// <p>Unit: Seconds</p>
2785 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2786 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-conversation-duration">Average conversation duration</a></p>
2787 /// </dd>
2788 /// <dt>
2789 /// AVG_DIALS_PER_MINUTE
2790 /// </dt>
2791 /// <dd>
2792 /// <p>This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.</p>
2793 /// <p>Unit: Count</p>
2794 /// <p>Valid groupings and filters: Agent, Campaign, Queue, Routing Profile</p>
2795 /// <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>
2796 /// </dd>
2797 /// <dt>
2798 /// AVG_EVALUATION_SCORE
2799 /// </dt>
2800 /// <dd>
2801 /// <p>Unit: Percent</p>
2802 /// <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>
2803 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-evaluation-score">Average evaluation score</a></p>
2804 /// </dd>
2805 /// <dt>
2806 /// AVG_FIRST_RESPONSE_TIME_AGENT
2807 /// </dt>
2808 /// <dd>
2809 /// <p>Unit: Seconds</p>
2810 /// <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>
2811 /// <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>
2812 /// </dd>
2813 /// <dt>
2814 /// AVG_FLOW_TIME
2815 /// </dt>
2816 /// <dd>
2817 /// <p>Unit: Seconds</p>
2818 /// <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>
2819 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-flow-time">Average flow time</a></p>
2820 /// </dd>
2821 /// <dt>
2822 /// AVG_GREETING_TIME_AGENT
2823 /// </dt>
2824 /// <dd>
2825 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2826 /// <p>Unit: Seconds</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#average-agent-greeting-time">Average agent greeting time</a></p>
2829 /// </dd>
2830 /// <dt>
2831 /// AVG_HANDLE_TIME
2832 /// </dt>
2833 /// <dd>
2834 /// <p>Unit: Seconds</p>
2835 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression</p>
2836 /// <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>
2837 /// <p>Feature is a valid filter but not a valid grouping.</p>
2838 /// </note>
2839 /// </dd>
2840 /// <dt>
2841 /// AVG_HOLD_TIME
2842 /// </dt>
2843 /// <dd>
2844 /// <p>Unit: Seconds</p>
2845 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, 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#average-customer-hold-time">Average customer hold time</a></p><note>
2847 /// <p>Feature is a valid filter but not a valid grouping.</p>
2848 /// </note>
2849 /// </dd>
2850 /// <dt>
2851 /// AVG_HOLD_TIME_ALL_CONTACTS
2852 /// </dt>
2853 /// <dd>
2854 /// <p>Unit: Seconds</p>
2855 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2856 /// <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>
2857 /// </dd>
2858 /// <dt>
2859 /// AVG_HOLDS
2860 /// </dt>
2861 /// <dd>
2862 /// <p>Unit: Count</p>
2863 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2864 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-holds">Average holds</a></p><note>
2865 /// <p>Feature is a valid filter but not a valid grouping.</p>
2866 /// </note>
2867 /// </dd>
2868 /// <dt>
2869 /// AVG_INTERACTION_AND_HOLD_TIME
2870 /// </dt>
2871 /// <dd>
2872 /// <p>Unit: Seconds</p>
2873 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2874 /// <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>
2875 /// </dd>
2876 /// <dt>
2877 /// AVG_INTERACTION_TIME
2878 /// </dt>
2879 /// <dd>
2880 /// <p>Unit: Seconds</p>
2881 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
2882 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2883 /// <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>
2884 /// <p>Feature is a valid filter but not a valid grouping.</p>
2885 /// </note>
2886 /// </dd>
2887 /// <dt>
2888 /// AVG_INTERRUPTIONS_AGENT
2889 /// </dt>
2890 /// <dd>
2891 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2892 /// <p>Unit: Count</p>
2893 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2894 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-interruptions">Average agent interruptions</a></p>
2895 /// </dd>
2896 /// <dt>
2897 /// AVG_INTERRUPTION_TIME_AGENT
2898 /// </dt>
2899 /// <dd>
2900 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2901 /// <p>Unit: Seconds</p>
2902 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2903 /// <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>
2904 /// </dd>
2905 /// <dt>
2906 /// AVG_MESSAGE_LENGTH_AGENT
2907 /// </dt>
2908 /// <dd>
2909 /// <p>Unit: Count</p>
2910 /// <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>
2911 /// <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>
2912 /// </dd>
2913 /// <dt>
2914 /// AVG_MESSAGE_LENGTH_CUSTOMER
2915 /// </dt>
2916 /// <dd>
2917 /// <p>Unit: Count</p>
2918 /// <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>
2919 /// <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>
2920 /// </dd>
2921 /// <dt>
2922 /// AVG_MESSAGES
2923 /// </dt>
2924 /// <dd>
2925 /// <p>Unit: Count</p>
2926 /// <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>
2927 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-messages">Average messages</a></p>
2928 /// </dd>
2929 /// <dt>
2930 /// AVG_MESSAGES_AGENT
2931 /// </dt>
2932 /// <dd>
2933 /// <p>Unit: Count</p>
2934 /// <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>
2935 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-agent-messages">Average agent messages</a></p>
2936 /// </dd>
2937 /// <dt>
2938 /// AVG_MESSAGES_BOT
2939 /// </dt>
2940 /// <dd>
2941 /// <p>Unit: Count</p>
2942 /// <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>
2943 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-bot-messages">Average bot messages</a></p>
2944 /// </dd>
2945 /// <dt>
2946 /// AVG_MESSAGES_CUSTOMER
2947 /// </dt>
2948 /// <dd>
2949 /// <p>Unit: Count</p>
2950 /// <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>
2951 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-customer-messages">Average customer messages</a></p>
2952 /// </dd>
2953 /// <dt>
2954 /// AVG_NON_TALK_TIME
2955 /// </dt>
2956 /// <dd>
2957 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
2958 /// <p>Unit: Seconds</p>
2959 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2960 /// <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>
2961 /// </dd>
2962 /// <dt>
2963 /// AVG_QUEUE_ANSWER_TIME
2964 /// </dt>
2965 /// <dd>
2966 /// <p>Unit: Seconds</p>
2967 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2968 /// <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><note>
2969 /// <p>Feature is a valid filter but not a valid grouping.</p>
2970 /// </note>
2971 /// </dd>
2972 /// <dt>
2973 /// AVG_RESPONSE_TIME_AGENT
2974 /// </dt>
2975 /// <dd>
2976 /// <p>Unit: Seconds</p>
2977 /// <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>
2978 /// <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>
2979 /// </dd>
2980 /// <dt>
2981 /// AVG_RESPONSE_TIME_CUSTOMER
2982 /// </dt>
2983 /// <dd>
2984 /// <p>Unit: Seconds</p>
2985 /// <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>
2986 /// <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>
2987 /// </dd>
2988 /// <dt>
2989 /// AVG_RESOLUTION_TIME
2990 /// </dt>
2991 /// <dd>
2992 /// <p>Unit: Seconds</p>
2993 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
2994 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-resolution-time">Average resolution time</a></p>
2995 /// </dd>
2996 /// <dt>
2997 /// AVG_TALK_TIME
2998 /// </dt>
2999 /// <dd>
3000 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3001 /// <p>Unit: Seconds</p>
3002 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3003 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#average-talk-time">Average talk time</a></p>
3004 /// </dd>
3005 /// <dt>
3006 /// AVG_TALK_TIME_AGENT
3007 /// </dt>
3008 /// <dd>
3009 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3010 /// <p>Unit: Seconds</p>
3011 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3012 /// <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>
3013 /// </dd>
3014 /// <dt>
3015 /// AVG_TALK_TIME_CUSTOMER
3016 /// </dt>
3017 /// <dd>
3018 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3019 /// <p>Unit: Seconds</p>
3020 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3021 /// <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>
3022 /// </dd>
3023 /// <dt>
3024 /// AVG_WAIT_TIME_AFTER_CUSTOMER_CONNECTION
3025 /// </dt>
3026 /// <dd>
3027 /// <p>This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.</p>
3028 /// <p>Unit: Seconds</p>
3029 /// <p>Valid groupings and filters: Campaign</p>
3030 /// <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>
3031 /// </dd>
3032 /// <dt>
3033 /// AVG_WEIGHTED_EVALUATION_SCORE
3034 /// </dt>
3035 /// <dd>
3036 /// <p>Unit: Percent</p>
3037 /// <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>
3038 /// <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>
3039 /// </dd>
3040 /// <dt>
3041 /// BOT_CONVERSATIONS_COMPLETED
3042 /// </dt>
3043 /// <dd>
3044 /// <p>Unit: Count</p>
3045 /// <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>
3046 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-conversations-completed">Bot conversations completed</a></p>
3047 /// </dd>
3048 /// <dt>
3049 /// BOT_INTENTS_COMPLETED
3050 /// </dt>
3051 /// <dd>
3052 /// <p>Unit: Count</p>
3053 /// <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>
3054 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-intents-completed">Bot intents completed</a></p>
3055 /// </dd>
3056 /// <dt>
3057 /// CAMPAIGN_CONTACTS_ABANDONED_AFTER_X
3058 /// </dt>
3059 /// <dd>
3060 /// <p>This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.</p>
3061 /// <p>Unit: Count</p>
3062 /// <p>Valid groupings and filters: Agent, Campaign</p>
3063 /// <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>
3064 /// <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>
3065 /// </dd>
3066 /// <dt>
3067 /// CAMPAIGN_CONTACTS_ABANDONED_AFTER_X_RATE
3068 /// </dt>
3069 /// <dd>
3070 /// <p>This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.</p>
3071 /// <p>Unit: Percent</p>
3072 /// <p>Valid groupings and filters: Agent, Campaign</p>
3073 /// <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>
3074 /// <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>
3075 /// </dd>
3076 /// <dt>
3077 /// CAMPAIGN_INTERACTIONS
3078 /// </dt>
3079 /// <dd>
3080 /// <p>This metric is available only for outbound campaigns using the email delivery mode.</p>
3081 /// <p>Unit: Count</p>
3082 /// <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
3083 /// <p>Valid groupings and filters: Campaign</p>
3084 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-interactions">Campaign interactions</a></p>
3085 /// </dd>
3086 /// <dt>
3087 /// CAMPAIGN_PROGRESS_RATE
3088 /// </dt>
3089 /// <dd>
3090 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
3091 /// <p>Unit: Percent</p>
3092 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
3093 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-progress-rate">Campaign progress rate</a></p>
3094 /// </dd>
3095 /// <dt>
3096 /// CAMPAIGN_SEND_ATTEMPTS
3097 /// </dt>
3098 /// <dd>
3099 /// <p>This metric is available only for outbound campaigns.</p>
3100 /// <p>Unit: Count</p>
3101 /// <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype</p>
3102 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-send-attempts">Campaign send attempts</a></p>
3103 /// </dd>
3104 /// <dt>
3105 /// CAMPAIGN_SEND_EXCLUSIONS
3106 /// </dt>
3107 /// <dd>
3108 /// <p>This metric is available only for outbound campaigns.</p>
3109 /// <p>Valid metric filter key: CAMPAIGN_EXCLUDED_EVENT_TYPE</p>
3110 /// <p>Unit: Count</p>
3111 /// <p>Valid groupings and filters: Campaign, Campaign Excluded Event Type, Campaign Execution Timestamp</p>
3112 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-send-exclusions">Campaign send exclusions</a></p>
3113 /// </dd>
3114 /// <dt>
3115 /// CASES_CREATED
3116 /// </dt>
3117 /// <dd>
3118 /// <p>Unit: Count</p>
3119 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
3120 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
3121 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-created">Cases created</a></p>
3122 /// </dd>
3123 /// <dt>
3124 /// CONTACTS_CREATED
3125 /// </dt>
3126 /// <dd>
3127 /// <p>Unit: Count</p>
3128 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
3129 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3130 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-created">Contacts created</a></p><note>
3131 /// <p>Feature is a valid filter but not a valid grouping.</p>
3132 /// </note>
3133 /// </dd>
3134 /// <dt>
3135 /// CONTACTS_HANDLED
3136 /// </dt>
3137 /// <dd>
3138 /// <p>Unit: Count</p>
3139 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code>, <code>DISCONNECT_REASON</code></p>
3140 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
3141 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#api-contacts-handled">API contacts handled</a></p><note>
3142 /// <p>Feature is a valid filter but not a valid grouping.</p>
3143 /// </note>
3144 /// </dd>
3145 /// <dt>
3146 /// CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT
3147 /// </dt>
3148 /// <dd>
3149 /// <p>Unit: Count</p>
3150 /// <p>Valid metric filter key: <code>INITIATION_METHOD</code></p>
3151 /// <p>Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3152 /// <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>
3153 /// </dd>
3154 /// <dt>
3155 /// CONTACTS_HOLD_ABANDONS
3156 /// </dt>
3157 /// <dd>
3158 /// <p>Unit: Count</p>
3159 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3160 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-hold-disconnect">Contacts hold disconnect</a></p>
3161 /// </dd>
3162 /// <dt>
3163 /// CONTACTS_ON_HOLD_AGENT_DISCONNECT
3164 /// </dt>
3165 /// <dd>
3166 /// <p>Unit: Count</p>
3167 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3168 /// <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>
3169 /// </dd>
3170 /// <dt>
3171 /// CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT
3172 /// </dt>
3173 /// <dd>
3174 /// <p>Unit: Count</p>
3175 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3176 /// <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>
3177 /// </dd>
3178 /// <dt>
3179 /// CONTACTS_PUT_ON_HOLD
3180 /// </dt>
3181 /// <dd>
3182 /// <p>Unit: Count</p>
3183 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3184 /// <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>
3185 /// </dd>
3186 /// <dt>
3187 /// CONTACTS_TRANSFERRED_OUT_EXTERNAL
3188 /// </dt>
3189 /// <dd>
3190 /// <p>Unit: Count</p>
3191 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3192 /// <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>
3193 /// </dd>
3194 /// <dt>
3195 /// CONTACTS_TRANSFERRED_OUT_INTERNAL
3196 /// </dt>
3197 /// <dd>
3198 /// <p>Unit: Percent</p>
3199 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3200 /// <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>
3201 /// </dd>
3202 /// <dt>
3203 /// CONTACTS_QUEUED
3204 /// </dt>
3205 /// <dd>
3206 /// <p>Unit: Count</p>
3207 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3208 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-queued">Contacts queued</a></p>
3209 /// </dd>
3210 /// <dt>
3211 /// CONTACTS_QUEUED_BY_ENQUEUE
3212 /// </dt>
3213 /// <dd>
3214 /// <p>Unit: Count</p>
3215 /// <p>Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype</p>
3216 /// <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>
3217 /// </dd>
3218 /// <dt>
3219 /// CONTACTS_REMOVED_FROM_QUEUE_IN_X
3220 /// </dt>
3221 /// <dd>
3222 /// <p>Unit: Count</p>
3223 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
3224 /// <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>
3225 /// <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>
3226 /// </dd>
3227 /// <dt>
3228 /// CONTACTS_RESOLVED_IN_X
3229 /// </dt>
3230 /// <dd>
3231 /// <p>Unit: Count</p>
3232 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3233 /// <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>
3234 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-resolved">Contacts resolved in X</a></p>
3235 /// </dd>
3236 /// <dt>
3237 /// CONTACTS_TRANSFERRED_OUT
3238 /// </dt>
3239 /// <dd>
3240 /// <p>Unit: Count</p>
3241 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3242 /// <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>
3243 /// <p>Feature is a valid filter but not a valid grouping.</p>
3244 /// </note>
3245 /// </dd>
3246 /// <dt>
3247 /// CONTACTS_TRANSFERRED_OUT_BY_AGENT
3248 /// </dt>
3249 /// <dd>
3250 /// <p>Unit: Count</p>
3251 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3252 /// <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>
3253 /// </dd>
3254 /// <dt>
3255 /// CONTACTS_TRANSFERRED_OUT_FROM_QUEUE
3256 /// </dt>
3257 /// <dd>
3258 /// <p>Unit: Count</p>
3259 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3260 /// <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>
3261 /// </dd>
3262 /// <dt>
3263 /// CURRENT_CASES
3264 /// </dt>
3265 /// <dd>
3266 /// <p>Unit: Count</p>
3267 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
3268 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
3269 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#current-cases">Current cases</a></p>
3270 /// </dd>
3271 /// <dt>
3272 /// CONVERSATIONS_ABANDONED
3273 /// </dt>
3274 /// <dd>
3275 /// <p>Unit: Count</p>
3276 /// <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>
3277 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#conversations-abandoned">Conversations abandoned</a></p>
3278 /// </dd>
3279 /// <dt>
3280 /// DELIVERY_ATTEMPTS
3281 /// </dt>
3282 /// <dd>
3283 /// <p>This metric is available only for outbound campaigns.</p>
3284 /// <p>Unit: Count</p>
3285 /// <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code></p>
3286 /// <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>
3287 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#delivery-attempts">Delivery attempts</a></p><note>
3288 /// <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>
3289 /// </note>
3290 /// </dd>
3291 /// <dt>
3292 /// DELIVERY_ATTEMPT_DISPOSITION_RATE
3293 /// </dt>
3294 /// <dd>
3295 /// <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>
3296 /// <p>Unit: Percent</p>
3297 /// <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code></p>
3298 /// <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile</p>
3299 /// <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>
3300 /// <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>
3301 /// </note>
3302 /// </dd>
3303 /// <dt>
3304 /// EVALUATIONS_PERFORMED
3305 /// </dt>
3306 /// <dd>
3307 /// <p>Unit: Count</p>
3308 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
3309 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#evaluations-performed">Evaluations performed</a></p>
3310 /// </dd>
3311 /// <dt>
3312 /// FLOWS_OUTCOME
3313 /// </dt>
3314 /// <dd>
3315 /// <p>Unit: Count</p>
3316 /// <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>
3317 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-outcome">Flows outcome</a></p>
3318 /// </dd>
3319 /// <dt>
3320 /// FLOWS_STARTED
3321 /// </dt>
3322 /// <dd>
3323 /// <p>Unit: Count</p>
3324 /// <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>
3325 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#flows-started">Flows started</a></p>
3326 /// </dd>
3327 /// <dt>
3328 /// HUMAN_ANSWERED_CALLS
3329 /// </dt>
3330 /// <dd>
3331 /// <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>
3332 /// <p>Unit: Count</p>
3333 /// <p>Valid groupings and filters: Agent, Campaign</p>
3334 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#human-answered">Human answered</a></p>
3335 /// </dd>
3336 /// <dt>
3337 /// MAX_FLOW_TIME
3338 /// </dt>
3339 /// <dd>
3340 /// <p>Unit: Seconds</p>
3341 /// <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>
3342 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#maximum-flow-time">Maximum flow time</a></p>
3343 /// </dd>
3344 /// <dt>
3345 /// MAX_QUEUED_TIME
3346 /// </dt>
3347 /// <dd>
3348 /// <p>Unit: Seconds</p>
3349 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3350 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#maximum-queued-time">Maximum queued time</a></p>
3351 /// </dd>
3352 /// <dt>
3353 /// MIN_FLOW_TIME
3354 /// </dt>
3355 /// <dd>
3356 /// <p>Unit: Seconds</p>
3357 /// <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>
3358 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#minimum-flow-time">Minimum flow time</a></p>
3359 /// </dd>
3360 /// <dt>
3361 /// PERCENT_AUTOMATIC_FAILS
3362 /// </dt>
3363 /// <dd>
3364 /// <p>Unit: Percent</p>
3365 /// <p>Valid groupings and filters: Agent, Agent Hierarchy, Channel, Evaluation Form ID, Evaluation Source, Form Version, Queue, Routing Profile</p>
3366 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#automatic-fails-percent">Automatic fails percent</a></p>
3367 /// </dd>
3368 /// <dt>
3369 /// PERCENT_BOT_CONVERSATIONS_OUTCOME
3370 /// </dt>
3371 /// <dd>
3372 /// <p>Unit: Percent</p>
3373 /// <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>
3374 /// <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>
3375 /// </dd>
3376 /// <dt>
3377 /// PERCENT_BOT_INTENTS_OUTCOME
3378 /// </dt>
3379 /// <dd>
3380 /// <p>Unit: Percent</p>
3381 /// <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>
3382 /// <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>
3383 /// </dd>
3384 /// <dt>
3385 /// PERCENT_CASES_FIRST_CONTACT_RESOLVED
3386 /// </dt>
3387 /// <dd>
3388 /// <p>Unit: Percent</p>
3389 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
3390 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
3391 /// <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>
3392 /// </dd>
3393 /// <dt>
3394 /// PERCENT_CONTACTS_STEP_EXPIRED
3395 /// </dt>
3396 /// <dd>
3397 /// <p>Unit: Percent</p>
3398 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
3399 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
3400 /// </dd>
3401 /// <dt>
3402 /// PERCENT_CONTACTS_STEP_JOINED
3403 /// </dt>
3404 /// <dd>
3405 /// <p>Unit: Percent</p>
3406 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
3407 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
3408 /// </dd>
3409 /// <dt>
3410 /// PERCENT_FLOWS_OUTCOME
3411 /// </dt>
3412 /// <dd>
3413 /// <p>Unit: Percent</p>
3414 /// <p>Valid metric filter key: <code>FLOWS_OUTCOME_TYPE</code></p>
3415 /// <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>
3416 /// <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>
3417 /// <p>The <code>FLOWS_OUTCOME_TYPE</code> is not a valid grouping.</p>
3418 /// </note>
3419 /// </dd>
3420 /// <dt>
3421 /// PERCENT_NON_TALK_TIME
3422 /// </dt>
3423 /// <dd>
3424 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3425 /// <p>Unit: Percentage</p>
3426 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3427 /// <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>
3428 /// </dd>
3429 /// <dt>
3430 /// PERCENT_TALK_TIME
3431 /// </dt>
3432 /// <dd>
3433 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3434 /// <p>Unit: Percentage</p>
3435 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3436 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#talk-time-percent">Talk time percent</a></p>
3437 /// </dd>
3438 /// <dt>
3439 /// PERCENT_TALK_TIME_AGENT
3440 /// </dt>
3441 /// <dd>
3442 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3443 /// <p>Unit: Percentage</p>
3444 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3445 /// <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>
3446 /// </dd>
3447 /// <dt>
3448 /// PERCENT_TALK_TIME_CUSTOMER
3449 /// </dt>
3450 /// <dd>
3451 /// <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
3452 /// <p>Unit: Percentage</p>
3453 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3454 /// <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>
3455 /// </dd>
3456 /// <dt>
3457 /// RECIPIENTS_ATTEMPTED
3458 /// </dt>
3459 /// <dd>
3460 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
3461 /// <p>Unit: Count</p>
3462 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
3463 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-attempted">Recipients attempted</a></p>
3464 /// </dd>
3465 /// <dt>
3466 /// RECIPIENTS_INTERACTED
3467 /// </dt>
3468 /// <dd>
3469 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
3470 /// <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
3471 /// <p>Unit: Count</p>
3472 /// <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype, Campaign Execution Timestamp</p>
3473 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-interacted">Recipients interacted</a></p>
3474 /// </dd>
3475 /// <dt>
3476 /// RECIPIENTS_TARGETED
3477 /// </dt>
3478 /// <dd>
3479 /// <p>This metric is only available for outbound campaigns initiated using a customer segment. It is not available for event triggered campaigns.</p>
3480 /// <p>Unit: Count</p>
3481 /// <p>Valid groupings and filters: Campaign, Campaign Execution Timestamp</p>
3482 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#recipients-targeted">Recipients targeted</a></p>
3483 /// </dd>
3484 /// <dt>
3485 /// REOPENED_CASE_ACTIONS
3486 /// </dt>
3487 /// <dd>
3488 /// <p>Unit: Count</p>
3489 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
3490 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
3491 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-reopened">Cases reopened</a></p>
3492 /// </dd>
3493 /// <dt>
3494 /// RESOLVED_CASE_ACTIONS
3495 /// </dt>
3496 /// <dd>
3497 /// <p>Unit: Count</p>
3498 /// <p>Required filter key: CASE_TEMPLATE_ARN</p>
3499 /// <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
3500 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#cases-resolved">Cases resolved</a></p>
3501 /// </dd>
3502 /// <dt>
3503 /// SERVICE_LEVEL
3504 /// </dt>
3505 /// <dd>
3506 /// <p>You can include up to 20 SERVICE_LEVEL metrics in a request.</p>
3507 /// <p>Unit: Percent</p>
3508 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
3509 /// <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>
3510 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#service-level">Service level X</a></p>
3511 /// </dd>
3512 /// <dt>
3513 /// STEP_CONTACTS_QUEUED
3514 /// </dt>
3515 /// <dd>
3516 /// <p>Unit: Count</p>
3517 /// <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
3518 /// <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.</p>
3519 /// </dd>
3520 /// <dt>
3521 /// SUM_AFTER_CONTACT_WORK_TIME
3522 /// </dt>
3523 /// <dd>
3524 /// <p>Unit: Seconds</p>
3525 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3526 /// <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>
3527 /// </dd>
3528 /// <dt>
3529 /// SUM_CONNECTING_TIME_AGENT
3530 /// </dt>
3531 /// <dd>
3532 /// <p>Unit: Seconds</p>
3533 /// <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></p>
3534 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
3535 /// <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>
3536 /// <p>The <code>Negate</code> key in metric-level filters is not applicable for this metric.</p>
3537 /// </note>
3538 /// </dd>
3539 /// <dt>
3540 /// CONTACTS_ABANDONED
3541 /// </dt>
3542 /// <dd>
3543 /// <p>Unit: Count</p>
3544 /// <p>Metric filter:</p>
3545 /// <ul>
3546 /// <li>
3547 /// <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></p></li>
3548 /// </ul>
3549 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
3550 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contacts-abandoned">Contact abandoned</a></p>
3551 /// </dd>
3552 /// <dt>
3553 /// SUM_CONTACTS_ABANDONED_IN_X
3554 /// </dt>
3555 /// <dd>
3556 /// <p>Unit: Count</p>
3557 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3558 /// <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>
3559 /// <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>
3560 /// </dd>
3561 /// <dt>
3562 /// SUM_CONTACTS_ANSWERED_IN_X
3563 /// </dt>
3564 /// <dd>
3565 /// <p>Unit: Count</p>
3566 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3567 /// <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>
3568 /// <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>
3569 /// </dd>
3570 /// <dt>
3571 /// SUM_CONTACT_FLOW_TIME
3572 /// </dt>
3573 /// <dd>
3574 /// <p>Unit: Seconds</p>
3575 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3576 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-flow-time">Contact flow time</a></p>
3577 /// </dd>
3578 /// <dt>
3579 /// SUM_CONTACT_TIME_AGENT
3580 /// </dt>
3581 /// <dd>
3582 /// <p>Unit: Seconds</p>
3583 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
3584 /// <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>
3585 /// </dd>
3586 /// <dt>
3587 /// SUM_CONTACTS_DISCONNECTED
3588 /// </dt>
3589 /// <dd>
3590 /// <p>Valid metric filter key: <code>DISCONNECT_REASON</code></p>
3591 /// <p>Unit: Count</p>
3592 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3593 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-disconnected">Contact disconnected</a></p>
3594 /// </dd>
3595 /// <dt>
3596 /// SUM_ERROR_STATUS_TIME_AGENT
3597 /// </dt>
3598 /// <dd>
3599 /// <p>Unit: Seconds</p>
3600 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
3601 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#error-status-time">Error status time</a></p>
3602 /// </dd>
3603 /// <dt>
3604 /// SUM_HANDLE_TIME
3605 /// </dt>
3606 /// <dd>
3607 /// <p>Unit: Seconds</p>
3608 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3609 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#contact-handle-time">Contact handle time</a></p>
3610 /// </dd>
3611 /// <dt>
3612 /// SUM_HOLD_TIME
3613 /// </dt>
3614 /// <dd>
3615 /// <p>Unit: Count</p>
3616 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3617 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#customer-hold-time">Customer hold time</a></p>
3618 /// </dd>
3619 /// <dt>
3620 /// SUM_IDLE_TIME_AGENT
3621 /// </dt>
3622 /// <dd>
3623 /// <p>Unit: Seconds</p>
3624 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
3625 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-idle-time">Agent idle time</a></p>
3626 /// </dd>
3627 /// <dt>
3628 /// SUM_INTERACTION_AND_HOLD_TIME
3629 /// </dt>
3630 /// <dd>
3631 /// <p>Unit: Seconds</p>
3632 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect</p>
3633 /// <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>
3634 /// </dd>
3635 /// <dt>
3636 /// SUM_INTERACTION_TIME
3637 /// </dt>
3638 /// <dd>
3639 /// <p>Unit: Seconds</p>
3640 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
3641 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#agent-interaction-time">Agent interaction time</a></p>
3642 /// </dd>
3643 /// <dt>
3644 /// SUM_NON_PRODUCTIVE_TIME_AGENT
3645 /// </dt>
3646 /// <dd>
3647 /// <p>Unit: Seconds</p>
3648 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
3649 /// <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>
3650 /// </dd>
3651 /// <dt>
3652 /// SUM_ONLINE_TIME_AGENT
3653 /// </dt>
3654 /// <dd>
3655 /// <p>Unit: Seconds</p>
3656 /// <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
3657 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#online-time">Online time</a></p>
3658 /// </dd>
3659 /// <dt>
3660 /// SUM_RETRY_CALLBACK_ATTEMPTS
3661 /// </dt>
3662 /// <dd>
3663 /// <p>Unit: Count</p>
3664 /// <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect</p>
3665 /// <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#callback-attempts">Callback attempts</a></p>
3666 /// </dd>
3667 /// </dl>
3668 pub fn get_metrics(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::MetricV2>> {
3669 self.inner.get_metrics()
3670 }
3671 /// <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>
3672 pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
3673 self.inner = self.inner.next_token(input.into());
3674 self
3675 }
3676 /// <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>
3677 pub fn set_next_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
3678 self.inner = self.inner.set_next_token(input);
3679 self
3680 }
3681 /// <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>
3682 pub fn get_next_token(&self) -> &::std::option::Option<::std::string::String> {
3683 self.inner.get_next_token()
3684 }
3685 /// <p>The maximum number of results to return per page.</p>
3686 pub fn max_results(mut self, input: i32) -> Self {
3687 self.inner = self.inner.max_results(input);
3688 self
3689 }
3690 /// <p>The maximum number of results to return per page.</p>
3691 pub fn set_max_results(mut self, input: ::std::option::Option<i32>) -> Self {
3692 self.inner = self.inner.set_max_results(input);
3693 self
3694 }
3695 /// <p>The maximum number of results to return per page.</p>
3696 pub fn get_max_results(&self) -> &::std::option::Option<i32> {
3697 self.inner.get_max_results()
3698 }
3699}