seek-oss / serverless-haskell

Deploying Haskell applications to AWS Lambda with Serverless
MIT License
215 stars 22 forks source link

Feature/sqs events #121

Closed tmortiboy closed 4 years ago

tmortiboy commented 4 years ago

We need to go deeper

WHAT

Adds support for lambda subscriptions to SQS, including SQS subscribed to SNS.

HOW

SNS message format

When a lambda is triggered directly off of an SNS topic, the SNS message contains message attributes. When a lambda is triggered off of an SQS queue which is subscribed to an SNS topic, the SNS message changes in two ways:

This PR will replace https://github.com/seek-oss/serverless-haskell/pull/120