update_storage
¶
update_storage(
cluster_arn: __string,
*,
config_overrides: Optional[KafkaClientConfig] = None,
current_version: Optional[__string] = None,
provisioned_throughput: Optional[ProvisionedThroughput] = None,
storage_mode: Optional[StorageMode] = None,
volume_size_gb: Optional[__integer] = None,
) -> UpdateStorageResponse
Updates cluster broker volume size (or) sets cluster storage mode to TIERED.
Parameters:
-
cluster_arn(__string) –The Amazon Resource Name (ARN) of the cluster to be updated.
-
current_version(Optional[__string], default:None) –The version of cluster to update from. A successful operation will then generate a new version.
-
provisioned_throughput(Optional[ProvisionedThroughput], default:None) –EBS volume provisioned throughput information.
-
storage_mode(Optional[StorageMode], default:None) –Controls storage mode for supported storage tiers.
-
volume_size_gb(Optional[__integer], default:None) –size of the EBS volume to update.
Raises:
-
BadRequestException–Returns information about an error.
-
ForbiddenException–Returns information about an error.
-
InternalServerErrorException–Returns information about an error.
-
NotFoundException–Returns information about an error.
-
ServiceUnavailableException–Returns information about an error.
-
TooManyRequestsException–Returns information about an error.
-
UnauthorizedException–Returns information about an error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_kafka/_services/kafka.py
4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 | |