amazonka-cognito-idp-1.6.1: Amazon Cognito Identity Provider 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.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:

  • lupNextToken - 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 - The maximum number of results you want the request to return when listing the user pools.

data ListUserPools Source #

Represents the request to list user pools.

See: listUserPools smart constructor.

Instances
Eq ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

Data ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

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 # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

Show ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

Generic ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

Associated Types

type Rep ListUserPools :: Type -> Type #

Hashable ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

ToJSON ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

AWSRequest ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

Associated Types

type Rs ListUserPools :: Type #

ToHeaders ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

ToPath ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

ToQuery ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

NFData ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

Methods

rnf :: ListUserPools -> () #

type Rep ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

type Rep ListUserPools = D1 (MetaData "ListUserPools" "Network.AWS.CognitoIdentityProvider.ListUserPools" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "ListUserPools'" PrefixI True) (S1 (MetaSel (Just "_lupNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lupMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat)))
type Rs ListUserPools Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

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:

  • luprsUserPools - The user pools from the response to list users.
  • luprsNextToken - 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.
  • luprsResponseStatus - -- | The response status code.

data ListUserPoolsResponse Source #

Represents the response to list user pools.

See: listUserPoolsResponse smart constructor.

Instances
Eq ListUserPoolsResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

Data ListUserPoolsResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

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 # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

Show ListUserPoolsResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

Generic ListUserPoolsResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

Associated Types

type Rep ListUserPoolsResponse :: Type -> Type #

NFData ListUserPoolsResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

Methods

rnf :: ListUserPoolsResponse -> () #

type Rep ListUserPoolsResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUserPools

type Rep ListUserPoolsResponse = D1 (MetaData "ListUserPoolsResponse" "Network.AWS.CognitoIdentityProvider.ListUserPools" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "ListUserPoolsResponse'" PrefixI True) (S1 (MetaSel (Just "_luprsUserPools") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UserPoolDescriptionType])) :*: (S1 (MetaSel (Just "_luprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.

luprsResponseStatus :: Lens' ListUserPoolsResponse Int Source #

  • - | The response status code.