package aws-s3

  1. Overview
  2. Docs
Ocaml library for accessing Amazon S3

Install

Dune Dependency

Authors

Maintainers

Sources

4.7.0.tar.gz
md5=3eb5023419ad81946e3742272a3dec62
sha512=787dc08207c9ea5aee9dbb1f17ba7b316cc3e9139d5428a02131fa11238d2928f723971dadd93ea8f71e8a8adb9340ac3c6566f870afb51523dea078c8fc014e

Description

This library provides access to Amazon Simple Storage Solution (S3). The library supports:

  • Copying file to and from s3
  • List files in S3 (from root)
  • Delete single/multi object in S3
  • HEAD operation on single objects
  • Streaming transfer to and from aws.
  • Multi part upload (including s3 -> s3 copy)
  • Fetching machine role/credentials (though IAM)

The library supports both lwt and async concurrency models.

  • For lwt, please install aws-s3-lwt package
  • For Async, please install aws-s3-async package

Published: 20 Apr 2022

README

Ocaml library for accessing Amazon S3

This library provides access to Amazon Simple Storage Solution (S3).

The following S3 operations are supported:

  • Copying file to and from s3

  • List files in S3 (from root)

  • Delete single/multi object in S3

  • HEAD operation on single objects

  • Streaming transfer to and from aws

  • Multi part upload (including s3 -> s3 copy)

The library also implements fetching credentials through IAM service.

The library supports both lwt and async concurrency models.

  • For lwt, please install aws-s3-lwt package

  • For Async, please install aws-s3-async package

Api

This library is originally based on s3_cp example found at https://github.com/mirage/ocaml-cohttp/blob/master/examples/async/s3_cp.ml, but has diverted (and grown) substantially since.

Dependencies (11)

  1. base64 >= "3.1.0"
  2. cmdliner >= "1.1.0"
  3. ppx_protocol_conv_json >= "5.0.0"
  4. ppx_protocol_conv_xmlm >= "5.0.0"
  5. ezxmlm >= "1.1.0"
  6. uri
  7. ptime
  8. digestif >= "0.7"
  9. ocaml-inifiles
  10. dune >= "2.0.0"
  11. ocaml >= "4.08.0"

Dev Dependencies (1)

  1. ppx_inline_test with-test

Used by (2)

  1. aws-s3-async = "4.7.0"
  2. aws-s3-lwt = "4.7.0"

Conflicts

None