barko / aws-s3

Ocaml library to access Amazon S3

Home Page:https://andersfugmann.github.io/aws-s3/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ocaml library for accessing Amazon S3

Main workflow

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.

About

Ocaml library to access Amazon S3

https://andersfugmann.github.io/aws-s3/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:OCaml 95.3%Language:Shell 4.1%Language:Makefile 0.6%