Skip to content

aws.devicefarm.get_device

Example SQL Queries

SELECT * FROM
aws.devicefarm.get_device
WHERE
"arn" = 'VALUE';

Description

Gets information about a unique device type.

Table Definition

Column NameColumn Data Type
arn Required Input Column

The device type's ARN.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
device

An object that contains information about the requested device.

STRUCT(
"arn" VARCHAR,
"name" VARCHAR,
"manufacturer" VARCHAR,
"model" VARCHAR,
"model_id" VARCHAR,
"form_factor" VARCHAR,
"platform" VARCHAR,
"os" VARCHAR,
"cpu" STRUCT(
"frequency" VARCHAR,
"architecture" VARCHAR,
"clock" DOUBLE
),
"resolution" STRUCT(
"width" BIGINT,
"height" BIGINT
),
"heap_size" BIGINT,
"memory" BIGINT,
"image" VARCHAR,
"carrier" VARCHAR,
"radio" VARCHAR,
"remote_access_enabled" BOOLEAN,
"remote_debug_enabled" BOOLEAN,
"fleet_type" VARCHAR,
"fleet_name" VARCHAR,
"instances" STRUCT(
"arn" VARCHAR,
"device_arn" VARCHAR,
"labels" VARCHAR[],
"status" VARCHAR,
"udid" VARCHAR,
"instance_profile" STRUCT(
"arn" VARCHAR,
"package_cleanup" BOOLEAN,
"exclude_app_packages_from_cleanup" VARCHAR[],
"reboot_after_use" BOOLEAN,
"name" VARCHAR,
"description" VARCHAR
)
)[],
"availability" VARCHAR
)
Show child fields
device.arn

The device's ARN.

device.availability

Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.

device.carrier

The device's carrier.

device.cpu

Information about the device's CPU.

Show child fields
device.cpu.architecture

The CPU's architecture (for example, x86 or ARM).

device.cpu.clock

The clock speed of the device's CPU, expressed in hertz (Hz). For example, a 1.2 GHz CPU is expressed as 1200000000.

device.cpu.frequency

The CPU's frequency.

device.fleet_name

The name of the fleet to which this device belongs.

device.fleet_type

The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.

device.form_factor

The device's form factor.

Allowed values include:

  • PHONE

  • TABLET

device.heap_size

The device's heap size, expressed in bytes.

device.image

The device's image name.

device.instances[]
Show child fields
device.instances[].arn

The Amazon Resource Name (ARN) of the device instance.

device.instances[].device_arn

The ARN of the device.

device.instances[].instance_profile

A object that contains information about the instance profile.

Show child fields
device.instances[].instance_profile.arn

The Amazon Resource Name (ARN) of the instance profile.

device.instances[].instance_profile.description

The description of the instance profile.

device.instances[].instance_profile.exclude_app_packages_from_cleanup[]
device.instances[].instance_profile.name

The name of the instance profile.

device.instances[].instance_profile.package_cleanup

When set to true, Device Farm removes app packages after a test run. The default value is false for private devices.

device.instances[].instance_profile.reboot_after_use

When set to true, Device Farm reboots the instance after a test run. The default value is true.

device.instances[].labels[]
device.instances[].status

The status of the device instance. Valid values are listed here.

device.instances[].udid

Unique device identifier for the device instance.

device.manufacturer

The device's manufacturer name.

device.memory

The device's total memory size, expressed in bytes.

device.model

The device's model name.

device.model_id

The device's model ID.

device.name

The device's display name.

device.os

The device's operating system type.

device.platform

The device's platform.

Allowed values include:

  • ANDROID

  • IOS

device.radio

The device's radio.

device.remote_access_enabled

Specifies whether remote access has been enabled for the specified device.

device.remote_debug_enabled

This flag is set to true if remote debugging is enabled for the device.

Remote debugging is no longer supported.

device.resolution

The resolution of the device.

Show child fields
device.resolution.height

The screen resolution's height, expressed in pixels.

device.resolution.width

The screen resolution's width, expressed in pixels.