Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListDeviceEventsCommand

Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.

example

Use a bare-bones client and the command you need to make an API call.

import { IoT1ClickDevicesServiceClient, ListDeviceEventsCommand } from "@aws-sdk/client-iot-1click-devices-service"; // ES Modules import
// const { IoT1ClickDevicesServiceClient, ListDeviceEventsCommand } = require("@aws-sdk/client-iot-1click-devices-service"); // CommonJS import
const client = new IoT1ClickDevicesServiceClient(config);
const command = new ListDeviceEventsCommand(input);
const response = await client.send(command);
see

ListDeviceEventsCommandInput for command's input shape.

see

ListDeviceEventsCommandOutput for command's response shape.

see

config for IoT1ClickDevicesServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ListDeviceEventsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions