Kinesis / Client / update_max_record_size
update_max_record_size¶
- Kinesis.Client.update_max_record_size(**kwargs)¶
This allows you to update the
MaxRecordSizeof 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
MaxRecordSizeupdate.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,
UpdateMaxRecordSizesends back anValidationExceptionmessage.
- Returns:
None
Exceptions
Kinesis.Client.exceptions.ResourceInUseExceptionKinesis.Client.exceptions.ResourceNotFoundExceptionKinesis.Client.exceptions.LimitExceededExceptionKinesis.Client.exceptions.InvalidArgumentExceptionKinesis.Client.exceptions.AccessDeniedExceptionKinesis.Client.exceptions.ValidationException