Untitled
unknown
plain_text
2 years ago
504 B
4
Indexable
// Load the required clients and commands const AWS = require("aws-sdk"); const s3 = new AWS.S3(); // Set the parameters for the WriteGetObjectResponse command const params = { RequestRoute: "YOUR_REQUEST_ROUTE", RequestToken: "YOUR_REQUEST_TOKEN", Body: "YOUR_RESPONSE_BODY", }; // Call the WriteGetObjectResponse command with the provided parameters s3.writeGetObjectResponse(params, function(err, data) { if (err) { console.log(err, err.stack); } else { console.log(data); } });
Editor is loading...