Amazon AWS SNS: How do i subscribe to SNS topic from iOS?

自作多情 提交于 2019-12-08 13:43:42

Sorry, unfortunately you copied code that included a typo:

createPlatformApplication:endpointRequest

Should be:

createPlatformEndpoint:endpointRequest

The method CreatePlatformApplication was not allowed in your original policy. Once you allowed sns:*, the call was allowed by the service, but the request didn't include the required parameters for CreatePlatformApplication, hence the ValidationError. The trimmed ARN in your original message is also a result of lack of parameters for CreatePlatformApplication.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!