class Aws::Connect::Types::GetCurrentMetricDataRequest


@see docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetCurrentMetricDataRequest AWS API Documentation
@return [Array<Types::CurrentMetricSortCriteria>]
^
* Sorting on ‘SLOTS_ACTIVE` and `SLOTS_AVAILABLE` is not supported.
Note the following:
on the input metrics.
`AGENTS_ONLINE`, `DESCENDING`. The metric collection is sorted based
enter one sort criteria. By default resources are sorted based on
The way to sort the resulting response based on metrics. You can
@!attribute [rw] sort_criteria
@return [Integer]
The maximum number of results to return per page.
@!attribute [rw] max_results
@return [String]
parameters as the request that generated the token.
Subsequent requests that use the token must use the same request
The token expires after 5 minutes from the time it is created.
results.
previous response in the next request to retrieve the next set of
The token for the next set of results. Use the value returned in the
@!attribute [rw] next_token
@return [Array<Types::CurrentMetric>]<br>: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#availability-real-time<br>[12]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#active-real-time<br>[11]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#oldest-real-time<br>[10]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#scheduled-real-time<br>[9]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#in-queue-real-time<br>[8]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#staffed-real-time<br>[7]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#online-real-time<br>[6]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#on-call-real-time<br>[5]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#non-productive-time-real-time<br>[4]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#error-real-time<br>[3]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#available-real-time<br>[2]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#aftercallwork-real-time<br>[1]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html<br><br><br><br>Name in real-time metrics report: [Availability][13]

: Unit: COUNT
SLOTS_AVAILABLE
Name in real-time metrics report: [Active][12]

: Unit: COUNT
SLOTS_ACTIVE
Name in real-time metrics report: [Oldest][11]

this queue will be counted starting from 10, not 0.
and `<Expression 2>` becomes active, then `OLDEST_CONTACT_AGE` for
has been queued under `<Expression 1>` for 10 seconds has expired
still calculated from enqueue time. For example, if a contact that
When the filter `RoutingStepExpression` is used, this metric is
The actual OLDEST_CONTACT_AGE is 24 seconds.
}, “Value”: 24113.0 `\}
`{ “Metric”: { “Name”: “OLDEST_CONTACT_AGE”, “Unit”: “SECONDS”
this:
returned in MILLISECONDS. For example, if you get a response like
When you do not use groupings, Unit says SECONDS but the Value is
returned in SECONDS.
When you use groupings, Unit says SECONDS and the Value is
: Unit: SECONDS
OLDEST_CONTACT_AGE
Name in real-time metrics report: [Scheduled][10]

: Unit: COUNT
CONTACTS_SCHEDULED
Name in real-time metrics report: [In queue][9]

: Unit: COUNT
CONTACTS_IN_QUEUE
Name in real-time metrics report: [Staffed][8]

: Unit: COUNT
AGENTS_STAFFED
Name in real-time metrics report: [Online][7]

: Unit: COUNT
AGENTS_ONLINE
Name in real-time metrics report: [On contact][6]

: Unit: COUNT
AGENTS_ON_CONTACT
Name in real-time metrics report: [On contact][6]

: Unit: COUNT
AGENTS_ON_CALL
Name in real-time metrics report: [NPT (Non-Productive Time)][5]

: Unit: COUNT
AGENTS_NON_PRODUCTIVE
Name in real-time metrics report: [Error][4]

: Unit: COUNT
AGENTS_ERROR
Name in real-time metrics report: [Available][3]

: Unit: COUNT
AGENTS_AVAILABLE
Name in real-time metrics report: [ACW][2]

: Unit: COUNT
AGENTS_AFTER_CONTACT_WORK
Connect Administrator Guide*.
metrics, see [Real-time Metrics Definitions] in the *Amazon
The following metrics are available. For a description of all the
The metrics to retrieve. Specify the name and unit for each metric.
@!attribute [rw] current_metrics
@return [Array<String>]
`ROUTING_STEP_EXPRESSION` is required.
* When using the `RoutingStepExpression` filter, group by
is returned.
* If no `Grouping` is included in the request, a summary of metrics
and ` OLDEST_CONTACT_AGE`.
is required for metrics `CONTACTS_SCHEDULED`, `CONTACTS_IN_QUEUE`,
or routing profile filter. In addition, a routing profile filter
* If you group by `ROUTING_PROFILE`, you must include either a queue
VOICE, CHAT, and TASK channels are supported.
* If you group by `CHANNEL`, you should include a Channels filter.
than aggregated for all queues.
grouped by `QUEUE`, the metrics returned apply to each queue rather
The grouping applied to the metrics returned. For example, when
@!attribute [rw] groupings
@return [Types::Filters]
in the filter.
Currently tagging is only supported on the resources that are passed
`ROUTING_STEP_EXPRESSION` is required.
using the `RoutingStepExpression` filter, grouping by
exactly one `QueueId`. The filter is also case sensitive so when
When using the `RoutingStepExpression` filter, you need to pass
can include both resource IDs and resource ARNs in the same request.
filter. (You cannot filter by both queue AND routing profile.) You
queues or routing profiles, and by any channels included in the
Metric data is retrieved only for the resources associated with the
* RoutingStepExpressions: 50
* Channels: 3 (VOICE, CHAT, and TASK channels are supported.)
* Routing profiles: 100
* Queues: 100
following limits:
The filters to apply to returned metrics. You can filter up to the
@!attribute [rw] filters
@return [String]<br>: docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html<br><br><br><br>instance ID] in the Amazon Resource Name (ARN) of the instance.
The identifier of the Amazon Connect instance. You can [find the
@!attribute [rw] instance_id