update_multi_region_cluster
async
¶
update_multi_region_cluster(
multi_region_cluster_name: String,
*,
config_overrides: Optional[AsyncMemoryDBClientConfig] = None,
node_type: Optional[String] = None,
description: Optional[String] = None,
engine_version: Optional[String] = None,
shard_configuration: Optional[ShardConfigurationRequest] = None,
multi_region_parameter_group_name: Optional[String] = None,
update_strategy: Optional[UpdateStrategy] = None,
) -> UpdateMultiRegionClusterResponse
Updates the configuration of an existing multi-Region cluster.
Parameters:
-
multi_region_cluster_name(String) –The name of the multi-Region cluster to be updated.
-
node_type(Optional[String], default:None) –The new node type to be used for the multi-Region cluster.
-
description(Optional[String], default:None) –A new description for the multi-Region cluster.
-
engine_version(Optional[String], default:None) –The new engine version to be used for the multi-Region cluster.
-
multi_region_parameter_group_name(Optional[String], default:None) –The new multi-Region parameter group to be associated with the cluster.
-
update_strategy(Optional[UpdateStrategy], default:None) –The strategy to use for the update operation. Supported values are "coordinated" or "uncoordinated".
Raises:
-
InvalidMultiRegionClusterStateFault–The requested operation cannot be performed on the multi-Region cluster in its current state.
-
InvalidParameterCombinationException–The specified parameter combination is not valid.
-
InvalidParameterValueException–The specified parameter value is not valid.
-
MultiRegionClusterNotFoundFault–The specified multi-Region cluster does not exist.
-
MultiRegionParameterGroupNotFoundFault–The specified multi-Region parameter group does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_memorydb/_services/async_memory_db.py
3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 | |