Skip to content

KinesisClient.receive_dead_letter_queue_records

rboto-kinesis==0.4.0 · Service index · Types

Model summary (excerpt): Receives up to 10 dead-letter records from the specified queue. Each queue has built-in dead-letter handling: when a record has been received MaxReceiveCount times without being acknowledged, it becomes a dead-letter record, which usually means your queue consumer could not process it. The dead-letter record stays in the same queue, and ReceiveQueueRecords no longer returns it. Dead-letter...

Install and imports

python -m pip install "rboto[kinesis]==0.4.0"
from rboto import KinesisClient
from rboto_kinesis.types import (
    ReceiveDeadLetterQueueRecordsOutput,
)

Signature

async def receive_dead_letter_queue_records(
    *,
    queue_arn: str,
    limit: int | None = None,
    wait_time_seconds: int | None = None,
    visibility_timeout_seconds: int | None = None,
) -> ReceiveDeadLetterQueueRecordsOutput: ...

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_arn Yes The ARN of the queue whose dead-letter records are received.
limit No The maximum number of records to return. The queue never returns more dead-letter records than this value, and might return fewer. The default is 10.
wait_time_seconds No The duration, in seconds, that the call waits for a record to become visible before returning. The default is 9.
visibility_timeout_seconds No The duration, in seconds, that the records returned by this request are in flight and not visible to any consumer instance. If you do not specify this value, the queue's visibility timeout is used.

Output

ReceiveDeadLetterQueueRecordsOutput.

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_records list[QueueRecordOutput] Always present QueueRecordOutput

| 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.

ReceiveDeadLetterQueueRecordsOutput

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

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_kinesis.exceptions:

AccessDeniedError, InternalFailureError, InvalidArgumentError, KMSAccessDeniedError, KMSDisabledError, KMSInvalidStateError, KMSNotFoundError, KMSOptInRequiredError, KMSThrottlingError, ResourceNotFoundError, ThrottlingError.

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

Service guide · Pinned model