Kafka.Client.
update_connectivity
(**kwargs)¶Updates the cluster's connectivity configuration.
See also: AWS API Documentation
Request Syntax
response = client.update_connectivity(
ClusterArn='string',
ConnectivityInfo={
'PublicAccess': {
'Type': 'string'
}
},
CurrentVersion='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the configuration.
[REQUIRED]
Information about the broker access configuration.
Public access control for brokers.
The value DISABLED indicates that public access is turned off. SERVICE_PROVIDED_EIPS indicates that public access is turned on.
[REQUIRED]
The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
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