pdfextract API
    Preparing search index...

    Interface S3StorageOptions

    Caller-authorized S3 configuration; compatible endpoints are configured on the client.

    interface S3StorageOptions {
        bucket: string;
        client: S3Client;
        multipart?: { concurrency?: number; mode?: "always"; partSize?: number };
        prefix?: string;
    }
    Index
    bucket: string

    Existing bucket to use; the adapter never provisions one.

    client: S3Client

    Borrowed AWS SDK v3 client; this adapter never destroys it or configures credentials.

    multipart?: { concurrency?: number; mode?: "always"; partSize?: number }

    Explicit multipart settings. Small and empty bodies never fall back to PutObject.

    Type Declaration

    • Optionalconcurrency?: number

      Maximum concurrent part uploads, 1–32; defaults to three.

    • Optionalmode?: "always"

      The only supported mode; every write uses multipart creation and completion.

    • OptionalpartSize?: number

      Replayable part size in bytes, 5 MiB–5 GiB; default 8 MiB. At most 10,000 parts are allowed.

    prefix?: string

    Optional portable logical prefix; a trailing slash is normalized. Prefix plus key is limited to 1024 ASCII characters.