Skip to main content
Module

x/s3/mod.ts>GetObjectOptions

Amazon S3 for Deno
Latest
interface GetObjectOptions
Re-export
import { type GetObjectOptions } from "https://deno.land/x/s3@0.5.0/mod.ts";

Properties

optional
ifMatch: string

Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).

optional
ifNoneMatch: string

Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).

optional
ifModifiedSince: Date

Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified).

optional
ifUnmodifiedSince: Date

Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).

optional
partNumber: number

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.

optional
versionId: string

VersionId used to reference a specific version of the object.

optional
responseCacheControl: string

Sets the Cache-Control header of the response.

optional
responseContentDisposition: string

Sets the Content-Disposition header of the response

optional
responseContentEncoding: string

Sets the Content-Encoding header of the response

optional
responseContentLanguage: string

Sets the Content-Language header of the response

optional
responseContentType: string

Sets the Content-Type header of the response

optional
responseExpires: string

Sets the Expires header of the response