SNS订阅的应用协议是什么?

What is application protocol of SNS subscription?

SNS 允许订阅者具有以下类型的协议

HTTP/S
Lambda
SQS
Email/JSON
Application

不确定应用程序协议指的是什么

以及如何填写端点

(a example is arn:aws:sns:us-east-1:5555555555:endpoint/ADM/application-name/uuid)

SNS——在我看来,从概念上来说——实际上是一项 AWS 服务下的两种不同产品。

  • HTTP(S)、Lambda、SQS、电子邮件、Email/JSON 和 SMS(您忘记了 SMS)

  • 移动推送通知(即 "application" -- 移动应用程序)

For the application protocol, the endpoint is the EndpointArn of a mobile app and device.

http://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html

除非您要发送移动推送通知,you don't publish to an EndpointArn。您发布到 TopicArn

对于除移动推送(https、电子邮件、sqs 等)以外的所有内容,当您向主题发送消息时,它会转到 all 的订阅者话题。个人订户不可单独寻址(除非我设法错过了一个很大的变化;如果是这样的话,我欢迎纠正)。

通过移动推送,您可以将消息单独发送到可单独寻址的端点 (EndpointArn) 或发送到订阅了一个主题的所有端点。