Comprehend - Account is not authorized to make this call

0

I am trying to make a AWS CLI command request to Comprehend but I am getting an error:

An error occurred (NotAuthorizedException) when calling the DetectPiiEntities operation: Your account is not authorized to make this call.

I am signed as the root user for my AWS account with full administrator access. Do I need to do something to enable my account for Comprehend?

jshah
已提問 4 個月前檢視次數 180 次
2 個答案
0

Hello.

Judging from the content of the error, it appears that the use of Comprehend is restricted in your AWS account.
There may be restrictions on the AWS side, so I think it would be a good idea to open a case with AWS Support under "Account and billing" and inquire.
https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

Also, although it may not be very relevant, please make sure that you have selected a region where Comprehend can be used.
https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/?nc1=h_ls

profile picture
專家
已回答 4 個月前
profile pictureAWS
專家
已審閱 4 個月前
0

Hi,

In addition to Riku's guidance, I would also suggest you to check if you account is controlled by an AWS Organizations hierarchy: https://aws.amazon.com/organizations/

In that case, check if this structure doesn't have a policy in place barring your from using Comprehend for compliance reasons or any other similar purpose. See SCP documentation: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_examples.html

Best,

Didier

profile pictureAWS
專家
已回答 4 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南