| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <[email protected]> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ElastiCache.DeleteCacheCluster
Description
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 cannot be used to delete a cluster that is the last read replica of a replication group or node group (shard) that has Multi-AZ mode enabled or a cluster from a Redis (cluster mode enabled) replication group.
Important: Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups.
- 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
Arguments
| :: Text | |
| -> DeleteCacheCluster |
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:
dccFinalSnapshotIdentifier- 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.dccCacheClusterId- The cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
data DeleteCacheCluster Source #
Represents the input of a DeleteCacheCluster operation.
See: deleteCacheCluster smart constructor.
Instances
Request Lenses
dccFinalSnapshotIdentifier :: Lens' DeleteCacheCluster (Maybe Text) Source #
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.
dccCacheClusterId :: Lens' DeleteCacheCluster Text Source #
The cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
Destructuring the Response
deleteCacheClusterResponse Source #
Arguments
| :: Int | |
| -> DeleteCacheClusterResponse |
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:
dccrsCacheCluster- Undocumented member.dccrsResponseStatus- -- | The response status code.
Response Lenses
dccrsCacheCluster :: Lens' DeleteCacheClusterResponse (Maybe CacheCluster) Source #
Undocumented member.
dccrsResponseStatus :: Lens' DeleteCacheClusterResponse Int Source #
- - | The response status code.