• 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 {
    bucket: string;
    key: string;
    unstructuredAPIKey: string;
    unstructuredAPIURL: string;
    UnstructuredLoader?: typeof UnstructuredLoader;
    fs?: __module;
    s3Config?: S3ClientConfig & {
        accessKeyId?: string;
        secretAccessKey?: string;
    } & {
        accessKeyId?: string;
        secretAccessKey?: string;
    };
}

Properties

bucket: string
key: string
unstructuredAPIKey: string
unstructuredAPIURL: string
UnstructuredLoader?: typeof UnstructuredLoader
fs?: __module
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