We don't usually announce <http4k-connect> release...
# http4k
d
We don't usually announce http4k-connect releases on this channel, but we're pretty proud of the one we've just let loose, which adds a typesafe DynamoDB adapter into the mix.
v2.18.0.0
is now winging it's way to MavenCentral as I type. Loosely translated - we've managed to apply the http4k lens system to DynamoDB table fields, so you don't have to worry about marshalling the types in and out of the record fields. So you can do something like this:
Copy code
val attrNums = Attribute.ints().required("ints")
    val attrI = Attribute.instant().optional("instant")
    val item = dyanmo.getItem(table, Item(attrNums of setOf(123, 456))).successValue().item!!
    val s: Set<String> = attrNums(item)
    val i: Instant? = attrI(item)
In all, http4k-connect now supplies featherweight http4k-friendly adapters (and almost all fakes) for the following AWS services: DynamoDb, KMS, Lambda, S3, SecretsManager, SNS, SQS, STS, SSM.
🤘 1
👏 2