• Import from "@langchain/community/document_loaders/web/s3" instead. This entrypoint will be removed in 0.3.0.

Represents the parameters for the S3Loader class. It includes properties such as the S3 bucket, key, unstructured API URL, unstructured API key, S3 configuration, file system module, and UnstructuredLoader module.

interface S3LoaderParams {
    UnstructuredLoader?: typeof UnstructuredLoader;
    bucket: string;
    fs?: __module;
    key: string;
    s3Config?: S3ClientConfig & {
        accessKeyId?: string;
        secretAccessKey?: string;
    } & {
        accessKeyId?: string;
        secretAccessKey?: string;
    };
    unstructuredAPIKey: string;
    unstructuredAPIURL: string;
}

Properties

UnstructuredLoader?: typeof UnstructuredLoader
bucket: string
fs?: __module
key: string
s3Config?: S3ClientConfig & {
    accessKeyId?: string;
    secretAccessKey?: string;
} & {
    accessKeyId?: string;
    secretAccessKey?: string;
}

Type declaration

  • OptionalaccessKeyId?: string

    Use the credentials object instead

  • OptionalsecretAccessKey?: string

    Use the credentials object instead

Type declaration

  • OptionalaccessKeyId?: string

    Use the credentials object instead

  • OptionalsecretAccessKey?: string

    Use the credentials object instead

unstructuredAPIKey: string
unstructuredAPIURL: string