src/transforms/v2-to-v3/__fixtures__/s3-upload/options-identifier.input.js (15 lines of code) (raw):
import AWS from "aws-sdk";
const client = new AWS.S3();
const uploadParams = {
Body: "BODY",
Bucket: "Bucket",
ContentType: "ContentType",
Key: "Key"
};
const uploadOptions = {
partSize: 1024 * 1024 * 5,
queueSize: 1,
leavePartsOnError: true,
tags: []
};
await client.upload(uploadParams, uploadOptions).promise();