AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Get-CONNCurrentMetricData-InstanceId <String>-Filters_Channel <String[]>-CurrentMetric <CurrentMetric[]>-Grouping <String[]>-Filters_Queue <String[]>-Filters_RoutingProfile <String[]>-SortCriterion <CurrentMetricSortCriteria[]>-MaxResult <Int32>-NextToken <String>-Select <String>-PassThru <SwitchParameter>-ClientConfig <AmazonConnectConfig>
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
{ "Metric": { "Name": "OLDEST_CONTACT_AGE", "Unit": "SECONDS" }, "Value": 24113.0
}The actual OLDEST_CONTACT_AGE is 24 seconds.Name in real-time metrics report: OldestRequired? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | CurrentMetrics |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Filters_Channels |
GetCurrentMetricsData
API in particular requires a queue when you include a Filter
in your request. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Filters_Queues |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Filters_RoutingProfiles |
QUEUE
, the metrics returned apply to each queue rather than aggregated for all queues. CHANNEL
, you should include a Channels filter. VOICE, CHAT, and TASK channels are supported.ROUTING_PROFILE
, you must include either a queue or routing profile filter. In addition, a routing profile filter is required for metrics CONTACTS_SCHEDULED
, CONTACTS_IN_QUEUE
, and OLDEST_CONTACT_AGE
.Grouping
is included in the request, a summary of metrics is returned.Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Groupings |
Required? | True |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | MaxResults |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
AGENTS_ONLINE
, DESCENDING
. The metric collection is sorted based on the input metrics.Note the following:SLOTS_ACTIVE
and SLOTS_AVAILABLE
is not supported.Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SortCriteria |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AK |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AWSProfilesLocation, ProfilesLocation |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | StoredCredentials, AWSProfileName |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | RegionToCall |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SK, SecretAccessKey |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | ST |
AWS Tools for PowerShell: 2.x.y.z