I have a simple AWS implementation using API Gateway, Lambda & DynamoDB. I noticed that AWS API Gateway allows multiple stages. After reading a bit of the docs and playing around with the configuration, it's not obvious to me how I would be able to create new endpoint which could point to a new lambda function.
My current endpoint is something like:
https://xxx.execute-api.us-east-1.amazonaws.com/prod/my-mymethod
I am looking to create something like:
https://xxx.execute-api.us-east-1.amazonaws.com/stage/my-mymethod
which would point to an independent Lambda function.
How exactly can this be done?