I have a web app with a serverless backend using API Gateway
, Lambda
and DynamoDB
. In the app, a user can create/delete items. I want to use Pinpoint to know the total number of items created or deleted.
Right now, when a user creates/deletes a new item, a lambda function is triggered and I get the event, however, I have no idea about how to pass it to Pinpoint. I checked the docs and Pinpoint.putEvents
seems like the solution but I can't find any example or reference where this is done
Do you have any resource for this scenario or any idea? Thanks in advance.