Instructs one or more devices to start a task, such as unlocking or rebooting.
Use a bare-bones client and the command you need to make an API call.
import { SnowDeviceManagementClient, CreateTaskCommand } from "@aws-sdk/client-snow-device-management"; // ES Modules import // const { SnowDeviceManagementClient, CreateTaskCommand } = require("@aws-sdk/client-snow-device-management"); // CommonJS import const client = new SnowDeviceManagementClient(config); const command = new CreateTaskCommand(input); const response = await client.send(command);
CreateTaskCommandInput for command's input shape.
input
CreateTaskCommandOutput for command's response shape.
response
config for SnowDeviceManagementClient's config shape.
config
Instructs one or more devices to start a task, such as unlocking or rebooting.
Use a bare-bones client and the command you need to make an API call.
import { SnowDeviceManagementClient, CreateTaskCommand } from "@aws-sdk/client-snow-device-management"; // ES Modules import // const { SnowDeviceManagementClient, CreateTaskCommand } = require("@aws-sdk/client-snow-device-management"); // CommonJS import const client = new SnowDeviceManagementClient(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 SnowDeviceManagementClient's
config
shape.