REST API backed by a Lambda function that invokes the Comprehend DetectSentiment API.
Visit the GitHub repo for this pattern.
git clone https://github.com/aws-samples/serverless-patterns/ cd serverless-patterns/apigw-lambda-comprehend-sam
sam deploy --guided
sam delete
.