libZSservicesZSamazonka-protonZSamazonka-proton
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.Proton.ListEnvironments

Description

List environments with detail data summaries.

This operation returns paginated results.

Synopsis

Creating a Request

data ListEnvironments Source #

See: newListEnvironments smart constructor.

Constructors

ListEnvironments' 

Fields

Instances

Instances details
Eq ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

Read ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

Show ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

Generic ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

Associated Types

type Rep ListEnvironments :: Type -> Type #

NFData ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

Methods

rnf :: ListEnvironments -> () #

Hashable ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

ToJSON ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

AWSPager ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

AWSRequest ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

Associated Types

type AWSResponse ListEnvironments #

ToHeaders ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

ToPath ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

ToQuery ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

type Rep ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

type Rep ListEnvironments = D1 ('MetaData "ListEnvironments" "Amazonka.Proton.ListEnvironments" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "ListEnvironments'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EnvironmentTemplateFilter])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListEnvironments Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

newListEnvironments :: ListEnvironments 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:environmentTemplates:ListEnvironments', listEnvironments_environmentTemplates - An array of the versions of the environment template.

$sel:nextToken:ListEnvironments', listEnvironments_nextToken - A token to indicate the location of the next environment in the array of environments, after the list of environments that was previously requested.

$sel:maxResults:ListEnvironments', listEnvironments_maxResults - The maximum number of environments to list.

Request Lenses

listEnvironments_environmentTemplates :: Lens' ListEnvironments (Maybe [EnvironmentTemplateFilter]) Source #

An array of the versions of the environment template.

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

A token to indicate the location of the next environment in the array of environments, after the list of environments that was previously requested.

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

The maximum number of environments to list.

Destructuring the Response

data ListEnvironmentsResponse Source #

See: newListEnvironmentsResponse smart constructor.

Constructors

ListEnvironmentsResponse' 

Fields

Instances

Instances details
Eq ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

Show ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

Generic ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

Associated Types

type Rep ListEnvironmentsResponse :: Type -> Type #

NFData ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

type Rep ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironments

type Rep ListEnvironmentsResponse = D1 ('MetaData "ListEnvironmentsResponse" "Amazonka.Proton.ListEnvironments" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "ListEnvironmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "environments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EnvironmentSummary]))))

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:nextToken:ListEnvironments', listEnvironmentsResponse_nextToken - A token to indicate the location of the next environment in the array of environments, after the current requested list of environments.

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

$sel:environments:ListEnvironmentsResponse', listEnvironmentsResponse_environments - An array of environment detail data summaries.

Response Lenses

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

A token to indicate the location of the next environment in the array of environments, after the current requested list of environments.