libZSservicesZSamazonka-emr-containersZSamazonka-emr-containers
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Creating a Request

data ListJobRuns Source #

See: newListJobRuns smart constructor.

Constructors

ListJobRuns' 

Fields

Instances

Instances details
Eq ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

Read ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

Show ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

Generic ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

Associated Types

type Rep ListJobRuns :: Type -> Type #

NFData ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

Methods

rnf :: ListJobRuns -> () #

Hashable ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

AWSPager ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

AWSRequest ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

Associated Types

type AWSResponse ListJobRuns #

ToHeaders ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

Methods

toHeaders :: ListJobRuns -> [Header] #

ToPath ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

ToQuery ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

type Rep ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

type Rep ListJobRuns = D1 ('MetaData "ListJobRuns" "Amazonka.EMRContainers.ListJobRuns" "libZSservicesZSamazonka-emr-containersZSamazonka-emr-containers" 'False) (C1 ('MetaCons "ListJobRuns'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "states") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobRunState])) :*: (S1 ('MetaSel ('Just "createdAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "createdBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "virtualClusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

newListJobRuns Source #

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:states:ListJobRuns', listJobRuns_states - The states of the job run.

$sel:createdAfter:ListJobRuns', listJobRuns_createdAfter - The date and time after which the job runs were submitted.

$sel:nextToken:ListJobRuns', listJobRuns_nextToken - The token for the next set of job runs to return.

$sel:name:ListJobRuns', listJobRuns_name - The name of the job run.

$sel:maxResults:ListJobRuns', listJobRuns_maxResults - The maximum number of job runs that can be listed.

$sel:createdBefore:ListJobRuns', listJobRuns_createdBefore - The date and time before which the job runs were submitted.

$sel:virtualClusterId:ListJobRuns', listJobRuns_virtualClusterId - The ID of the virtual cluster for which to list the job run.

Request Lenses

listJobRuns_states :: Lens' ListJobRuns (Maybe [JobRunState]) Source #

The states of the job run.

listJobRuns_createdAfter :: Lens' ListJobRuns (Maybe UTCTime) Source #

The date and time after which the job runs were submitted.

listJobRuns_nextToken :: Lens' ListJobRuns (Maybe Text) Source #

The token for the next set of job runs to return.

listJobRuns_name :: Lens' ListJobRuns (Maybe Text) Source #

The name of the job run.

listJobRuns_maxResults :: Lens' ListJobRuns (Maybe Int) Source #

The maximum number of job runs that can be listed.

listJobRuns_createdBefore :: Lens' ListJobRuns (Maybe UTCTime) Source #

The date and time before which the job runs were submitted.

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' 

Fields

Instances

Instances details
Eq ListJobRunsResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

Show ListJobRunsResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

Generic ListJobRunsResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

Associated Types

type Rep ListJobRunsResponse :: Type -> Type #

NFData ListJobRunsResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

Methods

rnf :: ListJobRunsResponse -> () #

type Rep ListJobRunsResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.ListJobRuns

type Rep ListJobRunsResponse = D1 ('MetaData "ListJobRunsResponse" "Amazonka.EMRContainers.ListJobRuns" "libZSservicesZSamazonka-emr-containersZSamazonka-emr-containers" 'False) (C1 ('MetaCons "ListJobRunsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobRuns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobRun])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListJobRunsResponse Source #

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:nextToken:ListJobRuns', listJobRunsResponse_nextToken - This output displays the token for the next set of job runs.

$sel:jobRuns:ListJobRunsResponse', listJobRunsResponse_jobRuns - This output lists information about the specified job runs.

$sel:httpStatus:ListJobRunsResponse', listJobRunsResponse_httpStatus - The response's http status code.

Response Lenses

listJobRunsResponse_nextToken :: Lens' ListJobRunsResponse (Maybe Text) Source #

This output displays the token for the next set of job runs.

listJobRunsResponse_jobRuns :: Lens' ListJobRunsResponse (Maybe [JobRun]) Source #

This output lists information about the specified job runs.