-
Notifications
You must be signed in to change notification settings - Fork 97
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
Can we use with aws-sdk v3? #58
Comments
It cannot. Since I'm using this library in a Lambda function and want to minimize space by importing only the dynamodb bits, does anyone know how to avoid importing the entire SDK with |
@csr I thought so. I like the API for v3, and personally use it, but I don’t think using v3 will decrease the container size, and maybe will increase it, since aws-sdk v2 is and always present in the container that a lambda function runs. |
@omer-to v3 will decrease the container size if you only import a subset of the AWS SDK in your package.json, thanks to the new SDK modular architecture. For example you can just |
@csr Nope, the container size will not decrease, just the package size will decrease. |
It's not hard to add v3, but it's hard to do backward compatible in one package, I ever tried to add v3, but I think separate package would be ideal. I ever tried to add v3 for testing purpose. |
I refactored the library to use the AWS SDK v3 and released it as an npm package named |
@renet if I understand correctly, you mentioned |
@alex-arzaghi This commit shows the refactoring. It's in a different repository, maybe you got that wrong. If you have any more issues with it, please report them there. |
Hi.
Can this library be used with
aws-sdk
v3?The text was updated successfully, but these errors were encountered: