devices
Creates, updates, deletes, gets or lists a devices resource.
Overview
| Name | devices |
| Type | Resource |
| Id | aws.devicefarm.devices |
Fields
The following fields are returned by SELECT queries:
- get_device
- list_devices
| Name | Datatype | Description |
|---|---|---|
name | string | The device's display name. |
arn | string | The device's ARN. (pattern: <code>^arn:aws:devicefarm:.+</code>) |
availability | string | Indicates 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) |
carrier | string | The device's carrier. |
cpu | object | Information about the device's CPU. |
fleet_name | string | The name of the fleet to which this device belongs. |
fleet_type | string | The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC. |
form_factor | string | The device's form factor. Allowed values include: PHONE TABLET (PHONE, TABLET) |
heap_size | integer (int64) | The device's heap size, expressed in bytes. |
image | string | The device's image name. |
instances | array | The instances that belong to this device. |
manufacturer | string | The device's manufacturer name. |
memory | integer (int64) | The device's total memory size, expressed in bytes. |
model | string | The device's model name. |
model_id | string | The device's model ID. |
os | string | The device's operating system type. |
platform | string | The device's platform. Allowed values include: ANDROID IOS (ANDROID, IOS) |
radio | string | The device's radio. |
remote_access_enabled | boolean | Specifies whether remote access has been enabled for the specified device. |
remote_debug_enabled | boolean | This flag is set to true if remote debugging is enabled for the device. Remote debugging is no longer supported. |
resolution | object | The resolution of the device. |
| Name | Datatype | Description |
|---|---|---|
name | string | The device's display name. |
arn | string | The device's ARN. (pattern: <code>^arn:aws:devicefarm:.+</code>) |
availability | string | Indicates 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) |
carrier | string | The device's carrier. |
cpu | object | Information about the device's CPU. |
fleet_name | string | The name of the fleet to which this device belongs. |
fleet_type | string | The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC. |
form_factor | string | The device's form factor. Allowed values include: PHONE TABLET (PHONE, TABLET) |
heap_size | integer (int64) | The device's heap size, expressed in bytes. |
image | string | The device's image name. |
instances | array | The instances that belong to this device. |
manufacturer | string | The device's manufacturer name. |
memory | integer (int64) | The device's total memory size, expressed in bytes. |
model | string | The device's model name. |
model_id | string | The device's model ID. |
os | string | The device's operating system type. |
platform | string | The device's platform. Allowed values include: ANDROID IOS (ANDROID, IOS) |
radio | string | The device's radio. |
remote_access_enabled | boolean | Specifies whether remote access has been enabled for the specified device. |
remote_debug_enabled | boolean | This flag is set to true if remote debugging is enabled for the device. Remote debugging is no longer supported. |
resolution | object | The resolution of the device. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_device | select | region | Gets information about a unique device type. | |
list_devices | select | region | Gets 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_device
- list_devices
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
;
Gets information about unique device types.
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
;