Struct aws_sdk_elasticache::client::fluent_builders::IncreaseReplicaCount [−][src]
pub struct IncreaseReplicaCount<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to IncreaseReplicaCount
.
Dynamically increases the number of replicas in a Redis (cluster mode disabled) replication group or the number of replica nodes in one or more node groups (shards) of a Redis (cluster mode enabled) replication group. This operation is performed with no cluster down time.
Implementations
impl<C, M, R> IncreaseReplicaCount<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> IncreaseReplicaCount<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<IncreaseReplicaCountOutput, SdkError<IncreaseReplicaCountError>> where
R::Policy: SmithyRetryPolicy<IncreaseReplicaCountInputOperationOutputAlias, IncreaseReplicaCountOutput, IncreaseReplicaCountError, IncreaseReplicaCountInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<IncreaseReplicaCountOutput, SdkError<IncreaseReplicaCountError>> where
R::Policy: SmithyRetryPolicy<IncreaseReplicaCountInputOperationOutputAlias, IncreaseReplicaCountOutput, IncreaseReplicaCountError, IncreaseReplicaCountInputOperationRetryAlias>,
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 id of the replication group to which you want to add replica nodes.
The id of the replication group to which you want to add replica nodes.
The number of read replica nodes you want at the completion of this operation. For Redis (cluster mode disabled) replication groups, this is the number of replica nodes in the replication group. For Redis (cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication group's node groups.
The number of read replica nodes you want at the completion of this operation. For Redis (cluster mode disabled) replication groups, this is the number of replica nodes in the replication group. For Redis (cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication group's node groups.
Appends an item to ReplicaConfiguration
.
To override the contents of this collection use set_replica_configuration
.
A list of ConfigureShard
objects that can be used to configure each shard
in a Redis (cluster mode enabled) replication group. The ConfigureShard
has three members:
NewReplicaCount
, NodeGroupId
, and PreferredAvailabilityZones
.
A list of ConfigureShard
objects that can be used to configure each shard
in a Redis (cluster mode enabled) replication group. The ConfigureShard
has three members:
NewReplicaCount
, NodeGroupId
, and PreferredAvailabilityZones
.
If True
, the number of replica nodes is increased immediately.
ApplyImmediately=False
is not currently supported.
If True
, the number of replica nodes is increased immediately.
ApplyImmediately=False
is not currently supported.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for IncreaseReplicaCount<C, M, R>
impl<C, M, R> Send for IncreaseReplicaCount<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for IncreaseReplicaCount<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for IncreaseReplicaCount<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for IncreaseReplicaCount<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