Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support AWS SDK v3 #53

Open
markw351 opened this issue Mar 21, 2021 · 2 comments
Open

Support AWS SDK v3 #53

markw351 opened this issue Mar 21, 2021 · 2 comments

Comments

@markw351
Copy link

markw351 commented Mar 21, 2021

Instead of the entire aws-sdk library, we should be able to...

const { DynamoDB } = require("@aws-sdk/client-dynamodb")
const $db = new DynamoDB({ region: 'us-west-2' })
const DynamodbFactory = require('@awspilot/dynamodb')
const dynamodb = new DynamodbFactory($db)
@adrianpraja
Copy link
Member

Hi Mark,

Indeed @awspilot/dynamodb v2.x does not work with AWS SDK v3,
feature releases of @awspilot/dynamodb ( v3.x ) will use AWS SDK v3.

Switching to AWS SDK v3 doesn't seem like a big rewrite
I just found myself confortable with the v2 and there was no request for v3 yet

Thanks for mentioning it and I'll leave this issue open until there's a v3 😄

@markw351
Copy link
Author

markw351 commented May 2, 2023

Hi @adrianpraja

As AWS' note below, any chance we could get a v3 of @awspilot/dynamodb

NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy

cheers

Mark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants