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

AWS - Create an AmazonSNSClient

I want to create a AmazonSNSClient, I use this piece of code: AmazonSNSClient snsClient = (AmazonSNSClient) AmazonSNSClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(new PropertiesCredentials(is))).build(); but I get this…
en Peris
  • 1,537
  • 12
  • 31
  • 63
1
vote
1 answer

How does Firebase Cloud Messaging work on Android

I am sending data to FCM server via an 'admin app' and would like the other 'non-admin app' to be able to receive push notifications, whenever the 'admin app' sends data to the FCM server. To achieve that, I am using AWS SNS in tandem with FCM to…
1
vote
1 answer

Should I be able to subscribe a moto SNS notification to a moto SQS queue?

I'm using python 2.7, boto(2) and moto server, and I use the BOTO_CONFIG environment variable to point to my local moto server. I can properly mock everything up until the publish method. I create 2 separate processes, one for sqs and one for sns…
juan
  • 80,295
  • 52
  • 162
  • 195
1
vote
1 answer

Can't see message when sending notification to endpoint AWS SNS

I have set up a AWS SNS system to send notifications to all endpoints that have subscribed to a topic following this tutorial here (I have set up a Firebase Cloud Messenger not GCM):…
1
vote
0 answers

SNS HTTPS subscription confirmation not working

I have created a SNS subscription of a HTTPS endpoint, and after deploying the code I am seeing Pending Confirmation in those subscription, although both instance SNS topics are in the same region, but when I request confirmation from aws console,…
Dark Lord
  • 415
  • 5
  • 16
1
vote
1 answer

AWS SNS and Waiter functions for boto3

I am playing around with AWS trying to write an app that takes advantage of the Pub-Sub pattern using SNS/SQS through the boto3 library. I will provide code if needed, but I think my question is quite general. I have read the documentation on…
Elsporko
  • 501
  • 4
  • 14
1
vote
1 answer

AWS SNS - how to customize the s3 event

I created s3 bucket with event enabled for the bucket. When the new object is uploaded to the bucket sns will trigger an event to lambda to extract content from the file. Is there any way to customize the sns event in generic format.
1
vote
2 answers

Can you publish multiple messages to an SNS topic using an AWS Lambda function backed by node.js 8.10?

There is a related question regarding how to publish s single message: Can you publish a message to an SNS topic using an AWS Lambda function backed by node.js? However, my question is related to publish more than one message. I am using node 8.10…
Alex Schwartz
  • 11
  • 1
  • 2
1
vote
1 answer

How to confirm AWS SNS subscription on a cell phone/in a text message?

I want to send critical RDS events to our cell phones. I'm using the [phonenumber]@[carrier]format when setting them up. SNS (rightfully) wants a confirmation of the subscription by clicking on a link. The problem I'm seeing is the text message that…
faberfedor
  • 402
  • 2
  • 12
1
vote
0 answers

SNS - Introduce Consumption Delay

I have a lambda that transfer data from source s3 bucket to destination s3 bucket. There is a process that pushes message into source s3 bucket. This process sends a notification via SNS after data is pushed to source s3 bucket. A third party…
Punter Vicky
  • 15,954
  • 56
  • 188
  • 315
1
vote
1 answer

Publish to AWS SNS topic using groovy in jenkins

I am trying to publish data to aws sns topic from a jenkin job using groovy code. Just wanted to know if there is away to do that using groovy library or jenkins api. I know we can do with the Java api but not sure about groovy and jenkins. Any…
Monish Das
  • 383
  • 2
  • 12
  • 28
1
vote
0 answers

AWS SNS not working on live ec2 server using PHP AWS SDK

I have used SNS service to send SMS on mobile. I have used PHP AWS SDK to server this purpose. I have tested script in our local server and it sends sms on mobile successfully but when i upload the script in ec2 server then it does not work.…
1
vote
2 answers

Sns @NotificationMessage does not work with types different than String

I am working on an AWS SNS integration in Java using spring-aws library and I have a simple notification mapper like this: @NotificationMessageMapping public void handleNotificationMessage(@NotificationSubject String subject, …
Luke
  • 1,236
  • 2
  • 11
  • 16
1
vote
1 answer

Invalid type for parameter Message

I try to use "signal" in Django to send SNS email in AWS and my code is: import boto3 from properties.models import PropertyList from django.db.models.signals import post_save, post_delete from django.dispatch import receiver @receiver(post_save,…
1
vote
0 answers

AWS Lambda loses connection to SQS in VPC using NAT Gateway with EIP after ~12 hours

I have setup a VPC including 3 subnets, 1 internet gateway, 1 NAT gateway, 1 RDS cluster, SQS queues and a few more things (see below for full config). It all works fine when deployed. My cloud functions can access RDS, SQS and publish to SNS with…
Mickel
  • 6,658
  • 5
  • 42
  • 59