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 |
Retrieves all current job definitions.
This operation returns paginated results.
Synopsis
- getJobs :: GetJobs
- data GetJobs
- gjNextToken :: Lens' GetJobs (Maybe Text)
- gjMaxResults :: Lens' GetJobs (Maybe Natural)
- getJobsResponse :: Int -> GetJobsResponse
- data GetJobsResponse
- gjsrsNextToken :: Lens' GetJobsResponse (Maybe Text)
- gjsrsJobs :: Lens' GetJobsResponse [Job]
- gjsrsResponseStatus :: Lens' GetJobsResponse Int
Creating a Request
Creates a value of GetJobs
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gjNextToken
- A continuation token, if this is a continuation call.gjMaxResults
- The maximum size of the response.
See: getJobs
smart constructor.
Instances
Request Lenses
gjNextToken :: Lens' GetJobs (Maybe Text) Source #
A continuation token, if this is a continuation call.
Destructuring the Response
Creates a value of GetJobsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gjsrsNextToken
- A continuation token, if not all job definitions have yet been returned.gjsrsJobs
- A list of job definitions.gjsrsResponseStatus
- -- | The response status code.
data GetJobsResponse Source #
See: getJobsResponse
smart constructor.
Instances
Response Lenses
gjsrsNextToken :: Lens' GetJobsResponse (Maybe Text) Source #
A continuation token, if not all job definitions have yet been returned.
gjsrsResponseStatus :: Lens' GetJobsResponse Int Source #
- - | The response status code.