package awskit-s3

  1. Overview
  2. Docs
S3 client core — objects, buckets, multipart, and policies

Install

dune-project
 Dependency

Authors

Maintainers

Sources

awskit-v0.2.0.tbz
sha256=b69c81378d08f443a276b947d9a2b45913495cb61b2ff3aa0ad74d6b071f32f8
sha512=50714b8eda6ea6e589eb34a305afdfa4870a5e8e4240c091ff5cecd309c21fdfda6163fb6449caad5cdaf800857369df5da0534d822cf152ac76fc16fb9216e5

doc/awskit-s3/Awskit_s3/Object/Delete/index.html

Module Object.DeleteSource

Sourcetype options = {
  1. preconditions : Preconditions.Delete.t;
    (*

    Conditional delete headers.

    *)
  2. version_id : Version_id.t option;
    (*

    Object version to delete instead of the current version.

    *)
  3. expected_bucket_owner : Account_id.t option;
    (*

    x-amz-expected-bucket-owner.

    *)
}

DeleteObject request options.

Sourcetype result = {
  1. delete_marker : bool option;
    (*

    Whether S3 created or addressed a delete marker.

    *)
  2. version_id : Version_id.t option;
    (*

    Version id affected by the delete operation.

    *)
  3. response : Awskit.Response.t;
    (*

    Raw response metadata.

    *)
}

DeleteObject result metadata.

Sourceval default_options : options
Sourceval options : ?preconditions:Preconditions.Delete.t -> ?version_id:Version_id.t -> ?expected_bucket_owner:Account_id.t -> unit -> (options, Awskit.Error.t) result

Build DeleteObject options.

Sourceval options_exn : ?preconditions:Preconditions.Delete.t -> ?version_id:Version_id.t -> ?expected_bucket_owner:Account_id.t -> unit -> options

Like options, but raises on validation failure.