Permalink
Browse files

Fix docstring for SNS topic params

These need to be ARNs and not just the name of the topic.
  • Loading branch information...
jamesls committed Dec 3, 2012
1 parent b1611a7 commit 3e1b2a7436af3e87f3b975dcecd80b22ef28e503
Showing with 2 additions and 2 deletions.
  1. +2 −2 boto/sns/connection.py
View
@@ -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.

0 comments on commit 3e1b2a7

Please sign in to comment.