| 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.EMRContainers.ListJobRuns
Description
Lists job runs based on a set of parameters. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
This operation returns paginated results.
Synopsis
- data ListJobRuns = ListJobRuns' {
- createdAfter :: Maybe ISO8601
 - createdBefore :: Maybe ISO8601
 - maxResults :: Maybe Int
 - name :: Maybe Text
 - nextToken :: Maybe Text
 - states :: Maybe [JobRunState]
 - virtualClusterId :: Text
 
 - newListJobRuns :: Text -> ListJobRuns
 - listJobRuns_createdAfter :: Lens' ListJobRuns (Maybe UTCTime)
 - listJobRuns_createdBefore :: Lens' ListJobRuns (Maybe UTCTime)
 - listJobRuns_maxResults :: Lens' ListJobRuns (Maybe Int)
 - listJobRuns_name :: Lens' ListJobRuns (Maybe Text)
 - listJobRuns_nextToken :: Lens' ListJobRuns (Maybe Text)
 - listJobRuns_states :: Lens' ListJobRuns (Maybe [JobRunState])
 - listJobRuns_virtualClusterId :: Lens' ListJobRuns Text
 - data ListJobRunsResponse = ListJobRunsResponse' {}
 - newListJobRunsResponse :: Int -> ListJobRunsResponse
 - listJobRunsResponse_jobRuns :: Lens' ListJobRunsResponse (Maybe [JobRun])
 - listJobRunsResponse_nextToken :: Lens' ListJobRunsResponse (Maybe Text)
 - listJobRunsResponse_httpStatus :: Lens' ListJobRunsResponse Int
 
Creating a Request
data ListJobRuns Source #
See: newListJobRuns smart constructor.
Constructors
| ListJobRuns' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> ListJobRuns | 
Create a value of ListJobRuns 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:createdAfter:ListJobRuns', listJobRuns_createdAfter - The date and time after which the job runs were submitted.
$sel:createdBefore:ListJobRuns', listJobRuns_createdBefore - The date and time before which the job runs were submitted.
$sel:maxResults:ListJobRuns', listJobRuns_maxResults - The maximum number of job runs that can be listed.
ListJobRuns, listJobRuns_name - The name of the job run.
ListJobRuns, listJobRuns_nextToken - The token for the next set of job runs to return.
$sel:states:ListJobRuns', listJobRuns_states - The states of the job run.
ListJobRuns, listJobRuns_virtualClusterId - The ID of the virtual cluster for which to list the job run.
Request Lenses
listJobRuns_createdAfter :: Lens' ListJobRuns (Maybe UTCTime) Source #
The date and time after which the job runs were submitted.
listJobRuns_createdBefore :: Lens' ListJobRuns (Maybe UTCTime) Source #
The date and time before which the job runs were submitted.
listJobRuns_maxResults :: Lens' ListJobRuns (Maybe Int) Source #
The maximum number of job runs that can be listed.
listJobRuns_name :: Lens' ListJobRuns (Maybe Text) Source #
The name of the job run.
listJobRuns_nextToken :: Lens' ListJobRuns (Maybe Text) Source #
The token for the next set of job runs to return.
listJobRuns_states :: Lens' ListJobRuns (Maybe [JobRunState]) Source #
The states of the job run.
listJobRuns_virtualClusterId :: Lens' ListJobRuns Text Source #
The ID of the virtual cluster for which to list the job run.
Destructuring the Response
data ListJobRunsResponse Source #
See: newListJobRunsResponse smart constructor.
Constructors
| ListJobRunsResponse' | |
Instances
newListJobRunsResponse Source #
Arguments
| :: Int | |
| -> ListJobRunsResponse | 
Create a value of ListJobRunsResponse 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:jobRuns:ListJobRunsResponse', listJobRunsResponse_jobRuns - This output lists information about the specified job runs.
ListJobRuns, listJobRunsResponse_nextToken - This output displays the token for the next set of job runs.
$sel:httpStatus:ListJobRunsResponse', listJobRunsResponse_httpStatus - The response's http status code.
Response Lenses
listJobRunsResponse_jobRuns :: Lens' ListJobRunsResponse (Maybe [JobRun]) Source #
This output lists information about the specified job runs.
listJobRunsResponse_nextToken :: Lens' ListJobRunsResponse (Maybe Text) Source #
This output displays the token for the next set of job runs.
listJobRunsResponse_httpStatus :: Lens' ListJobRunsResponse Int Source #
The response's http status code.