comprehend:BatchDetectTargetedSentiment is a Read access-level action in the comprehend service. Grants permission to detect the sentiments associated with specific entities (such as brands or products) within the given list of text documents
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows comprehend:BatchDetectTargetedSentiment. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowComprehendBatchDetectTargetedSentiment",
"Effect": "Allow",
"Action": "comprehend:BatchDetectTargetedSentiment",
"Resource": "*"
}
]
}