update_storage
async
¶
update_storage(
cluster_arn: __string,
*,
config_overrides: Optional[AsyncKafkaClientConfig] = 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/async_kafka.py
4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 | |