| 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.IoT.CancelJob
Description
Cancels a job.
Synopsis
- cancelJob :: Text -> CancelJob
- data CancelJob
- cComment :: Lens' CancelJob (Maybe Text)
- cJobId :: Lens' CancelJob Text
- cancelJobResponse :: Int -> CancelJobResponse
- data CancelJobResponse
- crsJobId :: Lens' CancelJobResponse (Maybe Text)
- crsJobARN :: Lens' CancelJobResponse (Maybe Text)
- crsDescription :: Lens' CancelJobResponse (Maybe Text)
- crsResponseStatus :: Lens' CancelJobResponse Int
Creating a Request
See: cancelJob smart constructor.
Instances
Request Lenses
cComment :: Lens' CancelJob (Maybe Text) Source #
An optional comment string describing why the job was canceled.
cJobId :: Lens' CancelJob Text Source #
The unique identifier you assigned to this job when it was created.
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:
crsJobId- The unique identifier you assigned to this job when it was created.crsJobARN- The job ARN.crsDescription- A short text description of the job.crsResponseStatus- -- | The response status code.
data CancelJobResponse Source #
See: cancelJobResponse smart constructor.
Instances
Response Lenses
crsJobId :: Lens' CancelJobResponse (Maybe Text) Source #
The unique identifier you assigned to this job when it was created.
crsDescription :: Lens' CancelJobResponse (Maybe Text) Source #
A short text description of the job.
crsResponseStatus :: Lens' CancelJobResponse Int Source #
- - | The response status code.