Learn R Programming

paws.security.identity (version 0.1.12)

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.

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

Usage

cognitosync_set_cognito_events(IdentityPoolId, Events)

Value

An empty list.

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"
  )
)