Amazon API Gateway to Amazon Comprehend

API Gateway REST API → Amazon Comprehend

Create a REST API that acts as a proxy to Amazon Comprehend DetectSentiment API operation.

This sample project demonstrates how to use Amazon API Gateway REST API as a proxy to Amazon Comprehend DetectSentiment API.
Use this solution to expose other Comprehend API operations with minimal effort.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-comprehend

Deploy

sam deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Created by:

Saborni Bhattacharya

Saborni Bhattacharya

AWS SA, Cloud Enthusiast

Follow on LinkedIn