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 job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
Synopsis
- data CancelJobRun = CancelJobRun' {
- id :: Text
- virtualClusterId :: Text
- newCancelJobRun :: Text -> Text -> CancelJobRun
- cancelJobRun_id :: Lens' CancelJobRun Text
- cancelJobRun_virtualClusterId :: Lens' CancelJobRun Text
- data CancelJobRunResponse = CancelJobRunResponse' {
- id :: Maybe Text
- virtualClusterId :: Maybe Text
- httpStatus :: Int
- newCancelJobRunResponse :: Int -> CancelJobRunResponse
- cancelJobRunResponse_id :: Lens' CancelJobRunResponse (Maybe Text)
- cancelJobRunResponse_virtualClusterId :: Lens' CancelJobRunResponse (Maybe Text)
- cancelJobRunResponse_httpStatus :: Lens' CancelJobRunResponse Int
Creating a Request
data CancelJobRun Source #
See: newCancelJobRun
smart constructor.
CancelJobRun' | |
|
Instances
Create a value of CancelJobRun
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:id:CancelJobRun'
, cancelJobRun_id
- The ID of the job run to cancel.
$sel:virtualClusterId:CancelJobRun'
, cancelJobRun_virtualClusterId
- The ID of the virtual cluster for which the job run will be canceled.
Request Lenses
cancelJobRun_id :: Lens' CancelJobRun Text Source #
The ID of the job run to cancel.
cancelJobRun_virtualClusterId :: Lens' CancelJobRun Text Source #
The ID of the virtual cluster for which the job run will be canceled.
Destructuring the Response
data CancelJobRunResponse Source #
See: newCancelJobRunResponse
smart constructor.
CancelJobRunResponse' | |
|
Instances
newCancelJobRunResponse Source #
Create a value of CancelJobRunResponse
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:id:CancelJobRun'
, cancelJobRunResponse_id
- The output contains the ID of the cancelled job run.
$sel:virtualClusterId:CancelJobRun'
, cancelJobRunResponse_virtualClusterId
- The output contains the virtual cluster ID for which the job run is
cancelled.
$sel:httpStatus:CancelJobRunResponse'
, cancelJobRunResponse_httpStatus
- The response's http status code.
Response Lenses
cancelJobRunResponse_id :: Lens' CancelJobRunResponse (Maybe Text) Source #
The output contains the ID of the cancelled job run.
cancelJobRunResponse_virtualClusterId :: Lens' CancelJobRunResponse (Maybe Text) Source #
The output contains the virtual cluster ID for which the job run is cancelled.
cancelJobRunResponse_httpStatus :: Lens' CancelJobRunResponse Int Source #
The response's http status code.