get_cognito_events

CognitoSync.Client.get_cognito_events(**kwargs)

Gets the events and the corresponding Lambda functions associated with an identity pool.

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

See also: AWS API Documentation

Request Syntax

response = client.get_cognito_events(
    IdentityPoolId='string'
)
Parameters
IdentityPoolId (string) --

[REQUIRED]

The Cognito Identity Pool ID for the request

Return type
dict
Returns
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) --

Exceptions

  • CognitoSync.Client.exceptions.InvalidParameterException
  • CognitoSync.Client.exceptions.ResourceNotFoundException
  • CognitoSync.Client.exceptions.NotAuthorizedException
  • CognitoSync.Client.exceptions.InternalErrorException
  • CognitoSync.Client.exceptions.TooManyRequestsException