| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.GetJobs
Description
Retrieves all current job definitions.
This operation returns paginated results.
Synopsis
- data GetJobs = GetJobs' {}
- newGetJobs :: GetJobs
- getJobs_maxResults :: Lens' GetJobs (Maybe Natural)
- getJobs_nextToken :: Lens' GetJobs (Maybe Text)
- data GetJobsResponse = GetJobsResponse' {}
- newGetJobsResponse :: Int -> GetJobsResponse
- getJobsResponse_jobs :: Lens' GetJobsResponse (Maybe [Job])
- getJobsResponse_nextToken :: Lens' GetJobsResponse (Maybe Text)
- getJobsResponse_httpStatus :: Lens' GetJobsResponse Int
Creating a Request
See: newGetJobs smart constructor.
Constructors
| GetJobs' | |
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:maxResults:GetJobs', getJobs_maxResults - The maximum size of the response.
GetJobs, getJobs_nextToken - A continuation token, if this is a continuation call.
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.
Constructors
| GetJobsResponse' | |
Instances
Arguments
| :: Int | |
| -> GetJobsResponse |
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:jobs:GetJobsResponse', getJobsResponse_jobs - A list of job definitions.
GetJobs, getJobsResponse_nextToken - A continuation token, if not all job definitions have yet been returned.
$sel:httpStatus:GetJobsResponse', getJobsResponse_httpStatus - The response's http status code.
Response Lenses
getJobsResponse_jobs :: Lens' GetJobsResponse (Maybe [Job]) Source #
A list of job definitions.
getJobsResponse_nextToken :: Lens' GetJobsResponse (Maybe Text) Source #
A continuation token, if not all job definitions have yet been returned.
getJobsResponse_httpStatus :: Lens' GetJobsResponse Int Source #
The response's http status code.