amazonka-elasticache-1.4.0: Amazon ElastiCache SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElastiCache.DeleteCacheCluster

Contents

Description

The DeleteCacheCluster action deletes a previously provisioned cache cluster. DeleteCacheCluster deletes all associated cache nodes, node endpoints and the cache cluster itself. When you receive a successful response from this action, Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this action.

This API cannot be used to delete a cache cluster that is the last read replica of a replication group that has Multi-AZ mode enabled.

Synopsis

Creating a Request

deleteCacheCluster Source

Creates a value of DeleteCacheCluster with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dccFinalSnapshotIdentifier :: Lens' DeleteCacheCluster (Maybe Text) Source

The user-supplied name of a final cache cluster snapshot. This is the unique name that identifies the snapshot. ElastiCache creates the snapshot, and then deletes the cache cluster immediately afterward.

dccCacheClusterId :: Lens' DeleteCacheCluster Text Source

The cache cluster identifier for the cluster to be deleted. This parameter is not case sensitive.

Destructuring the Response

deleteCacheClusterResponse Source

Creates a value of DeleteCacheClusterResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses