import { _AccessControlPolicy } from "./_AccessControlPolicy"; import { NodeHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * PutBucketAclInput shape */ export interface PutBucketAclInput { /** *
The canned ACL to apply to the bucket.
*/ ACL?: "private" | "public-read" | "public-read-write" | "authenticated-read" | string; /** * _AccessControlPolicy shape */ AccessControlPolicy?: _AccessControlPolicy; /** * _BucketName shape */ Bucket: string; /** * _ContentMD5 shape */ ContentMD5?: string; /** *Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
*/ GrantFullControl?: string; /** *Allows grantee to list the objects in the bucket.
*/ GrantRead?: string; /** *Allows grantee to read the bucket ACL.
*/ GrantReadACP?: string; /** *Allows grantee to create, overwrite, and delete any object in the bucket.
*/ GrantWrite?: string; /** *Allows grantee to write the ACL for the applicable bucket.
*/ GrantWriteACP?: string; /** * Whether to use the bucket name as the endpoint for this request. The bucket * name must be a domain name with a CNAME record alias to an appropriate virtual * hosted-style S3 hostname, e.g. a bucket of `images.johnsmith.net` and a DNS * record of: * * ``` * images.johnsmith.net CNAME images.johnsmith.net.s3.amazonaws.com. * ``` * * @see https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingCustomURLs */ $bucketEndpoint?: string; /** * Whether to force path style URLs for S3 objects (e.g., https://s3.amazonaws.com/