amazonka-cognito-sync-1.4.1: Amazon Cognito Sync 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.CognitoSync.ListIdentityPoolUsage

Contents

Description

Gets a list of identity pools registered with Cognito.

ListIdentityPoolUsage can only be called with developer credentials. You cannot make this API call with the temporary user credentials provided by Cognito Identity.

Synopsis

Creating a Request

listIdentityPoolUsage :: ListIdentityPoolUsage Source #

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

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

data ListIdentityPoolUsage Source #

A request for usage information on an identity pool.

See: listIdentityPoolUsage smart constructor.

Instances

Eq ListIdentityPoolUsage Source # 
Data ListIdentityPoolUsage Source # 

Methods

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

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

toConstr :: ListIdentityPoolUsage -> Constr #

dataTypeOf :: ListIdentityPoolUsage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListIdentityPoolUsage Source # 
Show ListIdentityPoolUsage Source # 
Generic ListIdentityPoolUsage Source # 
Hashable ListIdentityPoolUsage Source # 
NFData ListIdentityPoolUsage Source # 

Methods

rnf :: ListIdentityPoolUsage -> () #

AWSRequest ListIdentityPoolUsage Source # 
ToQuery ListIdentityPoolUsage Source # 
ToPath ListIdentityPoolUsage Source # 
ToHeaders ListIdentityPoolUsage Source # 
type Rep ListIdentityPoolUsage Source # 
type Rep ListIdentityPoolUsage = D1 (MetaData "ListIdentityPoolUsage" "Network.AWS.CognitoSync.ListIdentityPoolUsage" "amazonka-cognito-sync-1.4.1-B1NT9tPWsl33jDkgF48kaZ" False) (C1 (MetaCons "ListIdentityPoolUsage'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lipuNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lipuMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))
type Rs ListIdentityPoolUsage Source # 

Request Lenses

lipuNextToken :: Lens' ListIdentityPoolUsage (Maybe Text) Source #

A pagination token for obtaining the next page of results.

lipuMaxResults :: Lens' ListIdentityPoolUsage (Maybe Int) Source #

The maximum number of results to be returned.

Destructuring the Response

listIdentityPoolUsageResponse Source #

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

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

data ListIdentityPoolUsageResponse Source #

Returned for a successful ListIdentityPoolUsage request.

See: listIdentityPoolUsageResponse smart constructor.

Instances

Eq ListIdentityPoolUsageResponse Source # 
Data ListIdentityPoolUsageResponse Source # 

Methods

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

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

toConstr :: ListIdentityPoolUsageResponse -> Constr #

dataTypeOf :: ListIdentityPoolUsageResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListIdentityPoolUsageResponse Source # 
Show ListIdentityPoolUsageResponse Source # 
Generic ListIdentityPoolUsageResponse Source # 
NFData ListIdentityPoolUsageResponse Source # 
type Rep ListIdentityPoolUsageResponse Source # 
type Rep ListIdentityPoolUsageResponse = D1 (MetaData "ListIdentityPoolUsageResponse" "Network.AWS.CognitoSync.ListIdentityPoolUsage" "amazonka-cognito-sync-1.4.1-B1NT9tPWsl33jDkgF48kaZ" False) (C1 (MetaCons "ListIdentityPoolUsageResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lipursIdentityPoolUsages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [IdentityPoolUsage]))) (S1 (MetaSel (Just Symbol "_lipursCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_lipursNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lipursMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_lipursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

lipursCount :: Lens' ListIdentityPoolUsageResponse (Maybe Int) Source #

Total number of identities for the identity pool.

lipursNextToken :: Lens' ListIdentityPoolUsageResponse (Maybe Text) Source #

A pagination token for obtaining the next page of results.

lipursMaxResults :: Lens' ListIdentityPoolUsageResponse (Maybe Int) Source #

The maximum number of results to be returned.