simple-sns-client

0.2.3 • Public • Published

simple-sns-client Build Status

Helper client to simplify access to AWS SNS (NodeJS)

Usage

const AWS = require('aws-sdk');
const SNSClient = require('simple-sns-client');
 
const sns = new AWS.SNS();
const snsClient = new SNSClient(sns);
 
snsClient
    .getTopicArn('my-topic')
    .then(topicArn => snsClient.publish(topicArn, 'Hello world!'));

Readme

Keywords

none

Package Sidebar

Install

npm i simple-sns-client

Weekly Downloads

1

Version

0.2.3

License

Apache-2.0

Last publish

Collaborators

  • collaborne-team
  • cminardi
  • margherita.lazzarini
  • ankon
  • ronnyroeller