The ListQueues action returns a list of the queues associated with the AWS account represented by the Access Key ID or X.509 certificate included in the request. A maximum of 10,000 queue URLs are returned. If a value is specified for the optional QueueNamePrefix parameter, only those queues with a queue name beginning with the value specified are returned. The queue name is specified in the QueueName parameter when a queue is created.
ListQueues requests are validated on the following:
If specified, the QueueNamePrefix must be alphanumeric of length 1 to 80.
The following table lists the parameters of the operation.
| Name | Description | Type | Value |
|---|---|---|---|
QueueNamePrefix | Optional. This parameter can be used to filter results returned. When specified, only queues with queue names beginning with the specified string are returned. | String | User-defined alphanumeric string |
The following example ListQueues request returns the queues owned by the sender of the request, as determined by the Access Key ID or certificate included in the request.
<soap:Body wsu:Id="body" xmlns:wsu="http://docs.oasis-open.org/wss/ 2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <ListQueues xmlns:sqs="http://queue.amazonaws.com/doc/2006-04-01/"> </ListQueues> </soap:Body>