import { _AccessControlPolicy } from "./_AccessControlPolicy"; import { NodeHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * PutObjectAclInput shape */ export interface PutObjectAclInput { /** *
The canned ACL to apply to the object.
*/ ACL?: "private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control" | 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; /** * _ObjectKey shape */ Key: string; /** *Confirms that the requester knows that she or he will be charged for the request. Bucket owners need not specify this parameter in their requests. Documentation on downloading objects from requester pays buckets can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
*/ RequestPayer?: "requester" | string; /** *VersionId used to reference a specific version of the object.
*/ VersionId?: 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/