amazonka-cloud9-1.6.1: Amazon Cloud9 SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Cloud9.ListEnvironments

Contents

Description

Gets a list of AWS Cloud9 development environment identifiers.

This operation returns paginated results.

Synopsis

Creating a Request

listEnvironments :: ListEnvironments Source #

Creates a value of ListEnvironments with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • leNextToken - 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.
  • leMaxResults - The maximum number of environments to get identifiers for.

data ListEnvironments Source #

See: listEnvironments smart constructor.

Instances
Eq ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Data ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListEnvironments -> c ListEnvironments #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListEnvironments #

toConstr :: ListEnvironments -> Constr #

dataTypeOf :: ListEnvironments -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListEnvironments) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListEnvironments) #

gmapT :: (forall b. Data b => b -> b) -> ListEnvironments -> ListEnvironments #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListEnvironments -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListEnvironments -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListEnvironments -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListEnvironments -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListEnvironments -> m ListEnvironments #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListEnvironments -> m ListEnvironments #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListEnvironments -> m ListEnvironments #

Read ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Show ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Generic ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Associated Types

type Rep ListEnvironments :: Type -> Type #

Hashable ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

ToJSON ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

AWSPager ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

AWSRequest ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Associated Types

type Rs ListEnvironments :: Type #

ToHeaders ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

ToPath ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

ToQuery ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

NFData ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Methods

rnf :: ListEnvironments -> () #

type Rep ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

type Rep ListEnvironments = D1 (MetaData "ListEnvironments" "Network.AWS.Cloud9.ListEnvironments" "amazonka-cloud9-1.6.1-LthR7Vc29bO30e8n4OXhzO" False) (C1 (MetaCons "ListEnvironments'" PrefixI True) (S1 (MetaSel (Just "_leNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_leMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))
type Rs ListEnvironments Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Request Lenses

leNextToken :: 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.

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

The maximum number of environments to get identifiers for.

Destructuring the Response

listEnvironmentsResponse Source #

Creates a value of ListEnvironmentsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lersEnvironmentIds - The list of environment identifiers.
  • lersNextToken - 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.
  • lersResponseStatus - -- | The response status code.

data ListEnvironmentsResponse Source #

See: listEnvironmentsResponse smart constructor.

Instances
Eq ListEnvironmentsResponse Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Data ListEnvironmentsResponse Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListEnvironmentsResponse -> c ListEnvironmentsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListEnvironmentsResponse #

toConstr :: ListEnvironmentsResponse -> Constr #

dataTypeOf :: ListEnvironmentsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListEnvironmentsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListEnvironmentsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListEnvironmentsResponse -> ListEnvironmentsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListEnvironmentsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListEnvironmentsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListEnvironmentsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListEnvironmentsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListEnvironmentsResponse -> m ListEnvironmentsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListEnvironmentsResponse -> m ListEnvironmentsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListEnvironmentsResponse -> m ListEnvironmentsResponse #

Read ListEnvironmentsResponse Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Show ListEnvironmentsResponse Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Generic ListEnvironmentsResponse Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

Associated Types

type Rep ListEnvironmentsResponse :: Type -> Type #

NFData ListEnvironmentsResponse Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

type Rep ListEnvironmentsResponse Source # 
Instance details

Defined in Network.AWS.Cloud9.ListEnvironments

type Rep ListEnvironmentsResponse = D1 (MetaData "ListEnvironmentsResponse" "Network.AWS.Cloud9.ListEnvironments" "amazonka-cloud9-1.6.1-LthR7Vc29bO30e8n4OXhzO" False) (C1 (MetaCons "ListEnvironmentsResponse'" PrefixI True) (S1 (MetaSel (Just "_lersEnvironmentIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_lersNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lersEnvironmentIds :: Lens' ListEnvironmentsResponse [Text] Source #

The list of environment identifiers.

lersNextToken :: 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.