CmdID / aws / aws connect
aws connect list-queues
Provides information about the queues for the specified Connect Customer instance. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To list the queues in an instance
The following list-queues example lists the queues in the specified Amazon Connect instance.
aws connect list-queues --instance-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify--instance-idThe identifier of the Connect Customer instance.Its output
{
"QueueSummaryList": [
{
"Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"Arn": "arn:aws:connect:us-west-2:123456789012:instance/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/queue/agent/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"QueueType": "AGENT"
},
{
"Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
"Arn": "arn:aws:connect:us-west-2:123456789012:instance/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/queue/agent/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
"QueueType": "AGENT"
},
{
"Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE44444",
"Arn": "arn:aws:connect:us-west-2:123456789012:instance/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/queue/agent/a1b2c3d4-5678-90ab-cdef-EXAMPLE44444",
"QueueType": "AGENT"
},
{
"Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE55555",
"Arn": "arn:aws:connect:us-west-2:123456789012:instance/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/queue/a1b2c3d4-5678-90ab-cdef-EXAMPLE55555",
"Name": "BasicQueue",
"QueueType": "STANDARD"
}
]
}For more information, see Create a Queue in the Amazon Connect Administrator Guide.
Options
--instance-idThe identifier of the Connect Customer instance.--max-resultsThe maximum number of results to return per page.--next-tokenThe token for the next set of results.--queue-typesThe type of queue.