amazonka-cloud9-1.6.0: 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 # 
Data ListEnvironments Source # 

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 # 
Show ListEnvironments Source # 
Generic ListEnvironments Source # 
Hashable ListEnvironments Source # 
ToJSON ListEnvironments Source # 
NFData ListEnvironments Source # 

Methods

rnf :: ListEnvironments -> () #

AWSPager ListEnvironments Source # 
AWSRequest ListEnvironments Source # 
ToHeaders ListEnvironments Source # 
ToPath ListEnvironments Source # 
ToQuery ListEnvironments Source # 
type Rep ListEnvironments Source # 
type Rep ListEnvironments = D1 * (MetaData "ListEnvironments" "Network.AWS.Cloud9.ListEnvironments" "amazonka-cloud9-1.6.0-7gsFvKEkpNuKHEnbgASzLW" False) (C1 * (MetaCons "ListEnvironments'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_leNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_leMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))))
type Rs ListEnvironments Source # 

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 # 
Data ListEnvironmentsResponse Source # 

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 # 
Show ListEnvironmentsResponse Source # 
Generic ListEnvironmentsResponse Source # 
NFData ListEnvironmentsResponse Source # 
type Rep ListEnvironmentsResponse Source # 
type Rep ListEnvironmentsResponse = D1 * (MetaData "ListEnvironmentsResponse" "Network.AWS.Cloud9.ListEnvironments" "amazonka-cloud9-1.6.0-7gsFvKEkpNuKHEnbgASzLW" False) (C1 * (MetaCons "ListEnvironmentsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lersEnvironmentIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lersNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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.