Copyright | (c) 2013-2021 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 |
Retrieves all current job definitions.
This operation returns paginated results.
Synopsis
- data GetJobs = GetJobs' {}
- newGetJobs :: GetJobs
- getJobs_nextToken :: Lens' GetJobs (Maybe Text)
- getJobs_maxResults :: Lens' GetJobs (Maybe Natural)
- data GetJobsResponse = GetJobsResponse' {}
- newGetJobsResponse :: Int -> GetJobsResponse
- getJobsResponse_nextToken :: Lens' GetJobsResponse (Maybe Text)
- getJobsResponse_jobs :: Lens' GetJobsResponse (Maybe [Job])
- getJobsResponse_httpStatus :: Lens' GetJobsResponse Int
Creating a Request
See: newGetJobs
smart constructor.
Instances
newGetJobs :: GetJobs Source #
Create a value of GetJobs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetJobs'
, getJobs_nextToken
- A continuation token, if this is a continuation call.
$sel:maxResults:GetJobs'
, getJobs_maxResults
- The maximum size of the response.
Request Lenses
getJobs_nextToken :: Lens' GetJobs (Maybe Text) Source #
A continuation token, if this is a continuation call.
Destructuring the Response
data GetJobsResponse Source #
See: newGetJobsResponse
smart constructor.
Instances
Create a value of GetJobsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetJobs'
, getJobsResponse_nextToken
- A continuation token, if not all job definitions have yet been returned.
$sel:jobs:GetJobsResponse'
, getJobsResponse_jobs
- A list of job definitions.
$sel:httpStatus:GetJobsResponse'
, getJobsResponse_httpStatus
- The response's http status code.
Response Lenses
getJobsResponse_nextToken :: Lens' GetJobsResponse (Maybe Text) Source #
A continuation token, if not all job definitions have yet been returned.
getJobsResponse_jobs :: Lens' GetJobsResponse (Maybe [Job]) Source #
A list of job definitions.
getJobsResponse_httpStatus :: Lens' GetJobsResponse Int Source #
The response's http status code.