Learn R Programming

paws.security.identity (version 0.1.0)

cognitosync_set_cognito_events: Sets the AWS Lambda function for a given event type for an identity pool

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.

Usage

cognitosync_set_cognito_events(IdentityPoolId, Events)

Arguments

IdentityPoolId

[required] The Cognito Identity Pool to use when configuring Cognito Events

Events

[required] The events to configure

Request syntax

svc$set_cognito_events(
  IdentityPoolId = "string",
  Events = list(
    "string"
  )
)

Details

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.