Struct aws_sdk_elasticache::client::fluent_builders::DecreaseNodeGroupsInGlobalReplicationGroup [−][src]
pub struct DecreaseNodeGroupsInGlobalReplicationGroup<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DecreaseNodeGroupsInGlobalReplicationGroup
.
Decreases the number of node groups in a Global datastore
Implementations
impl<C, M, R> DecreaseNodeGroupsInGlobalReplicationGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DecreaseNodeGroupsInGlobalReplicationGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DecreaseNodeGroupsInGlobalReplicationGroupOutput, SdkError<DecreaseNodeGroupsInGlobalReplicationGroupError>> where
R::Policy: SmithyRetryPolicy<DecreaseNodeGroupsInGlobalReplicationGroupInputOperationOutputAlias, DecreaseNodeGroupsInGlobalReplicationGroupOutput, DecreaseNodeGroupsInGlobalReplicationGroupError, DecreaseNodeGroupsInGlobalReplicationGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DecreaseNodeGroupsInGlobalReplicationGroupOutput, SdkError<DecreaseNodeGroupsInGlobalReplicationGroupError>> where
R::Policy: SmithyRetryPolicy<DecreaseNodeGroupsInGlobalReplicationGroupInputOperationOutputAlias, DecreaseNodeGroupsInGlobalReplicationGroupOutput, DecreaseNodeGroupsInGlobalReplicationGroupError, DecreaseNodeGroupsInGlobalReplicationGroupInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the Global datastore
The name of the Global datastore
The number of node groups (shards) that results from the modification of the shard configuration
The number of node groups (shards) that results from the modification of the shard configuration
Appends an item to GlobalNodeGroupsToRemove
.
To override the contents of this collection use set_global_node_groups_to_remove
.
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.
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.
Appends an item to GlobalNodeGroupsToRetain
.
To override the contents of this collection use set_global_node_groups_to_retain
.
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.
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.
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DecreaseNodeGroupsInGlobalReplicationGroup<C, M, R>
impl<C, M, R> Send for DecreaseNodeGroupsInGlobalReplicationGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DecreaseNodeGroupsInGlobalReplicationGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DecreaseNodeGroupsInGlobalReplicationGroup<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DecreaseNodeGroupsInGlobalReplicationGroup<C, M, R>
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