Questions tagged [amazon-sns]

Amazon Simple Notification Service is a highly available, cloud hosted publish/subscribe manager.

Amazon Simple Notification Service is a highly available, cloud hosted publish/subscribe manager. A user creates an SNS topic and other users subscribe to it. When a message is published to a topic it is pushed to each subscriber.

2929 questions
1
vote
1 answer

boto3 - aws sns - specify Sender ID

The following code works to send a message but when it arrives, it displays the text 'VERIFY' for a sender id. How do I specific a sender ID? I think it's done with the message attributes but I cannot figure out the syntax. session =…
Dennis M. Gray
  • 332
  • 1
  • 3
  • 17
1
vote
1 answer

Can functions in serverless share events?

I'd like to create a number of cloudwatch alarms when specific resources are created in our AWS account (EC2 instances, ELBs, etc) In my serverless.yml I can do the following, but this ends up creating multiple cloudwatch rules that listen for the…
1
vote
1 answer

How to send SNS failed SMS delivery receipts to an HTTP endpoint?

As far as I know, there is no way to directly send an SNS failed delivery receipt(of an SMS) to a custom HTTP endpoint; the only way I can think of is an intermediate CloudWatch log, which triggers a Lambda, which calls my API gateway URL. What…
1
vote
2 answers

Mobile Lookup service in AWS?

Is there any amazon aws service available for mobile number lookup for mobile validation? Like twilio lookup service(Ref: https://www.twilio.com/lookup)
Jeba
  • 778
  • 1
  • 4
  • 13
1
vote
1 answer

Sending SNS notifications when there is an IAM Change

I set an SNS notification to send me an email whenever there is a change regarding the IAM policies. When a change occurs, CloudTrail sends a Log to CloudWatch which triggers an alarm attached to an SNS topic. More details in this link. Here is an…
1
vote
0 answers

Is it possible to send multiple SNS in a lambda function?

I tried to use Promise to do that but always got timeout error. All Going to send logged but no SNS 0 has error or SNS 0 has no error logged function sendSNSMessage(params, index) { return new Promise(function (resolve, reject) { …
William
  • 31
  • 4
1
vote
0 answers

Baidu Cloud Push on AWS SNS

I am using the AWS SNS for sending the Mobile Push. And using "Baidu Cloud Push" as Android push service. We found that there are some problems appeared when we sending the push to the Android device. As the document says, we may set the message…
Tony To
  • 11
  • 2
1
vote
0 answers

AWS SES/SNS notification no original headers

I'm running a notification node express backend service via AWS Lambda to send emails via ses and catch bounces and complaints to blacklist them on certain conditions. I'm using nodemailers Mailcomposer module to compose a raw email. here is my code…
sami_analyst
  • 1,751
  • 5
  • 24
  • 43
1
vote
0 answers

AWS Golang sdk - change policy to sns topic

I'm trying to subscribe an endpoint to a S3 bucket's events through an SNS topic. What I achieved to have through the golang sdk: Create an SNS topic Make the S3 bucket's events publish to the SNS topic Subscribe my endpoint the the SNS topic. At…
1
vote
0 answers

AWS SES- Using Feedback-ID(from the header) to get Notification Obj

Is there any way(APIs?) to get the Bounce/Complaint notification object(atleast bounce/feedback type) using Feedback-ID which we receive as one of the header of the 'Email Feedback Forwarding' email address. ex. Feedback-ID:…
1
vote
1 answer

AWS sns email notification receiving utf-8 characters like =C3=A8

I'm receiving sns notifications from a topic forwarding emails in a django app. The request body json present in the Message.content contains strange utf-8 format ( ie: "=C3=A8" representing "è") and also some "= " somewhere. I'm trying to parse it…
1
vote
1 answer

AWS Iot Rule not getting triggered using MQTT browser client

I have a SNS topic and subscriber set up like so : The subscribers are correctly notified when the Topic is tested via "Publish to Topic" from AWS console I have a IoT rule like so : I have a policy attached to the rule like so : { "Version":…
Anshu Dutta
  • 491
  • 2
  • 6
  • 18
1
vote
1 answer

Send large amount of notification using SNS PHP-SDK

I am using amazon PHP SDK V3.13.1, I have to send minimum 10,000 push notification within 30 seconds. Right now i am using publishAsync method it is faster but still i didn't send it within time. So i have implement socket and send a bunch of 3500…
1
vote
1 answer

Unable to publish SMS to endpoints using AWS SNS http request(Could not find operation Publish for version 2010-03-31)

I am trying to send SMS to endpoints the things i did , Created topic,subscriber through SNS console, when i hit the following url i am geting ,
Deepak Patil
  • 99
  • 1
  • 11
1
vote
1 answer

error when using EC2 SNS with SSM (Systems Manager)

I'm trying to use AWS's SNS with SSM but getting an error about roles. Here's the error: botocore.errorfactory.InvalidRole: An error occurred (InvalidRole) when calling the SendCommand operation: ServiceRoleArn is not valid: arn:aws:iam::
user1090661
  • 111
  • 7