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
4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 | |