import { NodeHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * GetObjectInput shape */ export interface GetObjectInput { /** * _BucketName shape */ Bucket: string; /** *
Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).
*/ IfMatch?: string; /** *Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified).
*/ IfModifiedSince?: Date | string | number; /** *Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).
*/ IfNoneMatch?: string; /** *Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).
*/ IfUnmodifiedSince?: Date | string | number; /** * _ObjectKey shape */ Key: string; /** *Downloads the specified range bytes of an object. For more information about the HTTP Range header, go to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.
*/ Range?: string; /** *Sets the Cache-Control header of the response.
*/ ResponseCacheControl?: string; /** *Sets the Content-Disposition header of the response
*/ ResponseContentDisposition?: string; /** *Sets the Content-Encoding header of the response.
*/ ResponseContentEncoding?: string; /** *Sets the Content-Language header of the response.
*/ ResponseContentLanguage?: string; /** *Sets the Content-Type header of the response.
*/ ResponseContentType?: string; /** *Sets the Expires header of the response.
*/ ResponseExpires?: Date | string | number; /** *VersionId used to reference a specific version of the object.
*/ VersionId?: string; /** *Specifies the algorithm to use to when encrypting the object (e.g., AES256).
*/ SSECustomerAlgorithm?: 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; /** *Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively performs a 'ranged' GET request for the part specified. Useful for downloading just a part of an object.
*/ PartNumber?: number; /** * 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/