Skip to content

KinesisClient.update_max_record_size

rboto-kinesis==0.4.0 · Service index · Types

Model summary (excerpt): This allows you to update the MaxRecordSize of a single record that you can write to, and read from a stream. You can ingest and digest single records up to 10240 KiB.

Install and imports

python -m pip install "rboto[kinesis]==0.4.0"
from rboto import KinesisClient

Signature

async def update_max_record_size(
    *,
    max_record_size_in_kib: int,
    stream_arn: str | None = None,
    stream_id: str | None = None,
) -> None: ...

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)
max_record_size_in_kib Yes The maximum record size of a single record in KiB that you can write to, and read from a stream. Specify a value between 1024 and 10240 KiB (1 to 10 MiB). If you specify a value that is out of this range, UpdateMaxRecordSize sends back an ValidationException message.
stream_arn No The Amazon Resource Name (ARN) of the stream for the MaxRecordSize update.
stream_id No Not Implemented. Reserved for future use.

Output

None.

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

—

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, InvalidArgumentError, LimitExceededError, ResourceInUseError, ResourceNotFoundError, ValidationError.

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

Service guide · Pinned model