1 Answer
- Newest
- Most votes
- Most comments
2
Hello.
As mentioned in the error message, I think the IAM user you are using ({myEmail}.com) does not have the IAM policy to allow you to run "textract:DetectDocumentText".
So, please check whether "textract:DetectDocumentText" is allowed in the IAM policy attached to the IAM user.
If it is not allowed, try attaching the following IAM policy.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"textract:DetectDocumentText"
],
"Resource": "*"
}
]
}
IAM actions related to textract are described in the following documentation.
https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazontextract.html
