:doc:`Kafka <../../kafka>` / Client / update_configuration

********************
update_configuration
********************



.. py:method:: Kafka.Client.update_configuration(**kwargs)

  

  Updates an MSK configuration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfiguration>`_  


  **Request Syntax**
  ::

    response = client.update_configuration(
        Arn='string',
        Description='string',
        ServerProperties=b'bytes'
    )
    
  :type Arn: string
  :param Arn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the configuration.

    

  
  :type Description: string
  :param Description: 

    The description of the configuration revision.

    

  
  :type ServerProperties: bytes
  :param ServerProperties: **[REQUIRED]** 

    Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Arn': 'string',
          'LatestRevision': {
              'CreationTime': datetime(2015, 1, 1),
              'Description': 'string',
              'Revision': 123
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 

      200 response

      
      

      - **Arn** *(string) --* 

        The Amazon Resource Name (ARN) of the configuration.

        
      

      - **LatestRevision** *(dict) --* 

        Latest revision of the configuration.

        
        

        - **CreationTime** *(datetime) --* 

          The time when the configuration revision was created.

          
        

        - **Description** *(string) --* 

          The description of the configuration revision.

          
        

        - **Revision** *(integer) --* 

          The revision number.

          
    
  
  **Exceptions**
  
  *   :py:class:`Kafka.Client.exceptions.BadRequestException`

  
  *   :py:class:`Kafka.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`Kafka.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`Kafka.Client.exceptions.ForbiddenException`

  
  *   :py:class:`Kafka.Client.exceptions.NotFoundException`

  
  *   :py:class:`Kafka.Client.exceptions.ServiceUnavailableException`

  