Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete.
See: AWS API Reference for CancelJob.
Creating a Request
Creates a value of CancelJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Input structure for the CancelJob operation.
See: cancelJob
smart constructor.
Request Lenses
Destructuring the Response
Creates a value of CancelJobResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CancelJobResponse Source
Output structure for the CancelJob operation.
See: cancelJobResponse
smart constructor.
Response Lenses
crsSuccess :: Lens' CancelJobResponse (Maybe Bool) Source
Undocumented member.
crsResponseStatus :: Lens' CancelJobResponse Int Source
The response status code.