1 回答
- 最新
- 投票最多
- 评论最多
0
【以下的回答经过翻译处理】 经过AWS技术支持的帮助,通过以下步骤解决了问题。
- 创建如下所示的策略。有两个关键点:
- 在GUI中忽略与SendOTPMessage和VerifyOTPMessage相关的两个“无效操作”错误。保存策略。
- 确保资源URL完全按照指定的方式,并使用您的帐户ID。
换句话说,使用此选项代替“第2.1步:创建IAM策略”中的策略示例:https://docs.aws.amazon.com/pinpoint/latest/developerguide/tutorials-two-way-sms-part-2.html
{
“Version”:“2012-10-17”,
“语句”:[
{
“Sid”:“UseConsole”,
“Effect”:“Allow”,
“Action”:[
“mobiletargeting:SendOTPMessage”,
“mobiletargeting:VerifyOTPMessage”
],
“Resource”:“arn:aws:mobiletargeting:*:YOUR_ACCOUNT_ID:apps / *”
}
]
}
- 将该策略附加到用户。
相关内容
- AWS 官方已更新 2 年前