Skip to content

KinesisClient.restore_dead_letter_queue_records

rboto-kinesis==0.4.0 · Service index · Types

Model summary (excerpt): Restores up to 10 dead-letter records in the specified queue. Restoring a record clears its dead-letter state and resets its receive count, so ReceiveQueueRecords can return it again, up to MaxReceiveCount times before it becomes a dead-letter record again. The result for each entry is reported individually in the response. Restore records after you have corrected the condition that prevented...

Install and imports

python -m pip install "rboto[kinesis]==0.4.0"
from rboto import KinesisClient
from collections.abc import Sequence
from rboto_kinesis.types import (
    RestoreDeadLetterQueueRecordsOutput,
    RestoreDeadLetterQueueRecordsRequestEntry,
)

Signature

async def restore_dead_letter_queue_records(
    *,
    queue_arn: str,
    entries: Sequence[RestoreDeadLetterQueueRecordsRequestEntry],
) -> RestoreDeadLetterQueueRecordsOutput: ...

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 restored.
entries Yes The dead-letter records to restore, identified by their receipt handles.

Output

RestoreDeadLetterQueueRecordsOutput.

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
successful list[RestoreDeadLetterQueueRecordsResultEntryOutput] Always present RestoreDeadLetterQueueRecordsResultEntryOutput
failed list[RestoreDeadLetterQueueRecordsErrorEntryOutput] Always present RestoreDeadLetterQueueRecordsErrorEntryOutput

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

RestoreDeadLetterQueueRecordsOutput, RestoreDeadLetterQueueRecordsRequestEntry

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, ResourceNotFoundError, ThrottlingError.

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

Service guide · Pinned model