Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Stops a batch of job runs for a given job.
- batchStopJobRun :: Text -> NonEmpty Text -> BatchStopJobRun
- data BatchStopJobRun
- bsjrJobName :: Lens' BatchStopJobRun Text
- bsjrJobRunIds :: Lens' BatchStopJobRun (NonEmpty Text)
- batchStopJobRunResponse :: Int -> BatchStopJobRunResponse
- data BatchStopJobRunResponse
- bsjrrsSuccessfulSubmissions :: Lens' BatchStopJobRunResponse [BatchStopJobRunSuccessfulSubmission]
- bsjrrsErrors :: Lens' BatchStopJobRunResponse [BatchStopJobRunError]
- bsjrrsResponseStatus :: Lens' BatchStopJobRunResponse Int
Creating a Request
Creates a value of BatchStopJobRun
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bsjrJobName
- The name of the job whose job runs are to be stopped.bsjrJobRunIds
- A list of job run Ids of the given job to be stopped.
data BatchStopJobRun Source #
See: batchStopJobRun
smart constructor.
Request Lenses
bsjrJobName :: Lens' BatchStopJobRun Text Source #
The name of the job whose job runs are to be stopped.
bsjrJobRunIds :: Lens' BatchStopJobRun (NonEmpty Text) Source #
A list of job run Ids of the given job to be stopped.
Destructuring the Response
batchStopJobRunResponse Source #
Creates a value of BatchStopJobRunResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bsjrrsSuccessfulSubmissions
- A list of job runs which are successfully submitted for stopping.bsjrrsErrors
- A list containing the job run Ids and details of the error that occurred for each job run while submitting to stop.bsjrrsResponseStatus
- -- | The response status code.
data BatchStopJobRunResponse Source #
See: batchStopJobRunResponse
smart constructor.
Response Lenses
bsjrrsSuccessfulSubmissions :: Lens' BatchStopJobRunResponse [BatchStopJobRunSuccessfulSubmission] Source #
A list of job runs which are successfully submitted for stopping.
bsjrrsErrors :: Lens' BatchStopJobRunResponse [BatchStopJobRunError] Source #
A list containing the job run Ids and details of the error that occurred for each job run while submitting to stop.
bsjrrsResponseStatus :: Lens' BatchStopJobRunResponse Int Source #
- - | The response status code.