pub struct DecreaseNodeGroupsInGlobalReplicationGroupMessage {
pub apply_immediately: bool,
pub global_node_groups_to_remove: Option<Vec<String>>,
pub global_node_groups_to_retain: Option<Vec<String>>,
pub global_replication_group_id: String,
pub node_group_count: i64,
}
Fields§
§apply_immediately: bool
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
global_node_groups_to_remove: Option<Vec<String>>
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by NodeGroupsToRemove from the cluster.
global_node_groups_to_retain: Option<Vec<String>>
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by NodeGroupsToRemove from the cluster.
global_replication_group_id: String
The name of the Global Datastore
node_group_count: i64
The number of node groups (shards) that results from the modification of the shard configuration
Trait Implementations§
Source§impl Clone for DecreaseNodeGroupsInGlobalReplicationGroupMessage
impl Clone for DecreaseNodeGroupsInGlobalReplicationGroupMessage
Source§fn clone(&self) -> DecreaseNodeGroupsInGlobalReplicationGroupMessage
fn clone(&self) -> DecreaseNodeGroupsInGlobalReplicationGroupMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for DecreaseNodeGroupsInGlobalReplicationGroupMessage
impl Default for DecreaseNodeGroupsInGlobalReplicationGroupMessage
Source§fn default() -> DecreaseNodeGroupsInGlobalReplicationGroupMessage
fn default() -> DecreaseNodeGroupsInGlobalReplicationGroupMessage
Source§impl PartialEq for DecreaseNodeGroupsInGlobalReplicationGroupMessage
impl PartialEq for DecreaseNodeGroupsInGlobalReplicationGroupMessage
Source§fn eq(&self, other: &DecreaseNodeGroupsInGlobalReplicationGroupMessage) -> bool
fn eq(&self, other: &DecreaseNodeGroupsInGlobalReplicationGroupMessage) -> bool
self
and other
values to be equal, and is used by ==
.