Kafka / Client / update_rebalancing

update_rebalancing

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

Request Syntax

response = client.update_rebalancing(
    ClusterArn='string',
    CurrentVersion='string',
    Rebalancing={
        'Status': 'PAUSED'|'ACTIVE'
    }
)
Parameters:
  • ClusterArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the cluster.

  • CurrentVersion (string) –

    [REQUIRED]

    The current version of the cluster.

  • Rebalancing (dict) –

    [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.

Return type:

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