我用 PHP 开发了 SaaS 订阅流程。需要 PHP 模块或添加(类)来监控更改。我需要设置 SQS 队列、订阅产品的 SNS 主题获取通知(订阅成功、不成功等)等功能
我在哪里得到错误?我创建了 SNS 订阅,订阅了 SNS 主题,但出现错误。
捕获的异常:在“https://sns.us-east-1.amazonaws.com”上执行“AddPermission”时出错;AWS HTTP 错误:客户端错误:POST https://sns.us-east-1.amazonaws.com
导致403 Forbidden
响应:Sender Authorizati (truncated...) AuthorizationError (client): User: arn:aws:iam:: https://forums.aws.amazon.com/:root is not授权执行:SNS:AddPermission 资源:arn:aws:sns:us-east-1: https://forums.aws.amazon.com/:aws-mp-subscription-notification-https://forums.aws .amazon.com/ - Sender AuthorizationError 用户:arn:aws:iam:: https://forums.aws.amazon.com/:root无权执行:SNS:AddPermission on resource:arn:aws:sns:us -east-1:https ://forums.aws.amazon.com/:aws-mp-subscription-notification-https://forums.aws.amazon.com/ http://....