Returns a list of the DataSync tasks you created.
Use a bare-bones client and the command you need to make an API call.
import { DataSyncClient, ListTasksCommand } from "@aws-sdk/client-datasync"; // ES Modules import // const { DataSyncClient, ListTasksCommand } = require("@aws-sdk/client-datasync"); // CommonJS import const client = new DataSyncClient(config); const command = new ListTasksCommand(input); const response = await client.send(command);
ListTasksCommandInput for command's input shape.
input
ListTasksCommandOutput for command's response shape.
response
config for DataSyncClient's config shape.
config
Returns a list of the DataSync tasks you created.
Use a bare-bones client and the command you need to make an API call.
import { DataSyncClient, ListTasksCommand } from "@aws-sdk/client-datasync"; // ES Modules import // const { DataSyncClient, ListTasksCommand } = require("@aws-sdk/client-datasync"); // CommonJS import const client = new DataSyncClient(config); const command = new ListTasksCommand(input); const response = await client.send(command);
ListTasksCommandInput for command's
input
shape.ListTasksCommandOutput for command's
response
shape.config for DataSyncClient's
config
shape.