Kafka / Client / update_broker_type

update_broker_type#

Kafka.Client.update_broker_type(**kwargs)#

Updates EC2 instance type.

See also: AWS API Documentation

Request Syntax

response = client.update_broker_type(
    ClusterArn='string',
    CurrentVersion='string',
    TargetInstanceType='string'
)
Parameters:
  • ClusterArn (string) –

    [REQUIRED]

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

  • CurrentVersion (string) –

    [REQUIRED]

    The cluster version that you want to change. After this operation completes successfully, the cluster will have a new version.

  • TargetInstanceType (string) –

    [REQUIRED]

    The Amazon MSK broker type that you want all of the brokers in this cluster to be.

Return type:

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

  • Kafka.Client.exceptions.BadRequestException

  • Kafka.Client.exceptions.UnauthorizedException

  • Kafka.Client.exceptions.InternalServerErrorException

  • Kafka.Client.exceptions.ForbiddenException

  • Kafka.Client.exceptions.NotFoundException

  • Kafka.Client.exceptions.ServiceUnavailableException

  • Kafka.Client.exceptions.TooManyRequestsException