mock-aws-s3 icon indicating copy to clipboard operation
mock-aws-s3 copied to clipboard

Latest AWS SDK supported?

Open mxro opened this issue 3 years ago • 1 comments

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 avatar Sep 25 '21 02:09 mxro

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);

mxro avatar Jan 05 '24 21:01 mxro