Skip to main content

devices

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

Overview

Namedevices
TypeResource
Idaws.devicefarm.devices

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe device's display name.
arnstringThe device's ARN. (pattern: <code>^arn:aws:devicefarm:.+</code>)
availabilitystringIndicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods. (TEMPORARY_NOT_AVAILABLE, BUSY, AVAILABLE, HIGHLY_AVAILABLE)
carrierstringThe device's carrier.
cpuobjectInformation about the device's CPU.
fleet_namestringThe name of the fleet to which this device belongs.
fleet_typestringThe type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.
form_factorstringThe device's form factor. Allowed values include: PHONE TABLET (PHONE, TABLET)
heap_sizeinteger (int64)The device's heap size, expressed in bytes.
imagestringThe device's image name.
instancesarrayThe instances that belong to this device.
manufacturerstringThe device's manufacturer name.
memoryinteger (int64)The device's total memory size, expressed in bytes.
modelstringThe device's model name.
model_idstringThe device's model ID.
osstringThe device's operating system type.
platformstringThe device's platform. Allowed values include: ANDROID IOS (ANDROID, IOS)
radiostringThe device's radio.
remote_access_enabledbooleanSpecifies whether remote access has been enabled for the specified device.
remote_debug_enabledbooleanThis flag is set to true if remote debugging is enabled for the device. Remote debugging is no longer supported.
resolutionobjectThe resolution of the device.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_deviceselectregionGets information about a unique device type.
list_devicesselectregionGets information about unique device types.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Gets information about a unique device type.

SELECT
name,
arn,
availability,
carrier,
cpu,
fleet_name,
fleet_type,
form_factor,
heap_size,
image,
instances,
manufacturer,
memory,
model,
model_id,
os,
platform,
radio,
remote_access_enabled,
remote_debug_enabled,
resolution
FROM aws.devicefarm.devices
WHERE region = '{{ region }}' -- required
;