amazonka-cognito-sync-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Data SetCognitoEvents Source # 
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 Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Show SetCognitoEvents Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Generic SetCognitoEvents Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Associated Types

type Rep SetCognitoEvents :: Type -> Type #

Hashable SetCognitoEvents Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

ToJSON SetCognitoEvents Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

AWSRequest SetCognitoEvents Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Associated Types

type Rs SetCognitoEvents :: Type #

ToHeaders SetCognitoEvents Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

ToPath SetCognitoEvents Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

ToQuery SetCognitoEvents Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

NFData SetCognitoEvents Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Methods

rnf :: SetCognitoEvents -> () #

type Rep SetCognitoEvents Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

type Rep SetCognitoEvents = D1 (MetaData "SetCognitoEvents" "Network.AWS.CognitoSync.SetCognitoEvents" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" 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 Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

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

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Data SetCognitoEventsResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Show SetCognitoEventsResponse Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Generic SetCognitoEventsResponse Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

Associated Types

type Rep SetCognitoEventsResponse :: Type -> Type #

NFData SetCognitoEventsResponse Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

type Rep SetCognitoEventsResponse Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetCognitoEvents

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