Advertisement
Guest User

Untitled

a guest
Feb 25th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import boto3
  2.  
  3. client = boto3.client('sns')
  4.  
  5. response = client.publish(
  6. TopicArn='<your topic arn>',
  7. Message='<your message>'
  8. )
  9. print("Response: {}".format(response))
  10.  
  11. # TODO Receiving message from topic
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement