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

Description

Returns a list of all deployments of a specific application. A deployment is a combination of a specific application and a specific version of that application. Each deployment is mapped to a particular application version.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDeployments Source #

See: newListDeployments smart constructor.

Constructors

ListDeployments' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of objects 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 application identifier.

Instances

Instances details
ToHeaders ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

ToPath ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

ToQuery ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

AWSPager ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

AWSRequest ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

Associated Types

type AWSResponse ListDeployments #

Generic ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

Associated Types

type Rep ListDeployments :: Type -> Type #

Read ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

Show ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

NFData ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

Methods

rnf :: ListDeployments -> () #

Eq ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

Hashable ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

type AWSResponse ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

type Rep ListDeployments Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

type Rep ListDeployments = D1 ('MetaData "ListDeployments" "Amazonka.M2.ListDeployments" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "ListDeployments'" '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))))

newListDeployments Source #

Create a value of ListDeployments 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:ListDeployments', listDeployments_maxResults - The maximum number of objects to return.

ListDeployments, listDeployments_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.

ListDeployments, listDeployments_applicationId - The application identifier.

Request Lenses

listDeployments_maxResults :: Lens' ListDeployments (Maybe Natural) Source #

The maximum number of objects to return.

listDeployments_nextToken :: Lens' ListDeployments (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 ListDeploymentsResponse Source #

See: newListDeploymentsResponse smart constructor.

Constructors

ListDeploymentsResponse' 

Fields

Instances

Instances details
Generic ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

Associated Types

type Rep ListDeploymentsResponse :: Type -> Type #

Read ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

Show ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

NFData ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

Methods

rnf :: ListDeploymentsResponse -> () #

Eq ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

type Rep ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.M2.ListDeployments

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

newListDeploymentsResponse Source #

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

ListDeployments, listDeploymentsResponse_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:ListDeploymentsResponse', listDeploymentsResponse_httpStatus - The response's http status code.

$sel:deployments:ListDeploymentsResponse', listDeploymentsResponse_deployments - The list of deployments that is returned.

Response Lenses

listDeploymentsResponse_nextToken :: Lens' ListDeploymentsResponse (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.