amazonka-migration-hub-refactor-spaces-2.0: Amazon Migration Hub Refactor Spaces 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.MigrationHubReFactorSpaces.ListEnvironments

Description

Lists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the caller account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListEnvironments Source #

See: newListEnvironments smart constructor.

Constructors

ListEnvironments' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

  • nextToken :: Maybe Text

    The token for the next page of results.

Instances

Instances details
ToHeaders ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

ToPath ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

ToQuery ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

AWSPager ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

AWSRequest ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

Associated Types

type AWSResponse ListEnvironments #

Generic ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

Associated Types

type Rep ListEnvironments :: Type -> Type #

Read ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

Show ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

NFData ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

Methods

rnf :: ListEnvironments -> () #

Eq ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

Hashable ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

type AWSResponse ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

type Rep ListEnvironments Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

type Rep ListEnvironments = D1 ('MetaData "ListEnvironments" "Amazonka.MigrationHubReFactorSpaces.ListEnvironments" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" '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 return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

ListEnvironments, listEnvironments_nextToken - The token for the next page of results.

Request Lenses

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

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

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

The token for the next page of 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.MigrationHubReFactorSpaces.ListEnvironments

Associated Types

type Rep ListEnvironmentsResponse :: Type -> Type #

Show ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

NFData ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

Eq ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

type Rep ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.ListEnvironments

type Rep ListEnvironmentsResponse = D1 ('MetaData "ListEnvironmentsResponse" "Amazonka.MigrationHubReFactorSpaces.ListEnvironments" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "ListEnvironmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EnvironmentSummary])) :*: (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:environmentSummaryList:ListEnvironmentsResponse', listEnvironmentsResponse_environmentSummaryList - The list of EnvironmentSummary objects.

ListEnvironments, listEnvironmentsResponse_nextToken - The token for the next page of results.

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

Response Lenses