AWS Cognito and API Gateway question

Hello guys, I am trying to call the user from Cognito into my lambda function so it can identify the current user and pull the user’s information from dynamaDB.

How do I do that? Help!!

I find some docs about Amazon Cognito API References, you may be able to use some scripts to execute the related APIs to call the user info from dynamaDB.
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-reference.html

1 Like

Thanks @brightran I can’t still figure out how input the code in my lambda function so that it can call the user information from the database and to show it the users UI. Do you know how to do that?