amazonka-appconfig-2.0: Amazon AppConfig 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.AppConfig.ListDeployments

Description

Lists the deployments for an environment in descending deployment number order.

Synopsis

Creating a Request

data ListDeployments Source #

See: newListDeployments smart constructor.

Constructors

ListDeployments' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of items that may be returned for this call. If there are items that have not yet been returned, the response will include a non-null NextToken that you can provide in a subsequent call to get the next set of results.

  • nextToken :: Maybe Text

    The token returned by a prior call to this operation indicating the next set of results to be returned. If not specified, the operation will return the first set of results.

  • applicationId :: Text

    The application ID.

  • environmentId :: Text

    The environment ID.

Instances

Instances details
ToHeaders ListDeployments Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

ToPath ListDeployments Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

ToQuery ListDeployments Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

AWSRequest ListDeployments Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

Associated Types

type AWSResponse ListDeployments #

Generic ListDeployments Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

Associated Types

type Rep ListDeployments :: Type -> Type #

Read ListDeployments Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

Show ListDeployments Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

NFData ListDeployments Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

Methods

rnf :: ListDeployments -> () #

Eq ListDeployments Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

Hashable ListDeployments Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

type AWSResponse ListDeployments Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

type Rep ListDeployments Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

type Rep ListDeployments = D1 ('MetaData "ListDeployments" "Amazonka.AppConfig.ListDeployments" "amazonka-appconfig-2.0-KxEFpSAUlWtLf1lFyPWujo" '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) :*: S1 ('MetaSel ('Just "environmentId") '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 items that may be returned for this call. If there are items that have not yet been returned, the response will include a non-null NextToken that you can provide in a subsequent call to get the next set of results.

ListDeployments, listDeployments_nextToken - The token returned by a prior call to this operation indicating the next set of results to be returned. If not specified, the operation will return the first set of results.

ListDeployments, listDeployments_applicationId - The application ID.

ListDeployments, listDeployments_environmentId - The environment ID.

Request Lenses

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

The maximum number of items that may be returned for this call. If there are items that have not yet been returned, the response will include a non-null NextToken that you can provide in a subsequent call to get the next set of results.

listDeployments_nextToken :: Lens' ListDeployments (Maybe Text) Source #

The token returned by a prior call to this operation indicating the next set of results to be returned. If not specified, the operation will return the first set of results.

Destructuring the Response

data ListDeploymentsResponse Source #

See: newListDeploymentsResponse smart constructor.

Constructors

ListDeploymentsResponse' 

Fields

Instances

Instances details
Generic ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

Associated Types

type Rep ListDeploymentsResponse :: Type -> Type #

Read ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

Show ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

NFData ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

Methods

rnf :: ListDeploymentsResponse -> () #

Eq ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

type Rep ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.AppConfig.ListDeployments

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

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:

$sel:items:ListDeploymentsResponse', listDeploymentsResponse_items - The elements from this collection.

ListDeployments, listDeploymentsResponse_nextToken - The token for the next set of items to return. Use this token to get the next set of results.

$sel:httpStatus:ListDeploymentsResponse', listDeploymentsResponse_httpStatus - The response's http status code.

Response Lenses

listDeploymentsResponse_nextToken :: Lens' ListDeploymentsResponse (Maybe Text) Source #

The token for the next set of items to return. Use this token to get the next set of results.