Copyright | (c) 2013-2017 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 metadata for all runs of a given job.
- 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
:: 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 for which to retrieve all job runs.
data GetJobRuns Source #
See: getJobRuns
smart constructor.
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 for which to retrieve all job runs.
Destructuring the Response
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.
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.