amazonka-mwaa-2.0: Amazon MWAA 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.MwAA.ListEnvironments

Description

Lists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.

This operation returns paginated results.

Synopsis

Creating a Request

data ListEnvironments Source #

See: newListEnvironments smart constructor.

Constructors

ListEnvironments' 

Fields

Instances

Instances details
ToHeaders ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

ToPath ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

ToQuery ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

AWSPager ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

AWSRequest ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

Associated Types

type AWSResponse ListEnvironments #

Generic ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

Associated Types

type Rep ListEnvironments :: Type -> Type #

Read ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

Show ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

NFData ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

Methods

rnf :: ListEnvironments -> () #

Eq ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

Hashable ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

type AWSResponse ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

type Rep ListEnvironments Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

type Rep ListEnvironments = D1 ('MetaData "ListEnvironments" "Amazonka.MwAA.ListEnvironments" "amazonka-mwaa-2.0-KORB5SeCyuF7wioeYKG3eR" 'False) (C1 ('MetaCons "ListEnvironments'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:maxResults:ListEnvironments', listEnvironments_maxResults - The maximum number of results to retrieve per page. For example, 5 environments per page.

ListEnvironments, listEnvironments_nextToken - Retrieves the next page of the results.

Request Lenses

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

The maximum number of results to retrieve per page. For example, 5 environments per page.

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

Retrieves the next page of the results.

Destructuring the Response

data ListEnvironmentsResponse Source #

See: newListEnvironmentsResponse smart constructor.

Constructors

ListEnvironmentsResponse' 

Fields

Instances

Instances details
Generic ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

Associated Types

type Rep ListEnvironmentsResponse :: Type -> Type #

Read ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

Show ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

NFData ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

Eq ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

type Rep ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.MwAA.ListEnvironments

type Rep ListEnvironmentsResponse = D1 ('MetaData "ListEnvironmentsResponse" "Amazonka.MwAA.ListEnvironments" "amazonka-mwaa-2.0-KORB5SeCyuF7wioeYKG3eR" '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 [Text]))))

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:

ListEnvironments, listEnvironmentsResponse_nextToken - Retrieves the next page of the results.

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

$sel:environments:ListEnvironmentsResponse', listEnvironmentsResponse_environments - Returns a list of Amazon MWAA environments.

Response Lenses

listEnvironmentsResponse_environments :: Lens' ListEnvironmentsResponse [Text] Source #

Returns a list of Amazon MWAA environments.