pub struct DeleteCacheCluster { /* private fields */ }
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§
source§impl DeleteCacheCluster
impl DeleteCacheCluster
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteCacheCluster, AwsResponseRetryClassifier>, SdkError<DeleteCacheClusterError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteCacheCluster, AwsResponseRetryClassifier>, SdkError<DeleteCacheClusterError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeleteCacheClusterOutput, SdkError<DeleteCacheClusterError>>
pub async fn send(
self
) -> Result<DeleteCacheClusterOutput, SdkError<DeleteCacheClusterError>>
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.
sourcepub fn cache_cluster_id(self, input: impl Into<String>) -> Self
pub fn cache_cluster_id(self, input: impl Into<String>) -> Self
The cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
sourcepub fn set_cache_cluster_id(self, input: Option<String>) -> Self
pub fn set_cache_cluster_id(self, input: Option<String>) -> Self
The cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
sourcepub fn final_snapshot_identifier(self, input: impl Into<String>) -> Self
pub fn final_snapshot_identifier(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_final_snapshot_identifier(self, input: Option<String>) -> Self
pub fn set_final_snapshot_identifier(self, input: Option<String>) -> Self
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§
source§impl Clone for DeleteCacheCluster
impl Clone for DeleteCacheCluster
source§fn clone(&self) -> DeleteCacheCluster
fn clone(&self) -> DeleteCacheCluster
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more