Module Bucket.Delete

type options = {
  1. expected_bucket_owner : Account_id.t option;
    (*

    x-amz-expected-bucket-owner, used to guard against bucket-owner confusion.

    *)
}

DeleteBucket request options.

type result = {
  1. response : Awskit.Response.t;
}

DeleteBucket result metadata.

val default_options : options

Default DeleteBucket options: no owner guard.

val options : ?expected_bucket_owner:Account_id.t -> unit -> (options, Awskit.Error.t) Stdlib.result

Build DeleteBucket options.

val options_exn : ?expected_bucket_owner:Account_id.t -> unit -> options

Like options, but raises on validation failure.