package awskit-s3-eio
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=b69c81378d08f443a276b947d9a2b45913495cb61b2ff3aa0ad74d6b071f32f8
sha512=50714b8eda6ea6e589eb34a305afdfa4870a5e8e4240c091ff5cecd309c21fdfda6163fb6449caad5cdaf800857369df5da0534d822cf152ac76fc16fb9216e5
doc/index.html
awskit-s3-eio
Direct-style Eio S3 client.
The public entrypoint is Awskit_s3_eio. This package connects runtime-neutral S3 operations to the Awskit Eio runtime and returns plain result values in direct style.
Applications provide the HTTPS policy and Eio environment explicitly. This package also owns Eio local-path body, reader, upload, and download helpers.
Client Surface
Awskit_s3_eio.create requires an Eio switch, environment, HTTPS policy, region, and credentials. Use Awskit_eio.http_only only for intentional local plain-HTTP endpoints; normal AWS endpoints require an application-owned HTTPS connector.
The package exposes:
Body.of_flowandBody.of_pathfor request bodies with known content lengths.Reader.to_flowandReader.to_pathfor scoped response-body consumers.Object.Transfer.upload_file,download_file,multipart_upload_file, andresume_multipart_upload_filefor managed local-file workflows over Eio paths.
Managed uploads abort multipart uploads that Awskit created when the helper fails before completion. Resumed caller-owned uploads are left open on failure. Managed downloads write through a private temporary file before publishing the target path. Native Eio cancellation and user exceptions remain native control flow rather than ordinary SDK errors.