mock-aws-s3
mock-aws-s3 copied to clipboard
Latest AWS SDK supported?
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
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);