amazonka-cloud9-2.0: Amazon Cloud9 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.Cloud9.ListEnvironments

Description

Gets a list of Cloud9 development environment identifiers.

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 environments to get identifiers for.

  • nextToken :: Maybe Text

    During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

Instances

Instances details
ToJSON ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

ToHeaders ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

ToPath ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

ToQuery ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

AWSPager ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

AWSRequest ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Associated Types

type AWSResponse ListEnvironments #

Generic ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Associated Types

type Rep ListEnvironments :: Type -> Type #

Read ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Show ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

NFData ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Methods

rnf :: ListEnvironments -> () #

Eq ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Hashable ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

type AWSResponse ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

type Rep ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

type Rep ListEnvironments = D1 ('MetaData "ListEnvironments" "Amazonka.Cloud9.ListEnvironments" "amazonka-cloud9-2.0-7b5PlMySrOa4RK8dYvmjDd" '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 environments to get identifiers for.

ListEnvironments, listEnvironments_nextToken - During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

Request Lenses

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

The maximum number of environments to get identifiers for.

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

During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

Destructuring the Response

data ListEnvironmentsResponse Source #

See: newListEnvironmentsResponse smart constructor.

Constructors

ListEnvironmentsResponse' 

Fields

  • environmentIds :: Maybe [Text]

    The list of environment identifiers.

  • nextToken :: Maybe Text

    If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Associated Types

type Rep ListEnvironmentsResponse :: Type -> Type #

Read ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Show ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

NFData ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Eq ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

type Rep ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

type Rep ListEnvironmentsResponse = D1 ('MetaData "ListEnvironmentsResponse" "Amazonka.Cloud9.ListEnvironments" "amazonka-cloud9-2.0-7b5PlMySrOa4RK8dYvmjDd" 'False) (C1 ('MetaCons "ListEnvironmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (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:environmentIds:ListEnvironmentsResponse', listEnvironmentsResponse_environmentIds - The list of environment identifiers.

ListEnvironments, listEnvironmentsResponse_nextToken - If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.

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

Response Lenses

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

If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.