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 |
Gets information about a job.
Synopsis
- getJob :: Text -> GetJob
- data GetJob
- gjArn :: Lens' GetJob Text
- getJobResponse :: Int -> GetJobResponse
- data GetJobResponse
- gjrsJob :: Lens' GetJobResponse (Maybe Job)
- gjrsResponseStatus :: Lens' GetJobResponse Int
Creating a Request
Represents a request to the get job operation.
See: getJob
smart constructor.
Instances
Request Lenses
Destructuring the Response
Creates a value of GetJobResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gjrsJob
- An object containing information about the requested job.gjrsResponseStatus
- -- | The response status code.
data GetJobResponse Source #
Represents the result of a get job request.
See: getJobResponse
smart constructor.
Instances
Response Lenses
gjrsJob :: Lens' GetJobResponse (Maybe Job) Source #
An object containing information about the requested job.
gjrsResponseStatus :: Lens' GetJobResponse Int Source #
- - | The response status code.