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 a previously provisioned DAX cluster. DeleteCluster deletes all associated nodes, node endpoints and the DAX cluster itself. When you receive a successful response from this action, DAX immediately begins deleting the cluster; you cannot cancel or revert this action.
Synopsis
- data DeleteCluster = DeleteCluster' {
- clusterName :: Text
- newDeleteCluster :: Text -> DeleteCluster
- deleteCluster_clusterName :: 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.
DeleteCluster' | |
|
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:clusterName:DeleteCluster'
, deleteCluster_clusterName
- The name of the cluster to be deleted.
Request Lenses
deleteCluster_clusterName :: Lens' DeleteCluster Text Source #
The name of the cluster to be deleted.
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
- A description of the DAX cluster that is being deleted.
$sel:httpStatus:DeleteClusterResponse'
, deleteClusterResponse_httpStatus
- The response's http status code.
Response Lenses
deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster) Source #
A description of the DAX cluster that is being deleted.
deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int Source #
The response's http status code.