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

******************
update_rebalancing
******************



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

  

  Use this resource to update the intelligent rebalancing status of an Amazon MSK Provisioned cluster with Express brokers.

  

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


  **Request Syntax**
  ::

    response = client.update_rebalancing(
        ClusterArn='string',
        CurrentVersion='string',
        Rebalancing={
            'Status': 'PAUSED'|'ACTIVE'
        }
    )
    
  :type ClusterArn: string
  :param ClusterArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the cluster.

    

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

    The current version of the cluster.

    

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

    Specifies if intelligent rebalancing should be turned on for your cluster. The default intelligent rebalancing status is ACTIVE for all new MSK Provisioned clusters that you create with Express brokers.

    

  
    - **Status** *(string) --* 

      Intelligent rebalancing status. The default intelligent rebalancing status is ACTIVE for all new Express-based clusters.

      

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

    
    ::

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

    

    - *(dict) --* 

      HTTP Status Code 200: OK.

      
      

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

        The Amazon Resource Name (ARN) of the cluster whose intelligent rebalancing status you've updated.

        
      

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

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

  