AWS Lambda + API Gateway can easily and quickly build your api servcie.
You can find the the introduce and Benefits on aws documents.
I will just show you how eazy to build a api in this article.

Create a python lambda by your fastest way Link to heading

1-lamda

Create a HTTP API by AWS API Gateway Link to heading

2-API

when creating the HTTP API, use the default stage and default settings Link to heading

3-stage

add a test rout linked to python lambda as the endpoint Link to heading

4-rout

then test your api in browser, connected backend lambda successfully! Link to heading

5-test