package awskit-s3-lwt-unix

  1. Overview
  2. Docs

Module Awskit_s3_lwt_unixSource

Ready-to-use Lwt + Unix S3 adapter.

Primitive operations stream through Awskit_lwt_unix.Runtime. Local-path helpers live under Object.Transfer.

Sourcetype t
Sourcemodule Runtime : Awskit_s3.RUNTIME with type 'a t = 'a Lwt.t and type connection = t
Sourceval create : ?ctx:Cohttp_lwt_unix.Client.ctx -> ?endpoint:Awskit.Endpoint.t -> ?addressing_style:Awskit_s3.addressing_style -> ?endpoint_variant:Awskit_s3.endpoint_variant -> ?scheme:Awskit.Endpoint.Scheme.t -> ?region:Awskit.Region.t -> ?credentials:Awskit.Credentials.t -> ?clock:(unit -> Ptime.t) -> ?retry_policy:Awskit.Retry.t -> ?imdsv1_fallback:Awskit_lwt_unix.Credentials.imdsv1_fallback -> unit -> (t, Awskit_s3.Error.t) result

Create a ready-to-use Lwt + Unix S3 client.

If region or credentials are omitted, the underlying Awskit_lwt_unix runtime resolves them from standard AWS environment and profile sources. endpoint is for local S3-compatible services or custom endpoints. addressing_style, endpoint_variant, and scheme configure S3 endpoint resolution when no explicit endpoint is supplied.

Sourcemodule Object : sig ... end
Sourcemodule Bucket : Awskit_s3.BUCKET with type connection := t and type 'a io := 'a Lwt.t

Bucket operations returning Lwt.t.

Sourcemodule Multipart : Awskit_s3.MULTIPART with type connection := t and type 'a io := 'a Lwt.t and type request_body := Runtime.request_body

Multipart operations returning Lwt.t.

Sourcemodule Presigned : Awskit_s3.PRESIGNED with type connection := t and type 'a io := 'a Lwt.t

Presigned URL helpers using the client's resolved region, credentials, clock, and endpoint configuration.