Struct aws_sdk_elasticache::input::DecreaseNodeGroupsInGlobalReplicationGroupInput [−][src]
#[non_exhaustive]pub struct DecreaseNodeGroupsInGlobalReplicationGroupInput {
pub global_replication_group_id: Option<String>,
pub node_group_count: i32,
pub global_node_groups_to_remove: Option<Vec<String>>,
pub global_node_groups_to_retain: Option<Vec<String>>,
pub apply_immediately: bool,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.global_replication_group_id: Option<String>
The name of the Global datastore
node_group_count: i32
The number of node groups (shards) that results from the modification of the shard configuration
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. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster.
ElastiCache for Redis will attempt to remove all node groups listed by GlobalNodeGroupsToRemove 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. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache for Redis will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.
apply_immediately: bool
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
Implementations
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DecreaseNodeGroupsInGlobalReplicationGroup, AwsErrorRetryPolicy>, BuildError>
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DecreaseNodeGroupsInGlobalReplicationGroup, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DecreaseNodeGroupsInGlobalReplicationGroup
>
Creates a new builder-style object to manufacture DecreaseNodeGroupsInGlobalReplicationGroupInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more