尝试注册新的 QuickSight 用户时出现 InvalidParameterValueException

InvalidParameterValueException when trying to register a new QuickSight user

我正在尝试使用以下命令注册新的 QuickSight 用户:

aws quicksight register-user --identity-type IAM --email email@email.com --aws-account-id ${AWS_ACCOUNT_ID} --user-role READER --namespace default

但我收到以下错误消息:

An error occurred (InvalidParameterValueException) when calling the RegisterUser operation: Invalid resource identifiers provided. Please check the documentation.

返回的信息不是很清楚具体是什么错误或者什么参数无效。我做错了什么?

我添加了 --session-name--iam-arn 并且成功了。显然,使用 --identity-type IAM.

时两者都是必需的