Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Delete a Elastic DocumentDB cluster.
Synopsis
- data DeleteCluster = DeleteCluster' {
- clusterArn :: Text
- newDeleteCluster :: Text -> DeleteCluster
- deleteCluster_clusterArn :: Lens' DeleteCluster Text
- data DeleteClusterResponse = DeleteClusterResponse' {
- httpStatus :: Int
- cluster :: Cluster
- newDeleteClusterResponse :: Int -> Cluster -> DeleteClusterResponse
- deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
- deleteClusterResponse_cluster :: Lens' DeleteClusterResponse Cluster
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:
DeleteCluster
, deleteCluster_clusterArn
- The arn of the Elastic DocumentDB cluster that is to be deleted.
Request Lenses
deleteCluster_clusterArn :: Lens' DeleteCluster Text Source #
The arn of the Elastic DocumentDB cluster that is to be deleted.
Destructuring the Response
data DeleteClusterResponse Source #
See: newDeleteClusterResponse
smart constructor.
DeleteClusterResponse' | |
|
Instances
newDeleteClusterResponse Source #
:: Int | |
-> Cluster | |
-> DeleteClusterResponse |
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:httpStatus:DeleteClusterResponse'
, deleteClusterResponse_httpStatus
- The response's http status code.
$sel:cluster:DeleteClusterResponse'
, deleteClusterResponse_cluster
- Returns information about the newly deleted Elastic DocumentDB cluster.
Response Lenses
deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int Source #
The response's http status code.
deleteClusterResponse_cluster :: Lens' DeleteClusterResponse Cluster Source #
Returns information about the newly deleted Elastic DocumentDB cluster.