Example of publishing to SNS topic and consuming SQS queue using aws-sdk-js