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

Description

Returns a list of the application versions for a specific application.

This operation returns paginated results.

Synopsis

Creating a Request

data ListApplicationVersions Source #

See: newListApplicationVersions smart constructor.

Constructors

ListApplicationVersions' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of application versions to return.

  • nextToken :: Maybe Text

    A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

  • applicationId :: Text

    The unique identifier of the application.

Instances

Instances details
ToHeaders ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

ToPath ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

ToQuery ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

AWSPager ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

AWSRequest ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

Generic ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

Associated Types

type Rep ListApplicationVersions :: Type -> Type #

Read ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

Show ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

NFData ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

Methods

rnf :: ListApplicationVersions -> () #

Eq ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

Hashable ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

type AWSResponse ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

type Rep ListApplicationVersions Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

type Rep ListApplicationVersions = D1 ('MetaData "ListApplicationVersions" "Amazonka.M2.ListApplicationVersions" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "ListApplicationVersions'" '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 "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListApplicationVersions Source #

Create a value of ListApplicationVersions 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:ListApplicationVersions', listApplicationVersions_maxResults - The maximum number of application versions to return.

ListApplicationVersions, listApplicationVersions_nextToken - A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

ListApplicationVersions, listApplicationVersions_applicationId - The unique identifier of the application.

Request Lenses

listApplicationVersions_maxResults :: Lens' ListApplicationVersions (Maybe Natural) Source #

The maximum number of application versions to return.

listApplicationVersions_nextToken :: Lens' ListApplicationVersions (Maybe Text) Source #

A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

Destructuring the Response

data ListApplicationVersionsResponse Source #

See: newListApplicationVersionsResponse smart constructor.

Constructors

ListApplicationVersionsResponse' 

Fields

Instances

Instances details
Generic ListApplicationVersionsResponse Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

Associated Types

type Rep ListApplicationVersionsResponse :: Type -> Type #

Read ListApplicationVersionsResponse Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

Show ListApplicationVersionsResponse Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

NFData ListApplicationVersionsResponse Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

Eq ListApplicationVersionsResponse Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

type Rep ListApplicationVersionsResponse Source # 
Instance details

Defined in Amazonka.M2.ListApplicationVersions

type Rep ListApplicationVersionsResponse = D1 ('MetaData "ListApplicationVersionsResponse" "Amazonka.M2.ListApplicationVersions" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "ListApplicationVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "applicationVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ApplicationVersionSummary]))))

newListApplicationVersionsResponse Source #

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

ListApplicationVersions, listApplicationVersionsResponse_nextToken - If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.

$sel:httpStatus:ListApplicationVersionsResponse', listApplicationVersionsResponse_httpStatus - The response's http status code.

$sel:applicationVersions:ListApplicationVersionsResponse', listApplicationVersionsResponse_applicationVersions - The list of application versions.

Response Lenses

listApplicationVersionsResponse_nextToken :: Lens' ListApplicationVersionsResponse (Maybe Text) Source #

If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.