awssum-amazon-sns
v1.2.0
Published
AwsSum plugin for Amazon Simple Notification Service (SNS).
Downloads
6
Maintainers
Readme
NOTE: AwsSum is now deprecated. Please use aws-sdk instead.
awssum-amazon-sns
This is an AwsSum
plugin!
You'll need to add awssum-amazon-sns to your package.json dependencies. Both awssum and awssum-amazon are pulled in as peer dependencies.
Example
List all your topics:
var fmt = require('fmt');
var amazonSns = require('awssum-amazon-sns');
var sns = new amazonSns.Sns({
'accessKeyId' : process.env.ACCESS_KEY_ID,
'secretAccessKey' : process.env.SECRET_ACCESS_KEY,
'region' : amazonSns.US_EAST_1,
});
sns.ListTopics(function(err, data) {
fmt.dump(err, 'err');
fmt.dump(data, 'data');
});
Operations
AddPermission
Docs: AddPermission on AWS
ConfirmSubscription
Docs: ConfirmSubscription on AWS
CreateTopic
Docs: CreateTopic on AWS
DeleteTopic
Docs: DeleteTopic on AWS
GetSubscriptionAttributes
Docs: GetSubscriptionAttributes on AWS
GetTopicAttributes
Docs: GetTopicAttributes on AWS
ListSubscriptions
Docs: ListSubscriptions on AWS
ListSubscriptionsByTopic
Docs: ListSubscriptionsByTopic on AWS
ListTopics
Docs: ListTopics on AWS
Publish
Docs: Publish on AWS
RemovePermission
Docs: RemovePermission on AWS
SetSubscriptionAttributes
Docs: SetSubscriptionAttributes on AWS
SetTopicAttributes
Docs: SetTopicAttributes on AWS
Subscribe
Docs: Subscribe on AWS
Unsubscribe
Docs: Unsubscribe on AWS
Author
Written by Andrew Chilton - Blog - Twitter.
License
- Copyright 2011-2013 Apps Attic Ltd. All rights reserved.
- Copyright 2013 Andrew Chilton. All rights reserved.
(Ends)