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

AWS SDK for JavaScript V3 support #209

Open
tmclaugh opened this issue Mar 12, 2020 · 6 comments
Open

AWS SDK for JavaScript V3 support #209

tmclaugh opened this issue Mar 12, 2020 · 6 comments
Labels
question A question needs to be answered before progress can be made on this issue technical A technical issue that requires understanding of the code, infrastructure or dependencies

Comments

@tmclaugh
Copy link

As a user I can mock calls from the v3 SDK in developer preview (https://github.com/aws/aws-sdk-js-v3) so I can begin using the new SDK without losing the ability to test.

Just want to get an idea of whether this is on the roadmap anywhere. Not sure what AWS's own roadmap is for the new SDK either.

@nelsonic nelsonic added question A question needs to be answered before progress can be made on this issue technical A technical issue that requires understanding of the code, infrastructure or dependencies labels Mar 12, 2020
@nelsonic
Copy link
Member

@tmclaugh good question and thanks for opening this issue. 👍
We are investigating the V3 SDK. Beyond the modularity (which is a welcome improvement),
what functionality are you hoping to use?

@tmclaugh
Copy link
Author

I don't want any more functionality than there is currently in aws-sdk-mock. I'm a TS/JS newbie but have used moto in Python projects.

One issue I do see is aws-sdk-mock supporting both the v2 and v3 APIs available in aws-sdk-js-v3. I'm fine using the older v2 API as a start.

@gugu
Copy link

gugu commented Apr 24, 2020

I want to save my RAM, for example. With ts aws-sdk typescript eats 400MB RAM extra

@dmattia
Copy link

dmattia commented Jan 21, 2021

As a note, some have found that this library is not needed when using aws-sdk v3: aws/aws-sdk-js-v3#1156

@m-radzikowski
Copy link

I've created an equivalent of aws-sdk-mock for the v3 SDK: aws-sdk-client-mock

Similarly to this great lib, does not depend on Jest or any other unit testing framework and uses Sinon.js under the hood for highly customizable mocks. Additionally, is fully typed, which helps writing mocks.

I have decided to create a separate lib, as the approach is quite different, and it's written in TS, not JS. Does not yet support v2-style API, but I plan to add it soon.

@BHunter2889

This comment was marked as outdated.

@nelsonic nelsonic pinned this issue Mar 13, 2024
nelsonic added a commit that referenced this issue Mar 13, 2024
nelsonic added a commit that referenced this issue Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A question needs to be answered before progress can be made on this issue technical A technical issue that requires understanding of the code, infrastructure or dependencies
Projects
None yet
Development

No branches or pull requests

6 participants