KinesisClient.update_queue_records_visibility
rboto-kinesis==0.4.0 · Service index · Types
Model summary (excerpt): Changes the visibility timeout of up to 10 records that you have received from the specified queue but not yet acknowledged. The result for each entry is reported individually in the response. Extend the visibility timeout of a record when your queue consumer needs more time to finish processing it, so the record does not become visible and get redelivered while it is still being processed....
Install and imports
from rboto import KinesisClient
from collections.abc import Sequence
from rboto_kinesis.types import (
UpdateQueueRecordsVisibilityOutput,
UpdateQueueRecordsVisibilityRequestEntry,
)
Signature
async def update_queue_records_visibility(
*,
queue_arn: str,
entries: Sequence[UpdateQueueRecordsVisibilityRequestEntry],
) -> UpdateQueueRecordsVisibilityOutput: ...
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 whose visibility timeout is changed, identified by their receipt handles, and the new visibility timeout for each. |
Output
UpdateQueueRecordsVisibilityOutput.
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[UpdateQueueRecordsVisibilityResultEntryOutput] |
Always present | UpdateQueueRecordsVisibilityResultEntryOutput |
failed |
list[UpdateQueueRecordsVisibilityErrorEntryOutput] |
Always present | UpdateQueueRecordsVisibilityErrorEntryOutput |
| 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
UpdateQueueRecordsVisibilityOutput, UpdateQueueRecordsVisibilityRequestEntry
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.