modify_global_replication_group
async
¶
modify_global_replication_group(
*,
config_overrides: Optional[AsyncElastiCacheClientConfig] = 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/async_elasti_cache.py
5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 | |