无法在控制台或CLI命令行中创建Rekognition项目。

0

【以下的问题经过翻译处理】 我按照文档 https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/cp-create-project.html 中的教程进行操作。

  • 在控制台中,我无法看到文档中提到的第2、3、4个步骤:
  1. 在左侧窗格中,选择使用自定义标签。这将显示 Amazon Rekognition 自定义标签页面。
  2. 选择开始。
  3. 选择创建项目。
  • 在 CLI 命令行中,我能够对我的存储桶中的图像进行 API 调用,并得到预测结果。

但是,如果我尝试执行命令 aws rekognition create-project --project-name my-project,我会收到一个错误:“An error occurred (AccessDeniedException) when calling the CreateProject operation”。

我尝试使用根用户和具有“AmazonRekognitionFullAccess”和“AdministratorAccess”权限的新用户,并正确设置了我的凭据,使用“aws configure”命令正确设置了访问密钥、秘密访问密钥和区域,并在文件“~/.aws/config”中进行了检查。

不知道我漏了什么,希望能得到帮助。

profile picture
EXPERT
demandé il y a 8 mois50 vues
1 réponse
0

【以下的回答经过翻译处理】 您可以尝试打开调试日志以查看错误的更多详细信息,请参考https://docs.aws.amazon.com/cli/latest/reference/了解如何打开调试日志。

另外,请参考https://docs.aws.amazon.com/general/latest/gr/rekognition.html查看Rekognition自定义标签目前支持的区域。

profile picture
EXPERT
répondu il y a 8 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions