Kinesis / Client / update_max_record_size

update_max_record_size

Kinesis.Client.update_max_record_size(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.update_max_record_size(
    StreamARN='string',
    StreamId='string',
    MaxRecordSizeInKiB=123
)
Parameters:
  • StreamARN (string) – The Amazon Resource Name (ARN) of the stream for the MaxRecordSize update.

  • StreamId (string) – Not Implemented. Reserved for future use.

  • MaxRecordSizeInKiB (integer) –

    [REQUIRED]

    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.

Returns:

None

Exceptions

  • Kinesis.Client.exceptions.ResourceInUseException

  • Kinesis.Client.exceptions.ResourceNotFoundException

  • Kinesis.Client.exceptions.LimitExceededException

  • Kinesis.Client.exceptions.InvalidArgumentException

  • Kinesis.Client.exceptions.AccessDeniedException

  • Kinesis.Client.exceptions.ValidationException