amazon-sns

How to confirm the subscription of Amazon SNS without having the endpoint token?

江枫思渺然 提交于 2019-12-09 14:43:00
问题 In my JAVA application, I'm using Amazon SNS to send emails to customer; Once I subscribe one customer(email id) into my SNS Topic; It is asking the customer to confirm the subscription to receive the emails; Is there any way to confirm the subscription in our application itself(without cusstomer's help)? 回答1: No, it is not possible. The entire point of the confirmation step is to force the end user to confirm the subscription so that SNS cannot be used as a spamming mechanism. If SNS allowed

Confirming AWS SNS Topic Subscription for Slack Webhook

谁说胖子不能爱 提交于 2019-12-08 19:13:55
问题 I am integrating SNS and Slack. I have created a slack app with incoming webhook enabled. I have got the webhook URL. I created a subscription for a SNS Topic with HTTPS protocol and set the Endpoint the webhookURL. Now the subscription is PendingConfirmation. I didnot receive any confirmation message, not in the destined channel. How do I confirm the subscription? 回答1: The reason you're not seeing it in Slack is because the default JSON format for SNS messages doesn't conform to the format

Amazon AWS SNS: How do i subscribe to SNS topic from iOS?

自作多情 提交于 2019-12-08 13:43:42
First of all I found the same question here , but it doesn't work... Maybe AWS SDK changes or something else, I don't know why... I want to subscribe to SNS topic from my iOS app. I am trying to do it with code from that answer, which I tried to change to get rid of errors: AWSSNS *sns = [AWSSNS defaultSNS]; AWSSNSCreatePlatformEndpointInput *endpointRequest = [AWSSNSCreatePlatformEndpointInput new]; endpointRequest.platformApplicationArn = @"arn:aws:sns:us-east-1:753780999999:app/APNS_SANDBOX/MyAppDevelopment"; endpointRequest.token = [self deviceTokenAsString:deviceToken]; [[[sns

Error when trying to read AWS SNS message

心不动则不痛 提交于 2019-12-08 06:31:42
问题 I need to return the message sent by Rekognition to SNS but I get this error in CloudWatch: 'Records': KeyError Traceback (most recent call last): File "/var/task/AnalyzeVideo/lambda_function.py", line 34, in lambda_handler message = event["Records"][0]["Sns"]["Message"] KeyError: 'Records' Code: def detect_labels(bucket, key): response = rekognition.start_label_detection( Video = { "S3Object": { "Bucket": BUCKET, "Name": KEY } }, NotificationChannel = { "SNSTopicArn": TOPIC_ARN, "RoleArn":

Amazon AWS SNS: How do i subscribe to SNS topic from iOS?

邮差的信 提交于 2019-12-08 04:53:18
问题 First of all I found the same question here, but it doesn't work... Maybe AWS SDK changes or something else, I don't know why... I want to subscribe to SNS topic from my iOS app. I am trying to do it with code from that answer, which I tried to change to get rid of errors: AWSSNS *sns = [AWSSNS defaultSNS]; AWSSNSCreatePlatformEndpointInput *endpointRequest = [AWSSNSCreatePlatformEndpointInput new]; endpointRequest.platformApplicationArn = @"arn:aws:sns:us-east-1:753780999999:app/APNS_SANDBOX

Where is the option to create platform application in Amazon SNS dashboard?

别等时光非礼了梦想. 提交于 2019-12-08 03:02:30
问题 I am on this page Register Your Mobile App with AWS at item 1 of the first subtopic with the heading "To register your mobile app with AWS". The instruction says: Go to https://console.aws.amazon.com/sns/v2/home and choose Create platform application . But when I click on that link, I don't see the option Create platform application . It only has the options Create topic , Create subscription , and Publish message . 回答1: Apparently some regions don't allow you to create a platform application

Parsing AWS SNS notification in .net core 1.0

耗尽温柔 提交于 2019-12-08 00:46:52
问题 I have a VisualStudio17 serverless application project and am using .net core Web Api. I want to confirm my SNS subscription, but I have a problem that AWS sends the POST request with header content-type set to text/plain; charset=UTF-8 while body is JSON. Here's an example request from their documentation: POST / HTTP/1.1 x-amz-sns-message-type: Notification x-amz-sns-message-id: da41e39f-ea4d-435a-b922-c6aae3915ebe x-amz-sns-topic-arn: arn:aws:sns:us-west-2:123456789012:MyTopic x-amz-sns

Amazon SNS — Change Sender ID

时光怂恿深爱的人放手 提交于 2019-12-07 06:41:33
问题 I want to use Amazon SNS Services to send SMS to a couple of numbers. I have a cronjob that's running once a day and should send a SMS to the numbers which are due in that moment. Now I have a couple of question regarding SNS. Do I create a topic with each run of my cronjob, subscribe the numbers to it, send it, and delete it? Or do I just create a topic in the console and then I just subscribe the numbers, send the message and unsubscribe the numbers again after sending? Further I tried

Customizing Amazon SNS email notifications

柔情痞子 提交于 2019-12-07 05:09:31
问题 We are developing Custom Commenting System in which email notifications will be send to all the subscribers to the post just like "Disqus". We found Amazon AWS provides Simple Notification System which does a fairly good job of sending mass email notifications and manages subscribers and topics, but I did not found any article on which the format of email notifications can be changed as all the emails have Amazon Branding. Is it possible to send through Amazon SNS? Custom Email without Amazon

Cannot create AWS-SNS GCM account, showing invalid credentials message

最后都变了- 提交于 2019-12-07 05:04:39
问题 I have looked for resources on this particular problem with little luck so far so I thought I would try here. I am attempting to create an Amazon Web Service Simple Notification Service app in the AWS-SNS console using GCM. I have created the APNS app for the iOS version with no troubles, however, when attempting to create the GCM version I receive the error: "The credentials you entered are invalid. Please enter valid credentials and try again." In the Google APIs - API Access dashboard I