According to the page on npmjs.com, there is a aws-sdk v3 that should be used instead. Migration information: https://aws.amazon.com/blogs/developer/why-and-how-you-should-use-aws-sdk-for-javascript-v3-on-node-js-18/ Codemods for v2-to-v3 migration: https://www.npmjs.com/package/aws-sdk-js-codemod