| Copyright | (c) 2013-2016 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 |
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:
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:
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.