:doc:`Kinesis <../../kinesis>` / Client / update_max_record_size

**********************
update_max_record_size
**********************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateMaxRecordSize>`_  


  **Request Syntax**
  ::

    response = client.update_max_record_size(
        StreamARN='string',
        StreamId='string',
        MaxRecordSizeInKiB=123
    )
    
  :type StreamARN: string
  :param StreamARN: 

    The Amazon Resource Name (ARN) of the stream for the ``MaxRecordSize`` update.

    

  
  :type StreamId: string
  :param StreamId: 

    Not Implemented. Reserved for future use.

    

  
  :type MaxRecordSizeInKiB: integer
  :param MaxRecordSizeInKiB: **[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**
  
  *   :py:class:`Kinesis.Client.exceptions.ResourceInUseException`

  
  *   :py:class:`Kinesis.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Kinesis.Client.exceptions.LimitExceededException`

  
  *   :py:class:`Kinesis.Client.exceptions.InvalidArgumentException`

  
  *   :py:class:`Kinesis.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Kinesis.Client.exceptions.ValidationException`

  