aws-samples / aws-secure-environment-accelerator

The AWS Secure Environment Accelerator is a tool designed to help deploy and operate secure multi-account, multi-region AWS environments on an ongoing basis. The power of the solution is the configuration file which enables the completely automated deployment of customizable architectures within AWS without changing a single line of code.
Apache License 2.0
725 stars 233 forks source link

Migrate AWS SDK for JavaScript v2 APIs to v3 #1196

Closed trivikr closed 10 months ago

trivikr commented 10 months ago

From AWS SDK for JavaScript v2 README:

We are formalizing our plans to make the Maintenance Announcement (Phase 2) for AWS SDK for JavaScript v2 in 2023.

This PR migrates AWS SDK for JavaScript v2 APIs to v3 using aws-sdk-js-codemod.

$ npx aws-sdk-js-codemod@0.28.2 -t v2-to-v3 **/*.ts

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

trivikr commented 10 months ago

Closing as the project requires some transformations which are not yet supported by codemod. Feel free to cherry-pick commits, or re-run latest version of codemod if you prioritize JS SDK v2 to v3 migration.