AWS via Haskell Part 4 (SimpleDB)

2017-12-22

This will be another quick instalment of “AWS via Haskell”. Yesterday we flew through AWS’s Simple Queue Service. Today, we’ll look at SimpleDB.

Part 1: Prerequisites

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

localstack does not, for reasons unknown to me, provide a SimpleDB implementation.

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

You’ll see that our sdb-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 3 (SQS)
AWS via Haskell Part 2 (S3)
AWS via Haskell Part 1 (DynamoDB)

Tags

Haskell
AWS
SimpleDB

Content © 2024 Richard Cook. All rights reserved.