Architecture overview
Deploying this solution builds the following environment in the AWS Cloud.

Figure 1: Text Analysis with Amazon OpenSearch Service and Amazon Comprehend architecture on AWS
The AWS CloudFormation template deploys an
Amazon API Gateway
When the API receives an authorized request, the proxy microservice sends the request to Amazon Comprehend for text analysis. A call is made to Amazon OpenSearch Service which indexes the data, and publishes logs and metrics to CloudWatch.
You can visualize the indexed data on the solution’s pre-configured Kibana dashboard.