Skip to content

/AWS1/CL_CGS=>SETCOGNITOEVENTS()

About SetCognitoEvents

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.

Method Signature

IMPORTING

Required arguments:

IV_IDENTITYPOOLID TYPE /AWS1/CGSIDENTITYPOOLID /AWS1/CGSIDENTITYPOOLID

The Cognito Identity Pool to use when configuring Cognito Events

IT_EVENTS TYPE /AWS1/CL_CGSEVENTS_W=>TT_EVENTS TT_EVENTS

The events to configure