We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1111d65 + da33dad commit 3453af6Copy full SHA for 3453af6
javascriptv3/example_code/s3/src/s3_upload.ts
@@ -19,7 +19,7 @@ Uploads the specified file to the specified bucket.
19
*/
20
// snippet-start:[s3.JavaScript.buckets.uploadV3]
21
// Import required AWS SDK clients and commands for Node.js
22
-const { S3Client } = require("@aws-sdk/client-s3");
+const { S3Client, PutObjectCommand } = require("@aws-sdk/client-s3");
23
const path = require("path");
24
const fs = require("fs");
25
0 commit comments