pub struct DecreaseReplicationFactor<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DecreaseReplicationFactor
.
Removes one or more nodes from a DAX cluster.
You cannot use DecreaseReplicationFactor
to remove the last node in a DAX cluster. If you need to do this, use DeleteCluster
instead.
Implementations
impl<C, M, R> DecreaseReplicationFactor<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DecreaseReplicationFactor<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DecreaseReplicationFactorOutput, SdkError<DecreaseReplicationFactorError>> where
R::Policy: SmithyRetryPolicy<DecreaseReplicationFactorInputOperationOutputAlias, DecreaseReplicationFactorOutput, DecreaseReplicationFactorError, DecreaseReplicationFactorInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DecreaseReplicationFactorOutput, SdkError<DecreaseReplicationFactorError>> where
R::Policy: SmithyRetryPolicy<DecreaseReplicationFactorInputOperationOutputAlias, DecreaseReplicationFactorOutput, DecreaseReplicationFactorError, DecreaseReplicationFactorInputOperationRetryAlias>,
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 DAX cluster from which you want to remove nodes.
The name of the DAX cluster from which you want to remove nodes.
The new number of nodes for the DAX cluster.
The new number of nodes for the DAX cluster.
Appends an item to AvailabilityZones
.
To override the contents of this collection use set_availability_zones
.
The Availability Zone(s) from which to remove nodes.
The Availability Zone(s) from which to remove nodes.
Appends an item to NodeIdsToRemove
.
To override the contents of this collection use set_node_ids_to_remove
.
The unique identifiers of the nodes to be removed from the cluster.
The unique identifiers of the nodes to be removed from the cluster.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DecreaseReplicationFactor<C, M, R>
impl<C, M, R> Send for DecreaseReplicationFactor<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DecreaseReplicationFactor<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DecreaseReplicationFactor<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DecreaseReplicationFactor<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