amazon-sns

SNS Mobile Push

房东的猫 提交于 2019-12-12 03:30:08
问题 I am currently developing an Android app in Xamarin. I am using AWS SNS Push and Google Cloud Messenger (GCM). I've been following this walkthrough pretty closely: http://docs.aws.amazon.com/mobile/sdkforxamarin/developerguide/getting-started-sns-android.html The code I've been working with is extremely similar to what's there. However, I have a Registration Intent Service that works as follows: [Service(Exported = false)] public class RegistrationIntentService : IntentService { private

Can't receive any notification from AmazonSNS

假装没事ソ 提交于 2019-12-11 23:09:13
问题 I am not sure why I can't receive any notification from AmazonSNS. Am I missing something in my code? I am using the latest version of AWSSDK for Windows Store App by the way. Here's my code so far. d("init AmazonSimpleNotificationServiceClient"); AmazonSimpleNotificationServiceClient sns = new AmazonSimpleNotificationServiceClient("secret", "secret", RegionEndpoint.EUWest1); d("get notification channel uri"); string channel = string.Empty; var channelOperation = await

Not able to resolve issue(HTTP error 404) with seaborn.load_dataset function [duplicate]

你说的曾经没有我的故事 提交于 2019-12-11 18:05:22
问题 This question already has answers here : Pass proxy to Seaborn (2 answers) Why do i get HTTP400 error when i am plotting graphs in python? (1 answer) Closed 5 months ago . I used below code to use a dataset from my own github account(Disclaimer: Dataset used from some other location & name modified to keep in my github account). import seaborn as sns df = sns.load_dataset('https://github.com/vishalkrsinha/Python/blob/Data/FiveYearData.csv') But, it gives me the error as below(Traceback). I

Sending messages to SNS from CloudWatch via regex?

拥有回忆 提交于 2019-12-11 16:48:33
问题 Is it possible to configure AWS CloudWatch with a filter/monitor that "listens" or watches for a particular type of log message (ideally with granular or regex-like control where I can tell CloudWatch to look for a particular pattern in the log message) so that it forwards the log message off to a particular SNS endpoint? Meaning: My app publishes log messages to CloudWatch CloudWatch is configured with this filter/monitor to listen for log messages matching a particular regex/pattern Any

S3 Notifications invoke sns topic in other region

时光毁灭记忆、已成空白 提交于 2019-12-11 12:25:35
问题 I have a bucket which I have configured sns topic from the same region as that of the bucket as notification, Is there any way that I can configure the sns topic from other region to be invoked at the time of an s3 event 回答1: To test this situation I did the following: Created an SNS topic in Singapore region Create an S3 bucket in Sydney region Configured events on the S3 bucket to point to the ARN of the SNS topic (in Singapore) The console gave this message: The bucket and bucket

How to access message attributes in SNS HTTPS subscription endpoint

扶醉桌前 提交于 2019-12-11 10:52:50
问题 I'm setting up an integration test to determine if a program that publishes a message to SNS is working correctly. The published message includes a few critical message attributes that I need to check in order to determine correctness. So far, I have set up a simple HTTP server that acts as an SNS subscriber. The server correctly confirms its subscription and even receives messages from the topic, however I am at a loss as to how to access the attributes of these messages. It should be

AMAZON SNS import Parse Server Data as JSON

假如想象 提交于 2019-12-11 08:40:00
问题 I am shifting my self-hosted parse to Amazon SNS and have followed all instructions on this link properly: https://aws.amazon.com/blogs/mobile/migrating-from-parse-push-to-amazon-sns/ Now on step 4: Import Parse Push data when i run the java code java -jar SNSImportTool.jar -s -f <PATH_TO_EXPORTED_PARSE_INSTALLATION_.JSON_FILE> --apnsName <APNS_PLATFORM_APP_NAME_STEP_3.2.9> --gcmName <GCM_PLATFORM_APP_NAME_STEP_3.2.9> --topicName <SNS_TOPIC_NAME_STEP_3.2.10> --awsaccess <AWS_KEY_ID_STEP_3.3>

SNS multiple subscribers

情到浓时终转凉″ 提交于 2019-12-11 06:06:56
问题 We have an SNS queue with multiple subscribers (2 * SQS, 1 * email, etc.). However, we only get the notification for the last subscriber. I.e. when each of them is registered alone we get to notification. So as far as I understand each of them alone is configured all right. I didn't find any relevant AWS documentation about it (limit of subscribers, policies, etc.) Would love to hear any hint about it. Thanks in advance. Solution: the issue was the order in which the SQS permission

Cannot get HTTP subscription confirmation request

时光怂恿深爱的人放手 提交于 2019-12-11 04:21:49
问题 I write a tornado service as the Amazon SNS endpoint. class TestHandler(tornado.web.RequestHandler): def get(self): logging.info('get') self.sns() self.write(self.request.body.decode('utf-8')) def post(self): logging.info('post') self.sns() self.write(self.request.body.decode('utf-8')) def sns(self): headers = self.request.headers logging.info('HEADER: {}'.format(headers)) arn = headers.get('x-amz-sns-subscription-arn') obj = json.loads(self.request.body) if headers.get('x-amz-sns-message

Spring Cloud AWS - Invalid Header posting SNS notification

有些话、适合烂在心里 提交于 2019-12-11 01:25:14
问题 I'm trying to use org.springframework.cloud.aws.messaging.core.NotificationMessagingTemplate (from Spring Cloud AWS) to post notifications to a SNS Topic. Every time a notification is posted a warning message is generated: WARN [org.springframework.cloud.aws.messaging.core.TopicMessageChannel] Message header with name 'id' and type 'java.util.UUID' cannot be sent as message attribute because it is not supported by SNS. The issue seems to be that org.springframework.messaging.MessageHeaders