Skip to content

ListDeadLetterSourceQueues

Source: src/AWS/SQS/ListDeadLetterSourceQueues.ts

Runtime binding for sqs:ListDeadLetterSourceQueues.

Bind this operation to a dead-letter Queue inside a function runtime to enumerate the source queues whose redrivePolicy targets it. The binding grants the host function sqs:ListDeadLetterSourceQueues on the queue. Provide the ListDeadLetterSourceQueuesHttp layer on the Function to implement the binding.

// init (provide SQS.ListDeadLetterSourceQueuesHttp on the Function)
const listDeadLetterSourceQueues =
yield* SQS.ListDeadLetterSourceQueues(dlq);
// runtime
const result = yield* listDeadLetterSourceQueues();
// result.queueUrls: URLs of every queue using `dlq` as its DLQ