Skip to content

SQSClient.list_dead_letter_source_queues

rboto-sqs==0.4.0 · Service index · Types

Model summary (excerpt): Returns a list of your queues that have the RedrivePolicy queue attribute configured with a dead-letter queue. The ListDeadLetterSourceQueues methods supports pagination. Set parameter MaxResults in the request to specify the maximum number of results to be returned in the response. If you do not set MaxResults , the response includes a maximum of 1,000 results. If you set MaxResults and there...

Install and imports

python -m pip install "rboto[sqs]==0.4.0"
from rboto import SQSClient
from rboto_sqs.types import (
    ListDeadLetterSourceQueuesOutput,
)

Signature

async def list_dead_letter_source_queues(
    *,
    queue_url: str,
    next_token: str | None = None,
    max_results: int | None = None,
) -> ListDeadLetterSourceQueuesOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
queue_url Yes The URL of a dead-letter queue. Queue URLs and names are case-sensitive.
next_token No Pagination token to request the next set of results.
max_results No Maximum number of results to include in the response. Value range is 1 to 1000. You must set MaxResults to receive a value for NextToken in the response.

Output

ListDeadLetterSourceQueuesOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
queue_urls list[str] Always present —
next_token str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

ListDeadLetterSourceQueuesOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.list_dead_letter_source_queues(...) accepts the same arguments and returns AsyncIterator[ListDeadLetterSourceQueuesOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: next_token. Page-size argument: max_results.

No output stream.

Errors

Import from rboto_sqs.exceptions:

InvalidAddressError, InvalidSecurityError, QueueDoesNotExistError, RequestThrottledError, UnsupportedOperationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model