[ANN] smaws preview release, an AWS SDK for OCaml using eio

I’m pleased to announce the first preview release for the smaws library (0.1~preview1).

smaws provides AWS bindings for OCaml using the modern eio library for effects-based concurrency handling.

Links

Whats in this release

This release includes SDKs for some AWS services and is intended to demonstrate its API.

It is not production ready, lacking important features such as full API documentation EC2/ECS instance metadata authentication, retry and timeout handling, etc. It also needs support for the other internal AWS API types to extend coverage across most AWS services.

Motivation

I wanted to build an AWS SDK using modern effects-based concurrency. I’ve built similar bindings for ReScript and ReasonML in the past (some of the code is in fact ported across) but this is the first OCaml-native bindings I’ve created.

Unlike similar projects in the OCaml ecosystem, it uses the newer Smithy definitions to generate its bindings instead of the Python botocore definitions. These should be better supported by AWS in the future with richer API definitions.

What’s next

My next task is to finish off API documentation generation, and then expand support for all the authentication methods and other API types that will allow this to be used with most AWS services.

16 Likes