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 |
Delete a cluster.
Synopsis
- data DeleteCluster = DeleteCluster' {
- clusterArn :: Text
- newDeleteCluster :: Text -> DeleteCluster
- deleteCluster_clusterArn :: Lens' DeleteCluster Text
- data DeleteClusterResponse = DeleteClusterResponse' {
- httpStatus :: Int
- newDeleteClusterResponse :: Int -> DeleteClusterResponse
- 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:clusterArn:DeleteCluster'
, deleteCluster_clusterArn
- The Amazon Resource Name (ARN) of the cluster that you're deleting.
Request Lenses
deleteCluster_clusterArn :: Lens' DeleteCluster Text Source #
The Amazon Resource Name (ARN) of the cluster that you're deleting.
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:httpStatus:DeleteClusterResponse'
, deleteClusterResponse_httpStatus
- The response's http status code.
Response Lenses
deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int Source #
The response's http status code.