Libraries v5.0.0
    Preparing search index...

    Interface ObjectMetadata

    Metadata describes the current object, without opening a body stream.

    interface ObjectMetadata {
        cacheControl?: string;
        contentDisposition?: string;
        contentType?: string;
        etag?: string;
        key: string;
        lastModified?: Date;
        metadata?: Readonly<Record<string, string>>;
        size: number;
    }

    Hierarchy (View Summary)

    Index
    cacheControl?: string
    contentDisposition?: string
    contentType?: string
    etag?: string
    key: string
    lastModified?: Date
    metadata?: Readonly<Record<string, string>>

    Names are case-insensitive and returned in lowercase.

    size: number