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.ListApplications

Description

Lists applications based on a set of parameters.

This operation returns paginated results.

Synopsis

Creating a Request

data ListApplications Source #

See: newListApplications smart constructor.

Constructors

ListApplications' 

Fields

Instances

Instances details
ToHeaders ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

ToPath ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

ToQuery ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

AWSPager ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

AWSRequest ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

Associated Types

type AWSResponse ListApplications #

Generic ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

Associated Types

type Rep ListApplications :: Type -> Type #

Read ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

Show ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

NFData ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

Methods

rnf :: ListApplications -> () #

Eq ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

Hashable ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

type AWSResponse ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

type Rep ListApplications Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

type Rep ListApplications = D1 ('MetaData "ListApplications" "Amazonka.EMRServerless.ListApplications" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "ListApplications'" 'PrefixI 'True) (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 (NonEmpty ApplicationState))))))

newListApplications :: ListApplications Source #

Create a value of ListApplications 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:maxResults:ListApplications', listApplications_maxResults - The maximum number of applications that can be listed.

ListApplications, listApplications_nextToken - The token for the next set of application results.

$sel:states:ListApplications', listApplications_states - An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

Request Lenses

listApplications_maxResults :: Lens' ListApplications (Maybe Natural) Source #

The maximum number of applications that can be listed.

listApplications_nextToken :: Lens' ListApplications (Maybe Text) Source #

The token for the next set of application results.

listApplications_states :: Lens' ListApplications (Maybe (NonEmpty ApplicationState)) Source #

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

Destructuring the Response

data ListApplicationsResponse Source #

See: newListApplicationsResponse smart constructor.

Constructors

ListApplicationsResponse' 

Fields

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

  • applications :: [ApplicationSummary]

    The output lists the specified applications.

Instances

Instances details
Generic ListApplicationsResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

Associated Types

type Rep ListApplicationsResponse :: Type -> Type #

Read ListApplicationsResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

Show ListApplicationsResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

NFData ListApplicationsResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

Eq ListApplicationsResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

type Rep ListApplicationsResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.ListApplications

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

newListApplicationsResponse Source #

Create a value of ListApplicationsResponse 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:

ListApplications, listApplicationsResponse_nextToken - The output displays the token for the next set of application results. This is required for pagination and is available as a response of the previous request.

$sel:httpStatus:ListApplicationsResponse', listApplicationsResponse_httpStatus - The response's http status code.

$sel:applications:ListApplicationsResponse', listApplicationsResponse_applications - The output lists the specified applications.

Response Lenses

listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text) Source #

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