Struct aws_sdk_elasticache::client::fluent_builders::DeleteCacheCluster [−][src]
pub struct DeleteCacheCluster<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteCacheCluster
.
Deletes a previously provisioned cluster.
DeleteCacheCluster
deletes all associated cache nodes, node endpoints and the
cluster itself. When you receive a successful response from this operation,
Amazon ElastiCache immediately begins deleting the cluster; you cannot cancel or revert
this operation.
This operation is not valid for:
-
Redis (cluster mode enabled) clusters
-
Redis (cluster mode disabled) clusters
-
A cluster that is the last read replica of a replication group
-
A cluster that is the primary node of a replication group
-
A node group (shard) that has Multi-AZ mode enabled
-
A cluster from a Redis (cluster mode enabled) replication group
-
A cluster that is not in the
available
state
Implementations
impl<C, M, R> DeleteCacheCluster<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteCacheCluster<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteCacheClusterOutput, SdkError<DeleteCacheClusterError>> where
R::Policy: SmithyRetryPolicy<DeleteCacheClusterInputOperationOutputAlias, DeleteCacheClusterOutput, DeleteCacheClusterError, DeleteCacheClusterInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteCacheClusterOutput, SdkError<DeleteCacheClusterError>> where
R::Policy: SmithyRetryPolicy<DeleteCacheClusterInputOperationOutputAlias, DeleteCacheClusterOutput, DeleteCacheClusterError, DeleteCacheClusterInputOperationRetryAlias>,
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 cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
The cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. ElastiCache creates the snapshot, and then deletes the cluster immediately afterward.
The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. ElastiCache creates the snapshot, and then deletes the cluster immediately afterward.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteCacheCluster<C, M, R>
impl<C, M, R> Send for DeleteCacheCluster<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteCacheCluster<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteCacheCluster<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteCacheCluster<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