modify_global_replication_group
¶
modify_global_replication_group(
*,
config_overrides: Optional[ElastiCacheClientConfig] = None,
global_replication_group_id: Optional[String] = None,
apply_immediately: Optional[Boolean] = None,
cache_node_type: Optional[String] = None,
engine: Optional[String] = None,
engine_version: Optional[String] = None,
cache_parameter_group_name: Optional[String] = None,
global_replication_group_description: Optional[String] = None,
automatic_failover_enabled: Optional[BooleanOptional] = None,
) -> ModifyGlobalReplicationGroupResult
Modifies the settings for a Global datastore.
Parameters:
-
global_replication_group_id(Optional[String], default:None) –The name of the Global datastore
-
apply_immediately(Optional[Boolean], default:None) –This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible. Modifications to Global Replication Groups cannot be requested to be applied in PreferredMaintenceWindow.
-
cache_node_type(Optional[String], default:None) –A valid cache node type that you want to scale this Global datastore to.
-
engine(Optional[String], default:None) –Modifies the engine listed in a global replication group message. The options are valkey, memcached or redis.
-
engine_version(Optional[String], default:None) –The upgraded version of the cache engine to be run on the clusters in the Global datastore.
-
cache_parameter_group_name(Optional[String], default:None) –The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.
-
global_replication_group_description(Optional[String], default:None) –A description of the Global datastore
-
automatic_failover_enabled(Optional[BooleanOptional], default:None) –Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.
Raises:
-
GlobalReplicationGroupNotFoundFault–The Global datastore does not exist
-
InvalidGlobalReplicationGroupStateFault–The Global datastore is not available or in primary-only state.
-
InvalidParameterValueException–The value for a parameter is invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_elasticache/_services/elasti_cache.py
5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 | |