Values.CreateBucketRequestSourceThis action creates an Amazon S3 on Outposts bucket. To create an S3 bucket, see Create Bucket in the Amazon S3 API Reference. Creates a new Outposts bucket. By creating the bucket, you become the bucket owner. To create an Outposts bucket, you must have S3 on Outposts. For more information, see Using Amazon S3 on Outposts in Amazon S3 User Guide. Not every string is an acceptable bucket name. For information on bucket naming restrictions, see Working with Amazon S3 Buckets. S3 on Outposts buckets support: Tags LifecycleConfigurations for deleting expired objects For a complete list of restrictions and Amazon S3 feature limitations on S3 on Outposts, see Amazon S3 on Outposts Restrictions and Limitations. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and x-amz-outpost-id in your API request, see the Examples section. The following actions are related to CreateBucket for Amazon S3 on Outposts: PutObject GetBucket DeleteBucket CreateAccessPoint PutAccessPointPolicy
type nonrec t = {aCL : BucketCannedACL.t option;The canned ACL to apply to the bucket. This is not supported by Amazon S3 on Outposts buckets.
*)bucket : BucketName.t;The name of the bucket.
*)createBucketConfiguration : CreateBucketConfiguration.t option;The configuration information for the bucket. This is not supported by Amazon S3 on Outposts buckets.
*)grantFullControl : GrantFullControl.t option;Allows grantee the read, write, read ACP, and write ACP permissions on the bucket. This is not supported by Amazon S3 on Outposts buckets.
*)grantRead : GrantRead.t option;Allows grantee to list the objects in the bucket. This is not supported by Amazon S3 on Outposts buckets.
*)grantReadACP : GrantReadACP.t option;Allows grantee to read the bucket ACL. This is not supported by Amazon S3 on Outposts buckets.
*)grantWrite : GrantWrite.t option;Allows grantee to create, overwrite, and delete any object in the bucket. This is not supported by Amazon S3 on Outposts buckets.
*)grantWriteACP : GrantWriteACP.t option;Allows grantee to write the ACL for the applicable bucket. This is not supported by Amazon S3 on Outposts buckets.
*)objectLockEnabledForBucket : ObjectLockEnabledForBucket.t option;Specifies whether you want S3 Object Lock to be enabled for the new bucket. This is not supported by Amazon S3 on Outposts buckets.
*)outpostId : NonEmptyMaxLength64String.t option;The ID of the Outposts where the bucket is being created. This ID is required by Amazon S3 on Outposts buckets.
*)}val make :
?aCL:??? ->
?createBucketConfiguration:??? ->
?grantFullControl:??? ->
?grantRead:??? ->
?grantReadACP:??? ->
?grantWrite:??? ->
?grantWriteACP:??? ->
?objectLockEnabledForBucket:??? ->
?outpostId:??? ->
bucket:BucketName.t ->
unit ->
tval of_header_and_body :
((string, GrantFullControl.t) Awso.Import.List.Assoc.t
* CreateBucketConfiguration.t) ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of ObjectLockEnabledForBucket.t
| `Enum of string
| `String of BucketName.t
| `Structure of (string * [> `Enum of string ]) list ])
list ]