Menu
Amazon Simple Queue Service
API Reference (API Version 2012-11-05)

ListDeadLetterSourceQueues

Returns a list of your queues that have the RedrivePolicy queue attribute configured with a dead-letter queue.

For more information about using dead-letter queues, see Using Amazon SQS Dead-Letter Queues in the Amazon Simple Queue Service Developer Guide.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

QueueUrl

The URL of a dead-letter queue.

Queue URLs are case-sensitive.

Type: String

Required: Yes

Response Elements

The following element is returned by the service.

QueueUrl.N

A list of source queue URLs that have the RedrivePolicy queue attribute configured with a dead-letter queue.

Type: Array of strings

Errors

For information about the errors that are common to all actions, see Common Errors.

AWS.SimpleQueueService.NonExistentQueue

The queue referred to doesn't exist.

HTTP Status Code: 400

Example

The following example query request returns a list of dead letter source queues. In this example, only one source queue, MySourceQueue, is configured with a dead-letter queue. How you structure the AUTHPARAMS depends on how you are signing your API request. For information about AUTHPARAMS in Signature Version 4, see Examples of Signed Signature Version 4 Requests in the Amazon Web Services General Reference.

Sample Request

?Action=ListDeadLetterSourceQueues &Version=2012-11-05 &Expires=2020-12-12T22%3A52%3A43PST &AUTHPARAMS

Sample Response

<ListDeadLetterSourceQueuesResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"> <ListDeadLetterSourceQueuesResult> <QueueUrl>http://sqs.us-east-2.amazonaws.com/123456789012/MySourceQueue</QueueUrl> </ListDeadLetterSourceQueuesResult> <ResponseMetadata> <RequestId>8ffb921f-b85e-53d9-abcf-d8d0057f38fc</RequestId> </ResponseMetadata> </ListDeadLetterSourceQueuesResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: