We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b17da0 commit 066d27dCopy full SHA for 066d27d
src/transforms/v2-to-v3/__fixtures__/s3-upload/param-identifier.input.js
@@ -0,0 +1,11 @@
1
+import AWS from "aws-sdk";
2
+
3
+const client = new AWS.S3({ region: "REGION" });
4
+const uploadParams = {
5
+ Body: "BODY",
6
+ Bucket: "Bucket",
7
+ ContentType: "ContentType",
8
+ Key: "Key",
9
+};
10
11
+await client.upload(uploadParams).promise();
src/transforms/v2-to-v3/__fixtures__/s3-upload/param-identifier.output.js
@@ -0,0 +1,15 @@
+import { Upload } from "@aws-sdk/lib-storage";
+import { S3 } from "@aws-sdk/client-s3";
+const client = new S3({ region: "REGION" });
12
+await new Upload({
13
+ client,
14
+ params: uploadParams
15
+}).done();
0 commit comments