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. 😊