- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
Please try with the Linux Subsystem in Linux or the AWS CLI. Also the region of the bucket and the default one for your AWS CLI should be the same. I just tried the following and it worked.
aws textract analyze-document --document '{"S3Object":{"Bucket":"dus-idp-textract","Name":"pdf_table_1.png"}}' --feature-types '["TABLES"]' --region eu-west-1
[If you think my answer helped me, please consider accept it, thanks!]
The root user has all permissions, so it can not be a permissions issue: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html
But your command does not seem to be interpreted correct, so run it in a Cloud9 instance or a Linux Terminal with a role attached that allows for TextractFullAccess and also access to S3 in case you use your own document in your own bucket.
Also have to point out that it is not best practice to use the root user for anything but admin tasks, so better use a role attached to an instance (and secure your root account with MFA):
We strongly recommend that you do not use the root user for your everyday tasks, even the administrative ones. As a best practice, safeguard your root user credentials and don't use them for everyday tasks. Root user credentials are only used to perform a few account and service management tasks.
Contenuto pertinente
- AWS UFFICIALEAggiornata 7 mesi fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 2 anni fa