[Landsat-pds] Subscribing to SNS Landsat notifications via a Lambda function..

Flasher, Joe jflasher at amazon.com
Wed Nov 15 08:51:05 PST 2017

Realized I accidentally replied to Glenn individually, adding original response here.

I normally approach this from the other way. Within the Lambda console, I go to the function and the Triggers section. Then I add a trigger for the SNS topic. I just confirmed this works on my account with a test Lambda function.

On Nov 14, 2017, at 7:44 PM, Glenn Stowe <gstowe at gmail.com<mailto:gstowe at gmail.com>> wrote:

Anyone from Amazon here?  Not sure if this is the right forum for the question, but I'm having an issue subscribing to SNS notifications via the arn:aws:sns:us-west-2:274514004127:NewSceneHTML

All I really want to do is send the notification to my own webhook, but for some reason you can only send them to SQS or a Lambda function. So I created a Lambda function to receive the notifications and pass them along to my webhook.

I'm clicking through the SNS dashboard to add my subscription, entered the topic ARN for Landsat notifications, selected AWS Lambda, entered the arn of my function (in the same region as the topic) and clicked Create Subscription. And I get:

Invalid parameter: TopicArn (Service: AmazonSNS; Status Code: 400; Error Code: InvalidParameter; Request ID: 4645ae54-9594-5d47-8aef-fcd10994d700)

Any suggestions?
Landsat-pds mailing list
Landsat-pds at lists.osgeo.org<mailto:Landsat-pds at lists.osgeo.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/landsat-pds/attachments/20171115/6d256b0c/attachment.html>

More information about the Landsat-pds mailing list