pythonamazon-web-servicesboto3amazon-comprehend

What is the "DataAccessRoleArn" for Comprehend in boto 3?


I am using boto3's interface for AWS Comprehend for sentiment analysis.

I have an issue with the 'DataAccessRoleArn' parameter. What kind of value is inserted in this? I am requesting for the format of it or some sample.


Solution

  • Adding to above answer yes it requires ARN of the IAM role that grants Amazon Comprehend read access to your input data.

    But the ARN should be in below format with account number and which is not an unique id:

    arn:aws:iam::<account number>:role/<role_name>