I’m building mobile app, upon refresh (clicking refresh button or pull down) i need to call AWS lambda and display latest data. Tried couple of options but could not succeed. Any suggestions would be appreciated.
Question posted in Amazon Web Sevices
The official Amazon Web Services documentation can be found here.
The official Amazon Web Services documentation can be found here.
2
Answers
Your application should call API Gateway (with cognito), and it trigger your lambda.
You can create FunctionUrl for your lambda and then make an HTTP Request from your mobile app.
Steps to create FunctionUrl:
Finally you can copy the function URL and make the request from your mobile app.