KinesisClient.acknowledge_queue_records
rboto-kinesis==0.4.0 · Service index · Types
Model summary (excerpt): Acknowledges up to 10 records from the specified queue. After a record is acknowledged, the queue does not deliver it again. The result for each entry is reported individually in the response. Acknowledging a record does not affect the record in the data stream. That record remains available to stream consumers and to other queues on the same stream for the rest of its retention period....
Install and imports
from rboto import KinesisClient
from collections.abc import Sequence
from rboto_kinesis.types import (
AcknowledgeQueueRecordsOutput,
AcknowledgeQueueRecordsRequestEntry,
)
Signature
async def acknowledge_queue_records(
*,
queue_arn: str,
entries: Sequence[AcknowledgeQueueRecordsRequestEntry],
) -> AcknowledgeQueueRecordsOutput: ...
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 the records were received from. |
entries |
Yes | The records to acknowledge, identified by their receipt handles. |
Output
AcknowledgeQueueRecordsOutput.
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[AcknowledgeQueueRecordsResultEntryOutput] |
Always present | AcknowledgeQueueRecordsResultEntryOutput |
failed |
list[AcknowledgeQueueRecordsErrorEntryOutput] |
Always present | AcknowledgeQueueRecordsErrorEntryOutput |
| 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.
Related types
AcknowledgeQueueRecordsOutput, AcknowledgeQueueRecordsRequestEntry
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.