Kafka.Client.
update_storage
(**kwargs)¶Updates cluster broker volume size (or) sets cluster storage mode to TIERED.
See also: AWS API Documentation
Request Syntax
response = client.update_storage(
ClusterArn='string',
CurrentVersion='string',
ProvisionedThroughput={
'Enabled': True|False,
'VolumeThroughput': 123
},
StorageMode='LOCAL'|'TIERED',
VolumeSizeGB=123
)
[REQUIRED]
The Amazon Resource Name (ARN) of the cluster to be updated.
[REQUIRED]
The version of cluster to update from. A successful operation will then generate a new version.
EBS volume provisioned throughput information.
Provisioned throughput is enabled or not.
Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.
dict
Response Syntax
{
'ClusterArn': 'string',
'ClusterOperationArn': 'string'
}
Response Structure
(dict) -- HTTP Status Code 200: OK.
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