| 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 |
Network.AWS.Glue.GetJobRuns
Description
Retrieves metadata for all runs of a given job definition.
This operation returns paginated results.
Synopsis
- getJobRuns :: Text -> GetJobRuns
- data GetJobRuns
- gjrNextToken :: Lens' GetJobRuns (Maybe Text)
- gjrMaxResults :: Lens' GetJobRuns (Maybe Natural)
- gjrJobName :: Lens' GetJobRuns Text
- getJobRunsResponse :: Int -> GetJobRunsResponse
- data GetJobRunsResponse
- gjrrsNextToken :: Lens' GetJobRunsResponse (Maybe Text)
- gjrrsJobRuns :: Lens' GetJobRunsResponse [JobRun]
- gjrrsResponseStatus :: Lens' GetJobRunsResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetJobRuns |
Creates a value of GetJobRuns with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gjrNextToken- A continuation token, if this is a continuation call.gjrMaxResults- The maximum size of the response.gjrJobName- The name of the job definition for which to retrieve all job runs.
data GetJobRuns Source #
See: getJobRuns smart constructor.
Instances
Request Lenses
gjrNextToken :: Lens' GetJobRuns (Maybe Text) Source #
A continuation token, if this is a continuation call.
gjrMaxResults :: Lens' GetJobRuns (Maybe Natural) Source #
The maximum size of the response.
gjrJobName :: Lens' GetJobRuns Text Source #
The name of the job definition for which to retrieve all job runs.
Destructuring the Response
Arguments
| :: Int | |
| -> GetJobRunsResponse |
Creates a value of GetJobRunsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gjrrsNextToken- A continuation token, if not all reequested job runs have been returned.gjrrsJobRuns- A list of job-run metatdata objects.gjrrsResponseStatus- -- | The response status code.
data GetJobRunsResponse Source #
See: getJobRunsResponse smart constructor.
Instances
Response Lenses
gjrrsNextToken :: Lens' GetJobRunsResponse (Maybe Text) Source #
A continuation token, if not all reequested job runs have been returned.
gjrrsJobRuns :: Lens' GetJobRunsResponse [JobRun] Source #
A list of job-run metatdata objects.
gjrrsResponseStatus :: Lens' GetJobRunsResponse Int Source #
- - | The response status code.