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'
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
[REQUIRED]
The cluster version that you want to change. After this operation completes successfully, the cluster will have a new version.
[REQUIRED]
The Amazon MSK broker type that you want all of the brokers in this cluster to be.
dict
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