Awskit_s3.BUCKETBucket lifecycle and bucket-configuration operations.
val create :
connection ->
bucket:Bucket_name.t ->
?options:Bucket.Create.options ->
unit ->
(Bucket.Create.result, Awskit.Error.t) Stdlib.result ioCreate a bucket.
val delete :
connection ->
bucket:Bucket_name.t ->
?options:Bucket.Delete.options ->
unit ->
(Bucket.Delete.result, Awskit.Error.t) Stdlib.result ioDelete an empty bucket.
val head :
connection ->
bucket:Bucket_name.t ->
?options:Bucket.Head.options ->
unit ->
(Bucket.Head.result, Awskit.Error.t) Stdlib.result ioCheck bucket existence and return metadata such as the region hint.
val exists :
connection ->
bucket:Bucket_name.t ->
?options:Bucket.Head.options ->
unit ->
(bool, Awskit.Error.t) Stdlib.result ioReturn false for S3 not-found responses and true for success.
val list :
connection ->
(Bucket.List_buckets.result, Awskit.Error.t) Stdlib.result ioList buckets visible to the credentials.
val get_location :
connection ->
bucket:Bucket_name.t ->
?options:Bucket.Get_location.options ->
unit ->
(Bucket.Get_location.result, Awskit.Error.t) Stdlib.result ioFetch the bucket location constraint/region.
module Policy : sig ... endBucket policy operations. Policy documents are opaque validated JSON.
module Versioning : sig ... endBucket versioning operations.
module Tagging : sig ... endBucket tagging operations.
module Encryption : sig ... endBucket default-encryption operations.
module Cors : sig ... endBucket CORS operations.
module Public_access_block : sig ... endBucket public-access-block operations.
module Ownership_controls : sig ... endBucket ownership-controls operations.