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.
Firstly, you’ll need access to SimpleDB. There are several options:
localstack does not, for reasons unknown to me, provide a SimpleDB implementation.
aws-via-haskell.cabal
: the dependenciesYou’ll see that our sdb-app
target depends on the following
amazonka-sdb
base
lens
text
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.