AWS via Haskell Part 3 (SQS)

2017-12-20

Today, in “AWS via Haskell”, we’ll quickly look at accessing AWS SQS (Simple Queue Service) after looking at S3 yesterday.

Part 1: Prerequisites

Firstly, you’ll need access to SQS. There are several options:

Part 2: aws-via-haskell.cabal: the dependencies

You’ll see that our s3-app target depends on the following

We’ll also use some of the helper functions in our shared AWSInfo.hs module.

Part 3: Main.hs: the code

This program demonstrates how to:

Part 4: The full working demo project

I’ve gathered this all together into this buildable project. As always, I like to build using Stack.

Related posts

Lambda updates
Haskell in AWS Lambda
AWS via Haskell Part 7 (SSM)
HLambda
AWS via Haskell Part 6 (EC2)
AWS via Haskell Part 5 (Lambda)
AWS via Haskell Part 4 (SimpleDB)
AWS via Haskell Part 2 (S3)
AWS via Haskell Part 1 (DynamoDB)

Tags

Haskell
AWS
SQS

Content © 2024 Richard Cook. All rights reserved.