Added ConfirmSubscription + Tests + checks
For now subscriptions do nothing, but if we go the route of handing out subscribe tokens, I have layed the groundwork for validating that
This commit is contained in:
parent
ef8a97f6c3
commit
19074c535c
3 changed files with 57 additions and 6 deletions
|
|
@ -77,6 +77,7 @@ class Subscription(BaseModel):
|
|||
self.protocol = protocol
|
||||
self.arn = make_arn_for_subscription(self.topic.arn)
|
||||
self.attributes = {}
|
||||
self.confirmed = False
|
||||
|
||||
def publish(self, message, message_id):
|
||||
if self.protocol == 'sqs':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue