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 |
Stops a particular run of a job.
Synopsis
- data StopJobRun = StopJobRun' {}
- newStopJobRun :: Text -> Text -> StopJobRun
- stopJobRun_name :: Lens' StopJobRun Text
- stopJobRun_runId :: Lens' StopJobRun Text
- data StopJobRunResponse = StopJobRunResponse' {
- httpStatus :: Int
- runId :: Text
- newStopJobRunResponse :: Int -> Text -> StopJobRunResponse
- stopJobRunResponse_httpStatus :: Lens' StopJobRunResponse Int
- stopJobRunResponse_runId :: Lens' StopJobRunResponse Text
Creating a Request
data StopJobRun Source #
See: newStopJobRun
smart constructor.
Instances
Create a value of StopJobRun
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:name:StopJobRun'
, stopJobRun_name
- The name of the job to be stopped.
$sel:runId:StopJobRun'
, stopJobRun_runId
- The ID of the job run to be stopped.
Request Lenses
stopJobRun_name :: Lens' StopJobRun Text Source #
The name of the job to be stopped.
stopJobRun_runId :: Lens' StopJobRun Text Source #
The ID of the job run to be stopped.
Destructuring the Response
data StopJobRunResponse Source #
See: newStopJobRunResponse
smart constructor.
StopJobRunResponse' | |
|
Instances
newStopJobRunResponse Source #
Create a value of StopJobRunResponse
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:StopJobRunResponse'
, stopJobRunResponse_httpStatus
- The response's http status code.
$sel:runId:StopJobRun'
, stopJobRunResponse_runId
- The ID of the job run that you stopped.
Response Lenses
stopJobRunResponse_httpStatus :: Lens' StopJobRunResponse Int Source #
The response's http status code.
stopJobRunResponse_runId :: Lens' StopJobRunResponse Text Source #
The ID of the job run that you stopped.