| 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.Glue.BatchStopJobRun
Description
Stops one or more job runs for a specified job definition.
Synopsis
- data BatchStopJobRun = BatchStopJobRun' {}
- newBatchStopJobRun :: Text -> NonEmpty Text -> BatchStopJobRun
- batchStopJobRun_jobName :: Lens' BatchStopJobRun Text
- batchStopJobRun_jobRunIds :: Lens' BatchStopJobRun (NonEmpty Text)
- data BatchStopJobRunResponse = BatchStopJobRunResponse' {}
- newBatchStopJobRunResponse :: Int -> BatchStopJobRunResponse
- batchStopJobRunResponse_errors :: Lens' BatchStopJobRunResponse (Maybe [BatchStopJobRunError])
- batchStopJobRunResponse_successfulSubmissions :: Lens' BatchStopJobRunResponse (Maybe [BatchStopJobRunSuccessfulSubmission])
- batchStopJobRunResponse_httpStatus :: Lens' BatchStopJobRunResponse Int
Creating a Request
data BatchStopJobRun Source #
See: newBatchStopJobRun smart constructor.
Constructors
| BatchStopJobRun' | |
Instances
Create a value of BatchStopJobRun 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:
BatchStopJobRun, batchStopJobRun_jobName - The name of the job definition for which to stop job runs.
$sel:jobRunIds:BatchStopJobRun', batchStopJobRun_jobRunIds - A list of the JobRunIds that should be stopped for that job
definition.
Request Lenses
batchStopJobRun_jobName :: Lens' BatchStopJobRun Text Source #
The name of the job definition for which to stop job runs.
batchStopJobRun_jobRunIds :: Lens' BatchStopJobRun (NonEmpty Text) Source #
A list of the JobRunIds that should be stopped for that job
definition.
Destructuring the Response
data BatchStopJobRunResponse Source #
See: newBatchStopJobRunResponse smart constructor.
Constructors
| BatchStopJobRunResponse' | |
Fields
| |
Instances
newBatchStopJobRunResponse Source #
Create a value of BatchStopJobRunResponse 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:errors:BatchStopJobRunResponse', batchStopJobRunResponse_errors - A list of the errors that were encountered in trying to stop JobRuns,
including the JobRunId for which each error was encountered and
details about the error.
$sel:successfulSubmissions:BatchStopJobRunResponse', batchStopJobRunResponse_successfulSubmissions - A list of the JobRuns that were successfully submitted for stopping.
$sel:httpStatus:BatchStopJobRunResponse', batchStopJobRunResponse_httpStatus - The response's http status code.
Response Lenses
batchStopJobRunResponse_errors :: Lens' BatchStopJobRunResponse (Maybe [BatchStopJobRunError]) Source #
A list of the errors that were encountered in trying to stop JobRuns,
including the JobRunId for which each error was encountered and
details about the error.
batchStopJobRunResponse_successfulSubmissions :: Lens' BatchStopJobRunResponse (Maybe [BatchStopJobRunSuccessfulSubmission]) Source #
A list of the JobRuns that were successfully submitted for stopping.
batchStopJobRunResponse_httpStatus :: Lens' BatchStopJobRunResponse Int Source #
The response's http status code.