Today, in “AWS via Haskell”, we’ll quickly look at accessing AWS SQS (Simple Queue Service) after looking at S3 yesterday.
Firstly, you’ll need access to SQS. There are several options:
aws-via-haskell.cabal
: the dependenciesYou’ll see that our s3-app
target depends on the following
amazonka-sqs
base
We’ll also use some of the helper functions in our shared AWSInfo.hs
module.
Main.hs
: the codeThis program demonstrates how to:
I’ve gathered this all together into this buildable project. As always, I like to build using Stack.
Content © 2024 Richard Cook. All rights reserved.