2015/04/16 - Amazon Cognito Sync - 2 new api methods
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.
Request Syntax
client.set_cognito_events( IdentityPoolId='string', Events={ 'string': 'string' } )
string
[REQUIRED]
The Cognito Identity Pool to use when configuring Cognito Events
dict
[REQUIRED]
The events to configure
(string) --
(string) --
None
Gets the events and the corresponding Lambda functions associated with an identity pool
Request Syntax
client.get_cognito_events( IdentityPoolId='string' )
string
[REQUIRED]
The Cognito Identity Pool ID for the request
dict
Response Syntax
{ 'Events': { 'string': 'string' } }
Response Structure
(dict) --
The response from the GetCognitoEvents request
Events (dict) --
The Cognito Events returned from the GetCognitoEvents request
(string) --
(string) --