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 |
Cancels a cluster job. You can only cancel a cluster job while it's in
the AwaitingQuorum
status. You'll have at least an hour after
creating a cluster job to cancel it.
Synopsis
- data CancelCluster = CancelCluster' {}
- newCancelCluster :: Text -> CancelCluster
- cancelCluster_clusterId :: Lens' CancelCluster Text
- data CancelClusterResponse = CancelClusterResponse' {
- httpStatus :: Int
- newCancelClusterResponse :: Int -> CancelClusterResponse
- cancelClusterResponse_httpStatus :: Lens' CancelClusterResponse Int
Creating a Request
data CancelCluster Source #
See: newCancelCluster
smart constructor.
Instances
Create a value of CancelCluster
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:CancelCluster'
, cancelCluster_clusterId
- The 39-character ID for the cluster that you want to cancel, for example
CID123e4567-e89b-12d3-a456-426655440000
.
Request Lenses
cancelCluster_clusterId :: Lens' CancelCluster Text Source #
The 39-character ID for the cluster that you want to cancel, for example
CID123e4567-e89b-12d3-a456-426655440000
.
Destructuring the Response
data CancelClusterResponse Source #
See: newCancelClusterResponse
smart constructor.
CancelClusterResponse' | |
|
Instances
newCancelClusterResponse Source #
Create a value of CancelClusterResponse
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:CancelClusterResponse'
, cancelClusterResponse_httpStatus
- The response's http status code.
Response Lenses
cancelClusterResponse_httpStatus :: Lens' CancelClusterResponse Int Source #
The response's http status code.