Configures a task, which defines where and how DataSync transfers your
data.
A task includes a source location, a destination location, and the preferences for how and
when you want to transfer your data (such as bandwidth limits, scheduling, among other
options).
example
Use a bare-bones client and the command you need to make an API call.
Configures a task, which defines where and how DataSync transfers your data.
A task includes a source location, a destination location, and the preferences for how and when you want to transfer your data (such as bandwidth limits, scheduling, among other options).
Use a bare-bones client and the command you need to make an API call.
import { DataSyncClient, CreateTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import // const { DataSyncClient, CreateTaskCommand } = require("@aws-sdk/client-datasync"); // CommonJS import const client = new DataSyncClient(config); const command = new CreateTaskCommand(input); const response = await client.send(command);
CreateTaskCommandInput for command's
input
shape.CreateTaskCommandOutput for command's
response
shape.config for DataSyncClient's
config
shape.