Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeDeviceEc2InstancesCommand

Checks the current state of the Amazon EC2 instances. The output is similar to describeDevice, but the results are sourced from the device cache in the Amazon Web Services Cloud and include a subset of the available fields.

example

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

import { SnowDeviceManagementClient, DescribeDeviceEc2InstancesCommand } from "@aws-sdk/client-snow-device-management"; // ES Modules import
// const { SnowDeviceManagementClient, DescribeDeviceEc2InstancesCommand } = require("@aws-sdk/client-snow-device-management"); // CommonJS import
const client = new SnowDeviceManagementClient(config);
const command = new DescribeDeviceEc2InstancesCommand(input);
const response = await client.send(command);
see

DescribeDeviceEc2InstancesCommandInput for command's input shape.

see

DescribeDeviceEc2InstancesCommandOutput for command's response shape.

see

config for SnowDeviceManagementClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeDeviceEc2InstancesCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions

  • Returns EndpointParameterInstructions