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

****************************
update_cluster_configuration
****************************



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

  

  Updates the cluster with the configuration that is specified in the request body.

  

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


  **Request Syntax**
  ::

    response = client.update_cluster_configuration(
        ClusterArn='string',
        ConfigurationInfo={
            'Arn': 'string',
            'Revision': 123
        },
        CurrentVersion='string'
    )
    
  :type ClusterArn: string
  :param ClusterArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) that uniquely identifies the cluster.

    

  
  :type ConfigurationInfo: dict
  :param ConfigurationInfo: **[REQUIRED]** 

    Represents the configuration that you want MSK to use for the brokers in a cluster.

    

  
    - **Arn** *(string) --* **[REQUIRED]** 

      ARN of the configuration to use.

      

    
    - **Revision** *(integer) --* **[REQUIRED]** 

      The revision of the configuration to use.

      

    
  
  :type CurrentVersion: string
  :param CurrentVersion: **[REQUIRED]** 

    The version of the cluster that needs to be updated.

    

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

    
    ::

      {
          'ClusterArn': 'string',
          'ClusterOperationArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Successful response.

      
      

      - **ClusterArn** *(string) --* 

        The Amazon Resource Name (ARN) of the cluster.

        
      

      - **ClusterOperationArn** *(string) --* 

        The Amazon Resource Name (ARN) of the cluster operation.

        
  
  **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`

  