amazonka-cognito-idp-1.4.3: Amazon Cognito Identity Provider SDK.

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

Network.AWS.CognitoIdentityProvider.ListUserPools

Contents

Description

Lists the user pools associated with an AWS account.

Synopsis

Creating a Request

listUserPools Source #

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

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

data ListUserPools Source #

Represents the request to list user pools.

See: listUserPools smart constructor.

Instances

Eq ListUserPools Source # 
Data ListUserPools Source # 

Methods

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

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

toConstr :: ListUserPools -> Constr #

dataTypeOf :: ListUserPools -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListUserPools Source # 
Show ListUserPools Source # 
Generic ListUserPools Source # 

Associated Types

type Rep ListUserPools :: * -> * #

ToJSON ListUserPools Source # 
Hashable ListUserPools Source # 
NFData ListUserPools Source # 

Methods

rnf :: ListUserPools -> () #

AWSRequest ListUserPools Source # 
ToPath ListUserPools Source # 
ToHeaders ListUserPools Source # 
ToQuery ListUserPools Source # 
type Rep ListUserPools Source # 
type Rep ListUserPools = D1 (MetaData "ListUserPools" "Network.AWS.CognitoIdentityProvider.ListUserPools" "amazonka-cognito-idp-1.4.3-C4aYmxMInTgGoQbrVLGYa0" False) (C1 (MetaCons "ListUserPools'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lupNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lupMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat))))
type Rs ListUserPools Source # 

Request Lenses

lupNextToken :: Lens' ListUserPools (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

lupMaxResults :: Lens' ListUserPools Natural Source #

The maximum number of results you want the request to return when listing the user pools.

Destructuring the Response

listUserPoolsResponse Source #

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

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

data ListUserPoolsResponse Source #

Represents the response to list user pools.

See: listUserPoolsResponse smart constructor.

Instances

Eq ListUserPoolsResponse Source # 
Data ListUserPoolsResponse Source # 

Methods

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

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

toConstr :: ListUserPoolsResponse -> Constr #

dataTypeOf :: ListUserPoolsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListUserPoolsResponse Source # 
Show ListUserPoolsResponse Source # 
Generic ListUserPoolsResponse Source # 
NFData ListUserPoolsResponse Source # 

Methods

rnf :: ListUserPoolsResponse -> () #

type Rep ListUserPoolsResponse Source # 
type Rep ListUserPoolsResponse = D1 (MetaData "ListUserPoolsResponse" "Network.AWS.CognitoIdentityProvider.ListUserPools" "amazonka-cognito-idp-1.4.3-C4aYmxMInTgGoQbrVLGYa0" False) (C1 (MetaCons "ListUserPoolsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_luprsUserPools") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UserPoolDescriptionType]))) ((:*:) (S1 (MetaSel (Just Symbol "_luprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_luprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

luprsUserPools :: Lens' ListUserPoolsResponse [UserPoolDescriptionType] Source #

The user pools from the response to list users.

luprsNextToken :: Lens' ListUserPoolsResponse (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.