Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- deleteCacheCluster :: Text -> DeleteCacheCluster
- data DeleteCacheCluster
- dccFinalSnapshotIdentifier :: Lens' DeleteCacheCluster (Maybe Text)
- dccCacheClusterId :: Lens' DeleteCacheCluster Text
- deleteCacheClusterResponse :: Int -> DeleteCacheClusterResponse
- data DeleteCacheClusterResponse
- dccrsCacheCluster :: Lens' DeleteCacheClusterResponse (Maybe CacheCluster)
- dccrsResponseStatus :: Lens' DeleteCacheClusterResponse Int
Creating a Request
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:
data DeleteCacheCluster Source #
Represents the input of a DeleteCacheCluster action.
See: deleteCacheCluster
smart constructor.
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:
data DeleteCacheClusterResponse Source #
See: deleteCacheClusterResponse
smart constructor.
Response Lenses
dccrsCacheCluster :: Lens' DeleteCacheClusterResponse (Maybe CacheCluster) Source #
Undocumented member.
dccrsResponseStatus :: Lens' DeleteCacheClusterResponse Int Source #
The response status code.