Struct aws_sdk_elasticache::client::fluent_builders::DeleteReplicationGroup [−][src]
pub struct DeleteReplicationGroup<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteReplicationGroup
.
Deletes an existing replication group.
By default, this operation deletes the entire replication group, including the primary/primaries and all of the read replicas.
If the replication group has only one primary,
you can optionally delete only the read replicas, while retaining the primary by setting RetainPrimaryCluster=true
.
When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation.
This operation is valid for Redis only.
Implementations
impl<C, M, R> DeleteReplicationGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteReplicationGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteReplicationGroupOutput, SdkError<DeleteReplicationGroupError>> where
R::Policy: SmithyRetryPolicy<DeleteReplicationGroupInputOperationOutputAlias, DeleteReplicationGroupOutput, DeleteReplicationGroupError, DeleteReplicationGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteReplicationGroupOutput, SdkError<DeleteReplicationGroupError>> where
R::Policy: SmithyRetryPolicy<DeleteReplicationGroupInputOperationOutputAlias, DeleteReplicationGroupOutput, DeleteReplicationGroupError, DeleteReplicationGroupInputOperationRetryAlias>,
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 identifier for the cluster to be deleted. This parameter is not case sensitive.
The identifier for the cluster to be deleted. This parameter is not case sensitive.
If set to true
, all of the read replicas are deleted,
but the primary node is retained.
If set to true
, all of the read replicas are deleted,
but the primary node is retained.
The name of a final node group (shard) snapshot. ElastiCache creates the snapshot from the primary node in the cluster, rather than one of the replicas; this is to ensure that it captures the freshest data. After the final snapshot is taken, the replication group is immediately deleted.
The name of a final node group (shard) snapshot. ElastiCache creates the snapshot from the primary node in the cluster, rather than one of the replicas; this is to ensure that it captures the freshest data. After the final snapshot is taken, the replication group is immediately deleted.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteReplicationGroup<C, M, R>
impl<C, M, R> Send for DeleteReplicationGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteReplicationGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteReplicationGroup<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteReplicationGroup<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