| 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.GetJobRuns
Description
Retrieves metadata for all runs of a given job definition.
This operation returns paginated results.
Synopsis
- data GetJobRuns = GetJobRuns' {}
- newGetJobRuns :: Text -> GetJobRuns
- getJobRuns_maxResults :: Lens' GetJobRuns (Maybe Natural)
- getJobRuns_nextToken :: Lens' GetJobRuns (Maybe Text)
- getJobRuns_jobName :: Lens' GetJobRuns Text
- data GetJobRunsResponse = GetJobRunsResponse' {}
- newGetJobRunsResponse :: Int -> GetJobRunsResponse
- getJobRunsResponse_jobRuns :: Lens' GetJobRunsResponse (Maybe [JobRun])
- getJobRunsResponse_nextToken :: Lens' GetJobRunsResponse (Maybe Text)
- getJobRunsResponse_httpStatus :: Lens' GetJobRunsResponse Int
Creating a Request
data GetJobRuns Source #
See: newGetJobRuns smart constructor.
Constructors
| GetJobRuns' | |
Instances
Arguments
| :: Text | |
| -> GetJobRuns |
Create a value of GetJobRuns 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:GetJobRuns', getJobRuns_maxResults - The maximum size of the response.
GetJobRuns, getJobRuns_nextToken - A continuation token, if this is a continuation call.
GetJobRuns, getJobRuns_jobName - The name of the job definition for which to retrieve all job runs.
Request Lenses
getJobRuns_maxResults :: Lens' GetJobRuns (Maybe Natural) Source #
The maximum size of the response.
getJobRuns_nextToken :: Lens' GetJobRuns (Maybe Text) Source #
A continuation token, if this is a continuation call.
getJobRuns_jobName :: Lens' GetJobRuns Text Source #
The name of the job definition for which to retrieve all job runs.
Destructuring the Response
data GetJobRunsResponse Source #
See: newGetJobRunsResponse smart constructor.
Constructors
| GetJobRunsResponse' | |
Instances
newGetJobRunsResponse Source #
Arguments
| :: Int | |
| -> GetJobRunsResponse |
Create a value of GetJobRunsResponse 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:
GetJobRunsResponse, getJobRunsResponse_jobRuns - A list of job-run metadata objects.
GetJobRuns, getJobRunsResponse_nextToken - A continuation token, if not all requested job runs have been returned.
$sel:httpStatus:GetJobRunsResponse', getJobRunsResponse_httpStatus - The response's http status code.
Response Lenses
getJobRunsResponse_jobRuns :: Lens' GetJobRunsResponse (Maybe [JobRun]) Source #
A list of job-run metadata objects.
getJobRunsResponse_nextToken :: Lens' GetJobRunsResponse (Maybe Text) Source #
A continuation token, if not all requested job runs have been returned.
getJobRunsResponse_httpStatus :: Lens' GetJobRunsResponse Int Source #
The response's http status code.