comprehend:BatchDetectTargetedSentiment

Read

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

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

No condition keys are documented for this action.

Example IAM policy

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": "*"
    }
  ]
}

Related actions in comprehend

View all comprehend actions →