Bucket.CorsBucket CORS request options.
module Method : sig ... endBucket CORS configuration.
type rule = {id : string option;Optional S3 rule id.
*)allowed_origins : string list;Allowed CORS origins.
*)allowed_methods : Method.t list;Allowed HTTP methods.
*)allowed_headers : string list;Request headers allowed by browsers.
*)expose_headers : string list;Response headers browsers may expose to callers.
*)max_age_seconds : int option;Browser preflight cache lifetime.
*)}One CORS rule. Lists are emitted in the order supplied by the caller.
Bucket CORS configuration sent to or returned from S3.
GetBucketCors result metadata.
val default_options : optionsDefault bucket CORS options: no owner guard.
val options :
?expected_bucket_owner:Account_id.t ->
unit ->
(options, Awskit.Error.t) Stdlib.resultBuild bucket CORS request options.
val options_exn : ?expected_bucket_owner:Account_id.t -> unit -> optionsLike options, but raises on validation failure.