amazonka-m2-2.0: Amazon MainframeModernization 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.M2.ListApplications

Description

Lists the applications associated with a specific Amazon Web Services account. You can provide the unique identifier of a specific runtime environment in a query parameter to see all applications associated with that environment.

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

ToPath ListApplications Source # 
Instance details

Defined in Amazonka.M2.ListApplications

ToQuery ListApplications Source # 
Instance details

Defined in Amazonka.M2.ListApplications

AWSPager ListApplications Source # 
Instance details

Defined in Amazonka.M2.ListApplications

AWSRequest ListApplications Source # 
Instance details

Defined in Amazonka.M2.ListApplications

Associated Types

type AWSResponse ListApplications #

Generic ListApplications Source # 
Instance details

Defined in Amazonka.M2.ListApplications

Associated Types

type Rep ListApplications :: Type -> Type #

Read ListApplications Source # 
Instance details

Defined in Amazonka.M2.ListApplications

Show ListApplications Source # 
Instance details

Defined in Amazonka.M2.ListApplications

NFData ListApplications Source # 
Instance details

Defined in Amazonka.M2.ListApplications

Methods

rnf :: ListApplications -> () #

Eq ListApplications Source # 
Instance details

Defined in Amazonka.M2.ListApplications

Hashable ListApplications Source # 
Instance details

Defined in Amazonka.M2.ListApplications

type AWSResponse ListApplications Source # 
Instance details

Defined in Amazonka.M2.ListApplications

type Rep ListApplications Source # 
Instance details

Defined in Amazonka.M2.ListApplications

type Rep ListApplications = D1 ('MetaData "ListApplications" "Amazonka.M2.ListApplications" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "ListApplications'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:

ListApplications, listApplications_environmentId - The unique identifier of the runtime environment where the applications are deployed.

$sel:maxResults:ListApplications', listApplications_maxResults - The maximum number of applications to return.

$sel:names:ListApplications', listApplications_names - The names of the applications.

ListApplications, listApplications_nextToken - A pagination token to control the number of applications displayed in the list.

Request Lenses

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

The unique identifier of the runtime environment where the applications are deployed.

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

The maximum number of applications to return.

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

A pagination token to control the number of applications displayed in the list.

Destructuring the Response

data ListApplicationsResponse Source #

See: newListApplicationsResponse smart constructor.

Constructors

ListApplicationsResponse' 

Fields

Instances

Instances details
Generic ListApplicationsResponse Source # 
Instance details

Defined in Amazonka.M2.ListApplications

Associated Types

type Rep ListApplicationsResponse :: Type -> Type #

Read ListApplicationsResponse Source # 
Instance details

Defined in Amazonka.M2.ListApplications

Show ListApplicationsResponse Source # 
Instance details

Defined in Amazonka.M2.ListApplications

NFData ListApplicationsResponse Source # 
Instance details

Defined in Amazonka.M2.ListApplications

Eq ListApplicationsResponse Source # 
Instance details

Defined in Amazonka.M2.ListApplications

type Rep ListApplicationsResponse Source # 
Instance details

Defined in Amazonka.M2.ListApplications

type Rep ListApplicationsResponse = D1 ('MetaData "ListApplicationsResponse" "Amazonka.M2.ListApplications" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" '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 - A pagination token that's returned when the response doesn't contain all applications.

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

$sel:applications:ListApplicationsResponse', listApplicationsResponse_applications - Returns a list of summary details for all the applications in a runtime environment.

Response Lenses

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

A pagination token that's returned when the response doesn't contain all applications.

listApplicationsResponse_applications :: Lens' ListApplicationsResponse [ApplicationSummary] Source #

Returns a list of summary details for all the applications in a runtime environment.