skip to Main Content

Amazon web services – 'ListBucketsCommand' is not assignable to parameter of type 'Command

using "@aws-sdk/client-s3": "^3.481.0", and keep getting the error at send line let S3_Config = { region: process.env.S3_REGION, credentials: { accessKeyId: process.env.S3_ACCESS_KEY_ID, secretAccessKey: process.env.S3_ACCESS_SECRET_KEY, }, }; const s3_client = new S3Client(S3_Config); const s3_params = { Bucket: process.env.S3_BUCKET_NAME , // required MaxKeys:…

VIEW QUESTION
Back To Top
Search