Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SnowDeviceManagement

import { SnowDeviceManagement } from "https://aws-api.deno.dev/v0.4/services/snowdevicemanagement.ts?docs=full";
class SnowDeviceManagement {
constructor(apiFactory: client.ApiFactory);
async cancelTask(params: CancelTaskInput, opts?: client.RequestOptions): Promise<CancelTaskOutput>;
async createTask(params: CreateTaskInput, opts?: client.RequestOptions): Promise<CreateTaskOutput>;
async describeDevice(params: DescribeDeviceInput, opts?: client.RequestOptions): Promise<DescribeDeviceOutput>;
async describeDeviceEc2Instances(params: DescribeDeviceEc2Input, opts?: client.RequestOptions): Promise<DescribeDeviceEc2Output>;
async describeExecution(params: DescribeExecutionInput, opts?: client.RequestOptions): Promise<DescribeExecutionOutput>;
async describeTask(params: DescribeTaskInput, opts?: client.RequestOptions): Promise<DescribeTaskOutput>;
async listDeviceResources(params: ListDeviceResourcesInput, opts?: client.RequestOptions): Promise<ListDeviceResourcesOutput>;
async listDevices(params?: ListDevicesInput, opts?: client.RequestOptions): Promise<ListDevicesOutput>;
async listExecutions(params: ListExecutionsInput, opts?: client.RequestOptions): Promise<ListExecutionsOutput>;
async listTagsForResource(params: ListTagsForResourceInput, opts?: client.RequestOptions): Promise<ListTagsForResourceOutput>;
async listTasks(params?: ListTasksInput, opts?: client.RequestOptions): Promise<ListTasksOutput>;
async tagResource(params: TagResourceInput, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceInput, opts?: client.RequestOptions): Promise<void>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new SnowDeviceManagement(apiFactory: client.ApiFactory)
[src]

§Methods

§
cancelTask(params: CancelTaskInput, opts?: client.RequestOptions): Promise<CancelTaskOutput>
[src]

Sends a cancel request for a specified task. You can cancel a task only if it's still in a QUEUED state. Tasks that are already running can't be cancelled.

Note: A task might still run if it's processed from the queue before the CancelTask operation changes the task's state.

§
createTask(params: CreateTaskInput, opts?: client.RequestOptions): Promise<CreateTaskOutput>
[src]

Instructs one or more devices to start a task, such as unlocking or rebooting.

§
describeDevice(params: DescribeDeviceInput, opts?: client.RequestOptions): Promise<DescribeDeviceOutput>
[src]

Checks device-specific information, such as the device type, software version, IP addresses, and lock status.

§
describeDeviceEc2Instances(params: DescribeDeviceEc2Input, opts?: client.RequestOptions): Promise<DescribeDeviceEc2Output>
[src]

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.

§

Checks the status of a remote task running on one or more target devices.

§
describeTask(params: DescribeTaskInput, opts?: client.RequestOptions): Promise<DescribeTaskOutput>
[src]

Checks the metadata for a given task on a device.

§

Returns a list of the Amazon Web Services resources available for a device. Currently, Amazon EC2 instances are the only supported resource type.

§
listDevices(params?: ListDevicesInput, opts?: client.RequestOptions): Promise<ListDevicesOutput>
[src]

Returns a list of all devices on your Amazon Web Services account that have Amazon Web Services Snow Device Management enabled in the Amazon Web Services Region where the command is run.

§
listExecutions(params: ListExecutionsInput, opts?: client.RequestOptions): Promise<ListExecutionsOutput>
[src]

Returns the status of tasks for one or more target devices.

§

Returns a list of tags for a managed device or task.

§
listTasks(params?: ListTasksInput, opts?: client.RequestOptions): Promise<ListTasksOutput>
[src]

Returns a list of tasks that can be filtered by state.

§
tagResource(params: TagResourceInput, opts?: client.RequestOptions): Promise<void>
[src]

Adds or replaces tags on a device or task.

§
untagResource(params: UntagResourceInput, opts?: client.RequestOptions): Promise<void>
[src]

Removes a tag from a device or task.

§Static Properties