Amazon Comprehend (IAM)
JSON →Amazon Comprehend is a natural language processing (NLP) service that uses machine learning to extract insights and relationships from text.
Common permissions
comprehend:ListEndpointscomprehend:DescribeEndpointcomprehend:ListTopicsDetectionJobscomprehend:DescribeTopicsDetectionJob Least-privilege example
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"comprehend:ListEndpoints",
"comprehend:DescribeEndpoint",
"comprehend:ListTopicsDetectionJobs",
"comprehend:DescribeTopicsDetectionJob"
],
"Resource": "*"
}
]
} Warnings
- Avoid comprehend:* — grants full control including delete and modify of endpoints, flywheels, and models
- Avoid comprehend:DeleteEndpoint and comprehend:DeleteFlywheel unless explicitly needed for cleanup
Resources
API
full doc /v1/iam/comprehend