amazonka-cognito-sync-1.4.2: 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.SetCognitoEvents

Contents

Description

Sets the AWS Lambda function for a given event type for an identity pool. This request only updates the key/value pair specified. Other key/values pairs are not updated. To remove a key value pair, pass a empty value for the particular key.

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

setCognitoEvents Source #

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

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

data SetCognitoEvents Source #

A request to configure Cognito Events"

"

See: setCognitoEvents smart constructor.

Instances

Eq SetCognitoEvents Source # 
Data SetCognitoEvents Source # 

Methods

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

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

toConstr :: SetCognitoEvents -> Constr #

dataTypeOf :: SetCognitoEvents -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetCognitoEvents Source # 
Show SetCognitoEvents Source # 
Generic SetCognitoEvents Source # 
Hashable SetCognitoEvents Source # 
ToJSON SetCognitoEvents Source # 
NFData SetCognitoEvents Source # 

Methods

rnf :: SetCognitoEvents -> () #

AWSRequest SetCognitoEvents Source # 
ToQuery SetCognitoEvents Source # 
ToPath SetCognitoEvents Source # 
ToHeaders SetCognitoEvents Source # 
type Rep SetCognitoEvents Source # 
type Rep SetCognitoEvents = D1 (MetaData "SetCognitoEvents" "Network.AWS.CognitoSync.SetCognitoEvents" "amazonka-cognito-sync-1.4.2-KIRynQdJF721sdO47WpgwH" False) (C1 (MetaCons "SetCognitoEvents'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sceIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_sceEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Map Text Text)))))
type Rs SetCognitoEvents Source # 

Request Lenses

sceIdentityPoolId :: Lens' SetCognitoEvents Text Source #

The Cognito Identity Pool to use when configuring Cognito Events

sceEvents :: Lens' SetCognitoEvents (HashMap Text Text) Source #

The events to configure

Destructuring the Response

setCognitoEventsResponse :: SetCognitoEventsResponse Source #

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

data SetCognitoEventsResponse Source #

See: setCognitoEventsResponse smart constructor.

Instances

Eq SetCognitoEventsResponse Source # 
Data SetCognitoEventsResponse Source # 

Methods

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

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

toConstr :: SetCognitoEventsResponse -> Constr #

dataTypeOf :: SetCognitoEventsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetCognitoEventsResponse Source # 
Show SetCognitoEventsResponse Source # 
Generic SetCognitoEventsResponse Source # 
NFData SetCognitoEventsResponse Source # 
type Rep SetCognitoEventsResponse Source # 
type Rep SetCognitoEventsResponse = D1 (MetaData "SetCognitoEventsResponse" "Network.AWS.CognitoSync.SetCognitoEvents" "amazonka-cognito-sync-1.4.2-KIRynQdJF721sdO47WpgwH" False) (C1 (MetaCons "SetCognitoEventsResponse'" PrefixI False) U1)