libZSservicesZSamazonka-cloud9ZSamazonka-cloud9
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.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

  • 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.

  • maxResults :: Maybe Natural

    The maximum number of environments to get identifiers for.

Instances

Instances details
Eq ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Read ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Show ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Generic ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Associated Types

type Rep ListEnvironments :: Type -> Type #

NFData ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Methods

rnf :: ListEnvironments -> () #

Hashable ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

ToJSON 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 #

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

type Rep ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

type Rep ListEnvironments = D1 ('MetaData "ListEnvironments" "Amazonka.Cloud9.ListEnvironments" "libZSservicesZSamazonka-cloud9ZSamazonka-cloud9" '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))))
type AWSResponse ListEnvironments Source # 
Instance details

Defined in Amazonka.Cloud9.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:nextToken: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.

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

Request Lenses

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.

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

The maximum number of environments to get identifiers for.

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
Eq ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Read ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Show ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Generic ListEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Cloud9.ListEnvironments

Associated Types

type Rep ListEnvironmentsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-cloud9ZSamazonka-cloud9" '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.

$sel:nextToken: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.