Module Bucket.Tagging

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

    x-amz-expected-bucket-owner.

    *)
}

Bucket tagging request options.

type result = {
  1. tags : Tag.Set.t;
  2. response : Awskit.Response.t;
}

Bucket tagging result metadata.

val default_options : options

Default bucket tagging options: no owner guard.

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

Build bucket tagging request options.

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

Like options, but raises on validation failure.