API Reference

@aws-sdk/lib-storage

Managed S3 upload helper for the AWS SDK v3, handling multipart uploads, concurrency, and progress events automatically.

Official Documentation ↗
CompatibilityThis documentation covers version v3.658. Check the official docs for the latest API surface.

Installation

npmnpm install @aws-sdk/lib-storage

Methods

@aws-sdk/lib-storage is managed s3 upload helper for the aws sdk v3, handling multipart uploads, concurrency, and progress events automatically. This page documents the core methods, installation, and common usage patterns for the current stable release.

Installation

Install @aws-sdk/lib-storage with your preferred package manager using the command shown in the frontmatter. The package is published to the npm registry and ships with TypeScript types where applicable.

Core methods

The methods listed in the frontmatter cover the primary API surface. Each signature reflects the v3.658 release. Consult the official documentation linked in sourceUrl for advanced options, edge cases, and breaking changes between major versions.

Frequently asked questions

The faq section in the frontmatter answers the most common questions about @aws-sdk/lib-storage, including comparisons with alternatives, configuration tips, and runtime requirements. If your question is not covered, check the source URL for the full guide.

API reference evidence

Fetched from official sources on 2026-11-08T19:20:00+08:00 via WebFetch https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/modules/_aws_sdk_lib_storage.html;WebFetch https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-lib-storage/Class/Upload.

FAQ

When should I use it over PutObject?
Use Upload for files larger than 5 MB; it handles multipart splitting and retry per part.
What is the part size?
Default 5 MB; configure partSize in options up to 5 GB.
Does it support streams?
Yes. Pass a ReadableStream as Body; the upload reads and chunks it.