amazonka-emr-serverless-2.0: Amazon EMR Serverless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EMRServerless.ListJobRuns

Description

Lists job runs based on a set of parameters.

This operation returns paginated results.

Synopsis

Creating a Request

data ListJobRuns Source #

See: newListJobRuns smart constructor.

Constructors

ListJobRuns' 

Fields

Instances

Instances details
ToHeaders ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

Methods

toHeaders :: ListJobRuns -> [Header] #

ToPath ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

ToQuery ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

AWSPager ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

AWSRequest ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

Associated Types

type AWSResponse ListJobRuns #

Generic ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

Associated Types

type Rep ListJobRuns :: Type -> Type #

Read ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

Show ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

NFData ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

Methods

rnf :: ListJobRuns -> () #

Eq ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

Hashable ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

type AWSResponse ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

type Rep ListJobRuns Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

type Rep ListJobRuns = D1 ('MetaData "ListJobRuns" "Amazonka.EMRServerless.ListJobRuns" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "ListJobRuns'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createdAtAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "createdAtBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "states") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobRunState])) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:createdAtAfter:ListJobRuns', listJobRuns_createdAtAfter - The lower bound of the option to filter by creation date and time.

$sel:createdAtBefore:ListJobRuns', listJobRuns_createdAtBefore - The upper bound of the option to filter by creation date and time.

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

ListJobRuns, listJobRuns_nextToken - The token for the next set of job run results.

$sel:states:ListJobRuns', listJobRuns_states - An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

ListJobRuns, listJobRuns_applicationId - The ID of the application for which to list the job run.

Request Lenses

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

The lower bound of the option to filter by creation date and time.

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

The upper bound of the option to filter by creation date and time.

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

The maximum number of job runs that can be listed.

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

The token for the next set of job run results.

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

An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

listJobRuns_applicationId :: Lens' ListJobRuns Text Source #

The ID of the application for which to list the job run.

Destructuring the Response

data ListJobRunsResponse Source #

See: newListJobRunsResponse smart constructor.

Constructors

ListJobRunsResponse' 

Fields

  • nextToken :: Maybe Text

    The output displays the token for the next set of job run results. This is required for pagination and is available as a response of the previous request.

  • httpStatus :: Int

    The response's http status code.

  • jobRuns :: [JobRunSummary]

    The output lists information about the specified job runs.

Instances

Instances details
Generic ListJobRunsResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

Associated Types

type Rep ListJobRunsResponse :: Type -> Type #

Read ListJobRunsResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

Show ListJobRunsResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

NFData ListJobRunsResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

Methods

rnf :: ListJobRunsResponse -> () #

Eq ListJobRunsResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

type Rep ListJobRunsResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.ListJobRuns

type Rep ListJobRunsResponse = D1 ('MetaData "ListJobRunsResponse" "Amazonka.EMRServerless.ListJobRuns" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "ListJobRunsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "jobRuns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [JobRunSummary]))))

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:

ListJobRuns, listJobRunsResponse_nextToken - The output displays the token for the next set of job run results. This is required for pagination and is available as a response of the previous request.

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

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

Response Lenses

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

The output displays the token for the next set of job run results. This is required for pagination and is available as a response of the previous request.

listJobRunsResponse_jobRuns :: Lens' ListJobRunsResponse [JobRunSummary] Source #

The output lists information about the specified job runs.