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