Module Bucket.Encryption

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

    x-amz-expected-bucket-owner.

    *)
}

Bucket encryption request options.

module Algorithm : sig ... end

Bucket default encryption configuration.

module Blocked_encryption_type : sig ... end
module Rule : sig ... end
type config = {
  1. rules : Rule.t list;
}

Bucket encryption configuration.

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

GetBucketEncryption result metadata.

val default_options : options

Default bucket encryption options: no owner guard.

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

Build bucket encryption request options.

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

Like options, but raises on validation failure.