Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GetObjectResponse

import type { GetObjectResponse } from "https://aws-api.deno.dev/v0.3/services/mediastoredata.ts?docs=full";
interface GetObjectResponse {
Body?: Uint8Array | null;
CacheControl?: string | null;
ContentLength?: number | null;
ContentRange?: string | null;
ContentType?: string | null;
ETag?: string | null;
LastModified?: Date | number | null;
StatusCode: number;
}

§Properties

§
Body?: Uint8Array | null
[src]

The bytes of the object.

§
CacheControl?: string | null
[src]

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.

§
ContentLength?: number | null
[src]

The length of the object in bytes.

§
ContentRange?: string | null
[src]

The range of bytes to retrieve.

§
ContentType?: string | null
[src]

The content type of the object.

§
ETag?: string | null
[src]

The ETag that represents a unique instance of the object.

§
LastModified?: Date | number | null
[src]

The date and time that the object was last modified.

§
StatusCode: number
[src]

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.