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

Latest AWS SDK supported? #85

Open
mxro opened this issue Sep 25, 2021 · 1 comment
Open

Latest AWS SDK supported? #85

mxro opened this issue Sep 25, 2021 · 1 comment

Comments

@mxro
Copy link

mxro commented Sep 25, 2021

I've just upgraded both aws-sdk and mock-aws-s3 to their latest version, but I am getting the following type error (using TypeScript):

 Type 'S3' is missing the following properties from type 'S3': 
deleteBucketIntelligentTieringConfiguration, deleteBucketOwnershipControls, getBucketIntelligentTieringConfiguration, getBucketOwnershipControls, and 4 more.

Version used:

mock-aws-s3@npm:4.0.2
aws-sdk@npm:2.995.0
@mxro
Copy link
Author

mxro commented Jan 5, 2024

Any plans to support AWS SDK v3 style API?

// a client can be shared by different commands.
const client = new S3Client({ region: "REGION" });

const params = {
  /** input parameters */
};
const command = new ListBucketsCommand(params);

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

1 participant