Amit Talmor
Amit Talmor

Reputation: 8174

AWS SNS - How to subscribe an endpoint to a topic using 'application' as protocol?

boto.sns sns_connection.subscribe(topic, protocol , endpoint)

unable to subscribe an endpoint to a topic using 'application' as protocol. Current choices - for are: email|email-json|http|https|sqs|sms

Upvotes: 1

Views: 1074

Answers (1)

garnaat
garnaat

Reputation: 45846

The doc strings are out of date in boto. I have submitted a pull request (https://github.com/boto/boto/pull/2017) to fix that. However, you can still specify a value of application for the protocol parameter. Boto is not trying to validate that parameter value. Make sure you supply the appropriate value for the endpoint parameter.

Upvotes: 1

Related Questions