Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.AWS.ElastiCache.DeleteCacheCluster
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.
http://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_DeleteCacheCluster.html
- data DeleteCacheCluster
- deleteCacheCluster :: Text -> DeleteCacheCluster
- dccCacheClusterId :: Lens' DeleteCacheCluster Text
- dccFinalSnapshotIdentifier :: Lens' DeleteCacheCluster (Maybe Text)
- data DeleteCacheClusterResponse
- deleteCacheClusterResponse :: DeleteCacheClusterResponse
- dccrCacheCluster :: Lens' DeleteCacheClusterResponse (Maybe CacheCluster)
Request
data DeleteCacheCluster Source
Instances
Eq DeleteCacheCluster | |
Ord DeleteCacheCluster | |
Read DeleteCacheCluster | |
Show DeleteCacheCluster | |
AWSRequest DeleteCacheCluster | |
ToQuery DeleteCacheCluster | |
ToPath DeleteCacheCluster | |
ToHeaders DeleteCacheCluster | |
type Sv DeleteCacheCluster = ElastiCache | |
type Rs DeleteCacheCluster = DeleteCacheClusterResponse |
Request constructor
Arguments
:: Text | |
-> DeleteCacheCluster |
DeleteCacheCluster
constructor.
The fields accessible through corresponding lenses are:
dccCacheClusterId
::
Text
dccFinalSnapshotIdentifier
::
Maybe
Text
Request lenses
dccCacheClusterId :: Lens' DeleteCacheCluster Text Source
The cache cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
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.
Response
Response constructor
deleteCacheClusterResponse :: DeleteCacheClusterResponse Source
DeleteCacheClusterResponse
constructor.
The fields accessible through corresponding lenses are: