amazonka-cognito-sync-1.4.0: 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:

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.