amazonka-cognito-sync-1.4.5: 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 #

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:

  • lipuNextToken - A pagination token for obtaining the next page of results.
  • lipuMaxResults - The maximum number of results to be returned.

data ListIdentityPoolUsage #

A request for usage information on an identity pool.

See: listIdentityPoolUsage smart constructor.

Instances

Eq ListIdentityPoolUsage # 
Data ListIdentityPoolUsage # 

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 # 
Show ListIdentityPoolUsage # 
Generic ListIdentityPoolUsage # 
Hashable ListIdentityPoolUsage # 
NFData ListIdentityPoolUsage # 

Methods

rnf :: ListIdentityPoolUsage -> () #

AWSRequest ListIdentityPoolUsage # 
ToQuery ListIdentityPoolUsage # 
ToPath ListIdentityPoolUsage # 
ToHeaders ListIdentityPoolUsage # 
type Rep ListIdentityPoolUsage # 
type Rep ListIdentityPoolUsage = D1 (MetaData "ListIdentityPoolUsage" "Network.AWS.CognitoSync.ListIdentityPoolUsage" "amazonka-cognito-sync-1.4.5-6kgm8A380gaABwgTunDxt8" 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 # 

Request Lenses

lipuNextToken :: Lens' ListIdentityPoolUsage (Maybe Text) #

A pagination token for obtaining the next page of results.

lipuMaxResults :: Lens' ListIdentityPoolUsage (Maybe Int) #

The maximum number of results to be returned.

Destructuring the Response

listIdentityPoolUsageResponse #

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 #

Returned for a successful ListIdentityPoolUsage request.

See: listIdentityPoolUsageResponse smart constructor.

Instances

Eq ListIdentityPoolUsageResponse # 
Data ListIdentityPoolUsageResponse # 

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 # 
Show ListIdentityPoolUsageResponse # 
Generic ListIdentityPoolUsageResponse # 
NFData ListIdentityPoolUsageResponse # 
type Rep ListIdentityPoolUsageResponse # 
type Rep ListIdentityPoolUsageResponse = D1 (MetaData "ListIdentityPoolUsageResponse" "Network.AWS.CognitoSync.ListIdentityPoolUsage" "amazonka-cognito-sync-1.4.5-6kgm8A380gaABwgTunDxt8" 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 DecidedUnpack) (Rec0 Int))))))

Response Lenses

lipursCount :: Lens' ListIdentityPoolUsageResponse (Maybe Int) #

Total number of identities for the identity pool.

lipursNextToken :: Lens' ListIdentityPoolUsageResponse (Maybe Text) #

A pagination token for obtaining the next page of results.

lipursMaxResults :: Lens' ListIdentityPoolUsageResponse (Maybe Int) #

The maximum number of results to be returned.