libZSservicesZSamazonka-appconfigZSamazonka-appconfig
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppConfig.ListEnvironments

Description

List the environments for an application.

Synopsis

Creating a Request

data ListEnvironments Source #

See: newListEnvironments smart constructor.

Constructors

ListEnvironments' 

Fields

  • nextToken :: Maybe Text

    A token to start the list. Use this token to get the next set of results.

  • maxResults :: Maybe Natural

    The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

  • applicationId :: Text

    The application ID.

Instances

Instances details
Eq ListEnvironments Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

Read ListEnvironments Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

Show ListEnvironments Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

Generic ListEnvironments Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

Associated Types

type Rep ListEnvironments :: Type -> Type #

NFData ListEnvironments Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

Methods

rnf :: ListEnvironments -> () #

Hashable ListEnvironments Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

AWSRequest ListEnvironments Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

Associated Types

type AWSResponse ListEnvironments #

ToHeaders ListEnvironments Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

ToPath ListEnvironments Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

ToQuery ListEnvironments Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

type Rep ListEnvironments Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

type Rep ListEnvironments = D1 ('MetaData "ListEnvironments" "Amazonka.AppConfig.ListEnvironments" "libZSservicesZSamazonka-appconfigZSamazonka-appconfig" 'False) (C1 ('MetaCons "ListEnvironments'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListEnvironments Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

newListEnvironments Source #

Create a value of ListEnvironments 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:nextToken:ListEnvironments', listEnvironments_nextToken - A token to start the list. Use this token to get the next set of results.

$sel:maxResults:ListEnvironments', listEnvironments_maxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

$sel:applicationId:ListEnvironments', listEnvironments_applicationId - The application ID.

Request Lenses

listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text) Source #

A token to start the list. Use this token to get the next set of results.

listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural) Source #

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Destructuring the Response

data ListEnvironmentsResponse Source #

See: newListEnvironmentsResponse smart constructor.

Constructors

ListEnvironmentsResponse' 

Fields

Instances

Instances details
Eq ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

Read ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

Show ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

Generic ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

Associated Types

type Rep ListEnvironmentsResponse :: Type -> Type #

NFData ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

type Rep ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.AppConfig.ListEnvironments

type Rep ListEnvironmentsResponse = D1 ('MetaData "ListEnvironmentsResponse" "Amazonka.AppConfig.ListEnvironments" "libZSservicesZSamazonka-appconfigZSamazonka-appconfig" 'False) (C1 ('MetaCons "ListEnvironmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Environment])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListEnvironmentsResponse Source #

Create a value of ListEnvironmentsResponse 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:ListEnvironmentsResponse', listEnvironmentsResponse_items - The elements from this collection.

$sel:nextToken:ListEnvironments', listEnvironmentsResponse_nextToken - The token for the next set of items to return. Use this token to get the next set of results.

$sel:httpStatus:ListEnvironmentsResponse', listEnvironmentsResponse_httpStatus - The response's http status code.

Response Lenses

listEnvironmentsResponse_nextToken :: Lens' ListEnvironmentsResponse (Maybe Text) Source #

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