Quick Start
Make your first AWS API call in under 5 minutes.
Installation
Install service clients, credential providers, and utilities.
Core Concepts
Understand clients, commands, middleware, and paginators.
API Reference
Explore the full API for S3, DynamoDB, Lambda, and more.
Get started
Create a client and send a command
Instantiate a client with your AWS region, then send a typed command.
Why v3?
Modular packages
One npm package per AWS service. Your bundle only includes what you import.
TypeScript native
Every client, command, and input/output shape is fully typed.
Middleware stack
Intercept and modify requests and responses at any lifecycle step.
Async paginators
Use
for await...of loops over paginated results without manual token handling.Cross-platform
Works in Node.js, browsers, and React Native with platform-appropriate defaults.
Higher-level libraries
lib-dynamodb and lib-storage simplify common patterns like marshalling and multipart uploads.Explore by topic
Authentication
Learn how to provide credentials using environment variables, shared config files, SSO, IAM roles, and more.
Error handling
Catch and inspect typed service errors and unmodeled exceptions.
DynamoDB Document Client
Work with native JavaScript types instead of DynamoDB AttributeValue shapes.
S3 Multipart Upload
Upload large files and streams reliably with automatic multipart handling.
Middleware
Add logging, retries, tracing, or custom headers to any client.
Migrating from v2
A practical guide for upgrading from
aws-sdk v2 to v3.