Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeDeviceCommand

Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.

example

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);
see

DescribeDeviceCommandInput for command's input shape.

see

DescribeDeviceCommandOutput for command's response shape.

see

config for IoT1ClickDevicesServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DescribeDeviceCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DescribeDeviceCommandInput, DescribeDeviceCommandOutput>