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 |
Permanently remove a job from a queue. Once you have canceled a job, you can't start it again. You can't delete a running job.
Synopsis
- cancelJob :: Text -> CancelJob
- data CancelJob
- cjId :: Lens' CancelJob Text
- cancelJobResponse :: Int -> CancelJobResponse
- data CancelJobResponse
- crsResponseStatus :: Lens' CancelJobResponse Int
Creating a Request
See: cancelJob
smart constructor.
Instances
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:
crsResponseStatus
- -- | The response status code.
data CancelJobResponse Source #
See: cancelJobResponse
smart constructor.
Instances
Response Lenses
crsResponseStatus :: Lens' CancelJobResponse Int Source #
- - | The response status code.