Copyright | (c) 2013-2021 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 |
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.
Synopsis
- data DeleteCluster = DeleteCluster' {}
- newDeleteCluster :: Text -> DeleteCluster
- deleteCluster_clusterId :: Lens' DeleteCluster Text
- data DeleteClusterResponse = DeleteClusterResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newDeleteClusterResponse :: Int -> DeleteClusterResponse
- deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster)
- deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
Creating a Request
data DeleteCluster Source #
See: newDeleteCluster
smart constructor.
Instances
Create a value of DeleteCluster
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clusterId:DeleteCluster'
, deleteCluster_clusterId
- The identifier (ID) of the cluster that you are deleting. To find the
cluster ID, use DescribeClusters.
Request Lenses
deleteCluster_clusterId :: Lens' DeleteCluster Text Source #
The identifier (ID) of the cluster that you are deleting. To find the cluster ID, use DescribeClusters.
Destructuring the Response
data DeleteClusterResponse Source #
See: newDeleteClusterResponse
smart constructor.
DeleteClusterResponse' | |
|
Instances
newDeleteClusterResponse Source #
Create a value of DeleteClusterResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cluster:DeleteClusterResponse'
, deleteClusterResponse_cluster
- Information about the cluster that was deleted.
$sel:httpStatus:DeleteClusterResponse'
, deleteClusterResponse_httpStatus
- The response's http status code.
Response Lenses
deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster) Source #
Information about the cluster that was deleted.
deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int Source #
The response's http status code.