Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix docstring for SNS topic params

These need to be ARNs and not just the name of the topic.
  • Loading branch information...
commit 3e1b2a7436af3e87f3b975dcecd80b22ef28e503 1 parent b1611a7
@jamesls jamesls authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 boto/sns/connection.py
View
4 boto/sns/connection.py
@@ -255,7 +255,7 @@ def subscribe(self, topic, protocol, endpoint):
Subscribe to a Topic.
:type topic: string
- :param topic: The name of the new topic.
+ :param topic: The ARN of the new topic.
:type protocol: string
:param protocol: The protocol used to communicate with
@@ -302,7 +302,7 @@ def subscribe_sqs_queue(self, topic, queue):
that policy. If no policy exists, a new policy will be created.
:type topic: string
- :param topic: The name of the new topic.
+ :param topic: The ARN of the new topic.
:type queue: A boto Queue object
:param queue: The queue you wish to subscribe to the SNS Topic.
Please sign in to comment.
Something went wrong with that request. Please try again.