Creates an endpoint for an Amazon S3 bucket that DataSync can access for a transfer.
For more information, see Create an Amazon S3 location in the DataSync User Guide.
Use a bare-bones client and the command you need to make an API call.
import { DataSyncClient, CreateLocationS3Command } from "@aws-sdk/client-datasync"; // ES Modules import // const { DataSyncClient, CreateLocationS3Command } = require("@aws-sdk/client-datasync"); // CommonJS import const client = new DataSyncClient(config); const command = new CreateLocationS3Command(input); const response = await client.send(command);
CreateLocationS3CommandInput for command's input shape.
input
CreateLocationS3CommandOutput for command's response shape.
response
config for DataSyncClient's config shape.
config
Creates an endpoint for an Amazon S3 bucket that DataSync can access for a transfer.
For more information, see Create an Amazon S3 location in the DataSync User Guide.
Use a bare-bones client and the command you need to make an API call.
import { DataSyncClient, CreateLocationS3Command } from "@aws-sdk/client-datasync"; // ES Modules import // const { DataSyncClient, CreateLocationS3Command } = require("@aws-sdk/client-datasync"); // CommonJS import const client = new DataSyncClient(config); const command = new CreateLocationS3Command(input); const response = await client.send(command);
CreateLocationS3CommandInput for command's
input
shape.CreateLocationS3CommandOutput for command's
response
shape.config for DataSyncClient's
config
shape.