| Copyright | (c) 2013-2018 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 |
Network.AWS.ImportExport.CancelJob
Description
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.
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:
cAPIVersion- Undocumented member.cJobId- Undocumented member.
Input structure for the CancelJob operation.
See: cancelJob smart constructor.
Instances
Request Lenses
Destructuring the Response
Arguments
| :: Int | |
| -> CancelJobResponse |
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:
crsSuccess- Undocumented member.crsResponseStatus- -- | The response status code.
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.