import * as __aws_sdk_types from "@aws-sdk/types"; /** * GetObjectOutput shape */ export interface GetObjectOutput extends __aws_sdk_types.MetadataBearer { /** *

The bytes of the object.

*/ Body?: StreamType; /** *

An optional CacheControl header that allows the caller to control the object's cache behavior. Headers can be passed in as specified in the HTTP spec at https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.

Headers with a custom user-defined value are also accepted.

*/ CacheControl?: string; /** *

The range of bytes to retrieve.

*/ ContentRange?: string; /** *

The length of the object in bytes.

*/ ContentLength?: number; /** *

The content type of the object.

*/ ContentType?: string; /** *

The ETag that represents a unique instance of the object.

*/ ETag?: string; /** *

The date and time that the object was last modified.

*/ LastModified?: Date; /** *

The HTML status code of the request. Status codes ranging from 200 to 299 indicate success. All other status codes indicate the type of error that occurred.

*/ StatusCode: number; /** * Metadata about the response received, including the HTTP status code, HTTP headers, and any request identifiers recognized by the SDK. */ $metadata: __aws_sdk_types.ResponseMetadata; }