package awskit-eio
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=b69c81378d08f443a276b947d9a2b45913495cb61b2ff3aa0ad74d6b071f32f8
sha512=50714b8eda6ea6e589eb34a305afdfa4870a5e8e4240c091ff5cecd309c21fdfda6163fb6449caad5cdaf800857369df5da0534d822cf152ac76fc16fb9216e5
doc/index.html
awskit-eio
Direct-style Eio runtime adapter for Awskit.
The public entrypoint is Awskit_eio. Operations use plain result values in direct style, while response bodies remain scoped to the runtime callback.
Applications own HTTPS transport policy, TLS configuration, CA roots, RNG initialization, and platform policy. Pass an explicit HTTPS connector for normal AWS endpoints, and use the plaintext helpers only for intentional local tests.
Runtime Shape
Awskit_eio.create requires an Eio environment, switch, HTTPS policy, region, and credentials. The adapter does not provide a ready Eio Unix aggregate package; applications compose this runtime with their own credential loading and TLS setup at the application edge.
Use Awskit_eio.http_only only for plain HTTP endpoints such as loopback test services. HTTPS AWS endpoints need an application-supplied connector compatible with Cohttp_eio.Client.make.
The runtime keeps response readers scoped to the operation callback. If a consumer succeeds, remaining response bytes are drained up to max_response_drain_bytes; if the consumer returns an SDK error, that error wins over cleanup failures. Native Eio cancellation and user exceptions are not converted into ordinary SDK errors.