| 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.DataBrew.StopJobRun
Description
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.
Constructors
| StopJobRun' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> StopJobRun |
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:
StopJobRun, stopJobRun_name - The name of the job to be stopped.
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.
Constructors
| StopJobRunResponse' | |
Fields
| |
Instances
newStopJobRunResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> StopJobRunResponse |
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.
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.