Skip to main content

devices

Creates, updates, deletes, gets or lists a devices resource.

Overview

Namedevices
TypeResource
Idaws.snow_device_management.devices

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
associated_with_jobstringThe ID of the job used when ordering the device.
device_capacitiesarrayThe hardware specifications of the device.
device_statestringThe current state of the device. (UNLOCKED, LOCKED, UNLOCKING)
device_typestringThe type of Amazon Web Services Snow Family device.
last_reached_out_atstring (date-time)When the device last contacted the Amazon Web Services Cloud. Indicates that the device is online.
last_updated_atstring (date-time)When the device last pushed an update to the Amazon Web Services Cloud. Indicates when the device cache was refreshed.
managed_device_arnstringThe Amazon Resource Name (ARN) of the device.
managed_device_idstringThe ID of the device that you checked the information for.
physical_network_interfacesarrayThe network interfaces available on the device.
softwareobjectThe software installed on the device.
tagsobjectOptional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_deviceselectmanaged_device_id, regionChecks device-specific information, such as the device type, software version, IP addresses, and lock status.
list_devicesselectregionjobId, maxResults, nextTokenReturns 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
managed_device_idstringThe ID of the device that you are checking the information of.
regionstringAWS region (default: us-east-1)
jobIdstringThe ID of the job used to order the device.
maxResultsintegerThe maximum number of devices to list per page.
nextTokenstringA pagination token to continue to the next page of results.

SELECT examples

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

SELECT
associated_with_job,
device_capacities,
device_state,
device_type,
last_reached_out_at,
last_updated_at,
managed_device_arn,
managed_device_id,
physical_network_interfaces,
software,
tags
FROM aws.snow_device_management.devices
WHERE managed_device_id = '{{ managed_device_id }}' -- required
AND region = '{{ region }}' -- required
;