| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CloudHSMv2.DeleteCluster
Description
Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters . To delete an HSM, use DeleteHsm .
Creating a Request
Arguments
| :: Text | |
| -> DeleteCluster |
Creates a value of DeleteCluster with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcClusterId- The identifier (ID) of the cluster that you are deleting. To find the cluster ID, useDescribeClusters.
data DeleteCluster Source #
See: deleteCluster smart constructor.
Instances
Request Lenses
dcClusterId :: Lens' DeleteCluster Text Source #
The identifier (ID) of the cluster that you are deleting. To find the cluster ID, use DescribeClusters .
Destructuring the Response
deleteClusterResponse Source #
Arguments
| :: Int | |
| -> DeleteClusterResponse |
Creates a value of DeleteClusterResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsCluster- Information about the cluster that was deleted.drsResponseStatus- -- | The response status code.
data DeleteClusterResponse Source #
See: deleteClusterResponse smart constructor.
Response Lenses
drsCluster :: Lens' DeleteClusterResponse (Maybe Cluster) Source #
Information about the cluster that was deleted.
drsResponseStatus :: Lens' DeleteClusterResponse Int Source #
- - | The response status code.