| 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 |
Amazonka.EMRServerless.CancelJobRun
Description
Cancels a job run.
Synopsis
- data CancelJobRun = CancelJobRun' {
- applicationId :: Text
- jobRunId :: Text
- newCancelJobRun :: Text -> Text -> CancelJobRun
- cancelJobRun_applicationId :: Lens' CancelJobRun Text
- cancelJobRun_jobRunId :: Lens' CancelJobRun Text
- data CancelJobRunResponse = CancelJobRunResponse' {
- httpStatus :: Int
- applicationId :: Text
- jobRunId :: Text
- newCancelJobRunResponse :: Int -> Text -> Text -> CancelJobRunResponse
- cancelJobRunResponse_httpStatus :: Lens' CancelJobRunResponse Int
- cancelJobRunResponse_applicationId :: Lens' CancelJobRunResponse Text
- cancelJobRunResponse_jobRunId :: Lens' CancelJobRunResponse Text
Creating a Request
data CancelJobRun Source #
See: newCancelJobRun smart constructor.
Constructors
| CancelJobRun' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> CancelJobRun |
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:
CancelJobRun, cancelJobRun_applicationId - The ID of the application on which the job run will be canceled.
CancelJobRun, cancelJobRun_jobRunId - The ID of the job run to cancel.
Request Lenses
cancelJobRun_applicationId :: Lens' CancelJobRun Text Source #
The ID of the application on which the job run will be canceled.
cancelJobRun_jobRunId :: Lens' CancelJobRun Text Source #
The ID of the job run to cancel.
Destructuring the Response
data CancelJobRunResponse Source #
See: newCancelJobRunResponse smart constructor.
Constructors
| CancelJobRunResponse' | |
Fields
| |
Instances
newCancelJobRunResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> CancelJobRunResponse |
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:httpStatus:CancelJobRunResponse', cancelJobRunResponse_httpStatus - The response's http status code.
CancelJobRun, cancelJobRunResponse_applicationId - The output contains the application ID on which the job run is
cancelled.
CancelJobRun, cancelJobRunResponse_jobRunId - The output contains the ID of the cancelled job run.
Response Lenses
cancelJobRunResponse_httpStatus :: Lens' CancelJobRunResponse Int Source #
The response's http status code.
cancelJobRunResponse_applicationId :: Lens' CancelJobRunResponse Text Source #
The output contains the application ID on which the job run is cancelled.
cancelJobRunResponse_jobRunId :: Lens' CancelJobRunResponse Text Source #
The output contains the ID of the cancelled job run.