Module Bucket.Create

type options = {
  1. region : Awskit.Region.t option;
}

CreateBucket options and result metadata.

Optional location constraint. Some regions, notably us-east-1, have special AWS behavior and may omit an explicit constraint.

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

CreateBucket result metadata.

val default_options : options

Default CreateBucket options: no explicit location constraint.

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

Build CreateBucket options.

val options_exn : ?region:Awskit.Region.t -> unit -> options

Like options, but raises on validation failure.