Welcome! Today, I am going to show you how to write an AWS Lambda Function that sends an SNS notification. 🐦 Follow me on Twitter if you would like to see more content like this! 🐦 TLDR - Here is a link to my Github with the given code. 1. Initial...

Markdown supported · ⌘↵ to post
Great article Phillip Ninan
I just wanted to bring something to your attention. With the aws-sdk, you can either use the callback function (on the request method) - OR - use .promise() with .then() or await. It seems you have made a mix of moth here. The .promise() method does not take a callback.
Did I miss something?
Catalin Pit
Interesting, nice article! Is it possible to send any type of notifications? For example, a notification every time someone replies to your tweet?
I know the example is pointless, but just trying to understand how one can use it. 😊