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.GetCognitoEvents

Contents

Description

Gets the events and the corresponding Lambda functions associated with an identity pool.

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

Synopsis

Creating a Request

getCognitoEvents #

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

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

data GetCognitoEvents #

A request for a list of the configured Cognito Events

See: getCognitoEvents smart constructor.

Instances

Eq GetCognitoEvents # 
Data GetCognitoEvents # 

Methods

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

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

toConstr :: GetCognitoEvents -> Constr #

dataTypeOf :: GetCognitoEvents -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCognitoEvents # 
Show GetCognitoEvents # 
Generic GetCognitoEvents # 
Hashable GetCognitoEvents # 
NFData GetCognitoEvents # 

Methods

rnf :: GetCognitoEvents -> () #

AWSRequest GetCognitoEvents # 
ToQuery GetCognitoEvents # 
ToPath GetCognitoEvents # 
ToHeaders GetCognitoEvents # 
type Rep GetCognitoEvents # 
type Rep GetCognitoEvents = D1 (MetaData "GetCognitoEvents" "Network.AWS.CognitoSync.GetCognitoEvents" "amazonka-cognito-sync-1.4.5-6kgm8A380gaABwgTunDxt8" True) (C1 (MetaCons "GetCognitoEvents'" PrefixI True) (S1 (MetaSel (Just Symbol "_gceIdentityPoolId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetCognitoEvents # 

Request Lenses

gceIdentityPoolId :: Lens' GetCognitoEvents Text #

The Cognito Identity Pool ID for the request

Destructuring the Response

getCognitoEventsResponse #

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

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

data GetCognitoEventsResponse #

The response from the GetCognitoEvents request

See: getCognitoEventsResponse smart constructor.

Instances

Eq GetCognitoEventsResponse # 
Data GetCognitoEventsResponse # 

Methods

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

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

toConstr :: GetCognitoEventsResponse -> Constr #

dataTypeOf :: GetCognitoEventsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCognitoEventsResponse # 
Show GetCognitoEventsResponse # 
Generic GetCognitoEventsResponse # 
NFData GetCognitoEventsResponse # 
type Rep GetCognitoEventsResponse # 
type Rep GetCognitoEventsResponse = D1 (MetaData "GetCognitoEventsResponse" "Network.AWS.CognitoSync.GetCognitoEvents" "amazonka-cognito-sync-1.4.5-6kgm8A380gaABwgTunDxt8" False) (C1 (MetaCons "GetCognitoEventsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gcersEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) (S1 (MetaSel (Just Symbol "_gcersResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

gcersEvents :: Lens' GetCognitoEventsResponse (HashMap Text Text) #

The Cognito Events returned from the GetCognitoEvents request

gcersResponseStatus :: Lens' GetCognitoEventsResponse Int #

  • - | The response status code.