Client Error Exception (Access denied for AWS Comprehend)

0

Getting the following exception while trying to access the AWS Comprehend using aws_access_key_id, aws_secret_access_key, aws_session_token. "ClientError: An error occurred (AccessDeniedException) when calling the BatchDetectDominantLanguage operation: User: arn:aws:sts::********:assumed-role/AWSReservedSSO_AWSAdministratorAccess_************/*******@.com is not authorized to perform: comprehend:BatchDetectDominantLanguage with an explicit deny in a service control policy"

1回答
0

You should confirm with your AWS Organizations administrator. Probably the administrator is the one who created your AWS account. The operation (comprehend:BatchDetectDominantLanguage) is denied by Service Control Policy (SCP) of AWS Organizations. SCP is able to deny operations independently of IAM policies.

imiky
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ