package aws-s3-async

  1. Overview
  2. Docs

Async aware S3 commands. For API documentation

include sig ... end
type error =
  1. | Redirect of Aws_s3.Util.region
  2. | Throttled
  3. | Unknown of int * string
  4. | Not_found
type nonrec 'a result = ('a, error) Core.result Compat.Deferred.t
type !'a command = ?scheme:[ `Http | `Https ] -> ?credentials:Aws_s3.Credentials.t -> ?region:Aws_s3.Util.region -> 'a
module Ls : sig ... end
module Delete_multi : sig ... end
type range = {
  1. first : int option;
  2. last : int option;
}
val put : (?content_type:string -> ?content_encoding:string -> ?acl:string -> ?cache_control:string -> bucket:string -> key:string -> data:string -> unit -> Core.Caml.Digest.t result) command
val get : (?range:range -> bucket:string -> key:string -> unit -> string result) command
val delete : (bucket:string -> key:string -> unit -> unit result) command
val delete_multi : (bucket:string -> objects:Delete_multi.objekt list -> unit -> Delete_multi.result result) command
val ls : (?continuation_token:string -> ?prefix:string -> bucket:string -> unit -> Ls.t) command
module Multipart_upload : sig ... end
val retry : ?region:Aws_s3.Util.region -> retries:int -> f: (?region:Aws_s3.Util.region -> unit -> ('a, error) Core.Result.t Compat.Deferred.t) -> unit -> ('a, error) Core.Result.t Compat.Deferred.t