Migrate an AWS SDK for JavaScript v2 integration to v3 before end of support

domain: docs.aws.amazon.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Confirm the v2 lifecycle: GA ended September 7, 2024, maintenance mode ran September 8, 2024 to September 7, 2025, and end-of-support was September 8, 2025, per aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-javascript-v2
  2. Use the official migration guide at docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/migrating-to-v3.html rather than assuming a drop-in swap
  3. Run the official aws-sdk-js-codemod automated migration tool against your codebase as a first pass
  4. Restructure client instantiation from the monolithic v2 aws-sdk package to modular per-service v3 packages and the command pattern (client.send(new XCommand())) instead of v2's mixed callback/promise API
  5. If running on Lambda, prioritize this migration for cold-start improvements — AWS has published SDK v3-specific cold-start guidance for Lambda functions

Known gotchas

Related routes

Migrate a Python integration off the archived boto (v2) library to boto3
github.com · 5 steps · unrated
Migrate a Smartcar integration from API V2 to V3 including new auth model and signal schema
smartcar.com · 6 steps · unrated
Migrate an existing ShipStation V1 API integration to the ShipStation API V2
docs.shipstation.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans