Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
Use a bare-bones client and the command you need to make an API call.
import { IoT1ClickDevicesServiceClient, DescribeDeviceCommand } from "@aws-sdk/client-iot-1click-devices-service"; // ES Modules import // const { IoT1ClickDevicesServiceClient, DescribeDeviceCommand } = require("@aws-sdk/client-iot-1click-devices-service"); // CommonJS import const client = new IoT1ClickDevicesServiceClient(config); const command = new DescribeDeviceCommand(input); const response = await client.send(command);
DescribeDeviceCommandInput for command's input shape.
input
DescribeDeviceCommandOutput for command's response shape.
response
config for IoT1ClickDevicesServiceClient's config shape.
config
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
Use a bare-bones client and the command you need to make an API call.
import { IoT1ClickDevicesServiceClient, DescribeDeviceCommand } from "@aws-sdk/client-iot-1click-devices-service"; // ES Modules import // const { IoT1ClickDevicesServiceClient, DescribeDeviceCommand } = require("@aws-sdk/client-iot-1click-devices-service"); // CommonJS import const client = new IoT1ClickDevicesServiceClient(config); const command = new DescribeDeviceCommand(input); const response = await client.send(command);
DescribeDeviceCommandInput for command's
input
shape.DescribeDeviceCommandOutput for command's
response
shape.config for IoT1ClickDevicesServiceClient's
config
shape.