Amazon Cognito Sync
API Reference (API Version 2014-06-30)


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.

Request Syntax

GET /identitypools/IdentityPoolId/events HTTP/1.1

URI Request Parameters

The request requires the following URI parameters.


The Cognito Identity Pool ID for the request

Length Constraints: Minimum length of 1. Maximum length of 55.

Pattern: [\w-]+:[0-9a-f-]+

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Events": { "string" : "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


The Cognito Events returned from the GetCognitoEvents request

Type: String to string map


For information about the errors that are common to all actions, see Common Errors.


Indicates an internal service error.

HTTP Status Code: 500


Thrown when a request parameter does not comply with the associated constraints.

HTTP Status Code: 400


Thrown when a user is not authorized to access the requested resource.

HTTP Status Code: 403


Thrown if the resource doesn't exist.

HTTP Status Code: 404


Thrown if the request is throttled.

HTTP Status Code: 429

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: