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
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 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 | |