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

Contents

Description

Sets the AWS Lambda function for a given event type for an identity pool. This request only updates the keyvalue pair specified. Other keyvalues 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 #

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 #

A request to configure Cognito Events"

See: setCognitoEvents smart constructor.

Instances

Eq SetCognitoEvents # 
Data SetCognitoEvents # 

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

Methods

rnf :: SetCognitoEvents -> () #

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

Request Lenses

sceIdentityPoolId :: Lens' SetCognitoEvents Text #

The Cognito Identity Pool to use when configuring Cognito Events

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

The events to configure

Destructuring the Response

setCognitoEventsResponse :: SetCognitoEventsResponse #

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

data SetCognitoEventsResponse #

See: setCognitoEventsResponse smart constructor.

Instances

Eq SetCognitoEventsResponse # 
Data SetCognitoEventsResponse # 

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 # 
Show SetCognitoEventsResponse # 
Generic SetCognitoEventsResponse # 
NFData SetCognitoEventsResponse # 
type Rep SetCognitoEventsResponse # 
type Rep SetCognitoEventsResponse = D1 (MetaData "SetCognitoEventsResponse" "Network.AWS.CognitoSync.SetCognitoEvents" "amazonka-cognito-sync-1.4.5-6kgm8A380gaABwgTunDxt8" False) (C1 (MetaCons "SetCognitoEventsResponse'" PrefixI False) U1)