Questions tagged [aws-sdk-js]

The JavaScript AWS SDK offers a comprehensive set of APIs for various AWS services such as S3, SNS, SQS, EC2, Route53, and more. It is compatible with both front-end JavaScript running in browsers and Node.js.

Streaming a multipart file upload directly to an S3 bucket

Seeking to transfer a file upload received from a multipart request to an S3 bucket utilizing express and aws-sdk. The upload function is utilized, which can utilize a readable stream for the Body parameter. await s3Client .upload({ Bucket: 's ...

Is there a way to simulate AWS Service Comprehend using Sinon and aws-sdk-mock?

As a newcomer to Typescript mocking, I am trying to figure out how to properly mock AWS.Comprehend in my unit tests. Below is the code snippet where I am utilizing the AWS Service Comprehend. const comprehend = new AWS.Comprehend(); export const handler ...

The signature does not match, so the SignedURL is being rejected

I recently started using AWS S3 and encountered the SignatureDoesNotMatch error while trying to upload an image. I double-checked for any typos in my keys, ensured that my system time was accurate, but still couldn't resolve the issue. My workflow, mo ...