idea-aws
    Preparing search index...

    Interface GetObjectOptions

    Options for getting an object.

    interface GetObjectOptions {
        bucket: string;
        filename?: string;
        key: string;
        range?: { end: number; start: number };
        versionId?: string;
    }
    Index

    Properties

    bucket: string

    The bucket from which to acquire the file.

    filename?: string

    The suggested name for the file once it's downloaded/saved. Note: the string is cleaned to ensure maximum compatibility with every OS.

    key: string

    The complete filepath (within the bucket) from which to acquire the file.

    range?: { end: number; start: number }

    A part of the object, from its byte start to its byte end (both included), instead of the whole of it: e.g. the first bytes, to check what kind of file it is without downloading it.

    versionId?: string

    A version of the object, in a versioned bucket; default: the current one.