amazonka-cognito-sync-1.6.0: Amazon Cognito Sync SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Data SetCognitoEvents # 
Instance details

Defined in Network.AWS.CognitoSync.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 # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Show SetCognitoEvents # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Generic SetCognitoEvents # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Associated Types

type Rep SetCognitoEvents :: * -> * #

Hashable SetCognitoEvents # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

ToJSON SetCognitoEvents # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

AWSRequest SetCognitoEvents # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Associated Types

type Rs SetCognitoEvents :: * #

ToHeaders SetCognitoEvents # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

ToPath SetCognitoEvents # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

ToQuery SetCognitoEvents # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

NFData SetCognitoEvents # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Methods

rnf :: SetCognitoEvents -> () #

type Rep SetCognitoEvents # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

type Rep SetCognitoEvents = D1 (MetaData "SetCognitoEvents" "Network.AWS.CognitoSync.SetCognitoEvents" "amazonka-cognito-sync-1.6.0-IND3WlTGEzALpmsfKNeg9k" False) (C1 (MetaCons "SetCognitoEvents'" PrefixI True) (S1 (MetaSel (Just "_sceIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sceEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Map Text Text))))
type Rs SetCognitoEvents # 
Instance details

Defined in Network.AWS.CognitoSync.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 # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Data SetCognitoEventsResponse # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

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 # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Show SetCognitoEventsResponse # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Generic SetCognitoEventsResponse # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Associated Types

type Rep SetCognitoEventsResponse :: * -> * #

NFData SetCognitoEventsResponse # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

type Rep SetCognitoEventsResponse # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

type Rep SetCognitoEventsResponse = D1 (MetaData "SetCognitoEventsResponse" "Network.AWS.CognitoSync.SetCognitoEvents" "amazonka-cognito-sync-1.6.0-IND3WlTGEzALpmsfKNeg9k" False) (C1 (MetaCons "SetCognitoEventsResponse'" PrefixI False) (U1 :: * -> *))