Skip to content

aws.devicefarm.get_device_pool_compatibility

Example SQL Queries

SELECT * FROM
aws.devicefarm.get_device_pool_compatibility
WHERE
"device_pool_arn" = 'VALUE';

Description

Gets information about compatibility with a device pool.

Table Definition

Column NameColumn Data Type
device_pool_arn Required Input Column

The device pool's ARN.

VARCHAR
app_arn Input Column

The ARN of the app that is associated with the specified device pool.

VARCHAR
configuration Input Column

An object that contains information about the settings for a run.

STRUCT(
"extra_data_package_arn" VARCHAR,
"network_profile_arn" VARCHAR,
"locale" VARCHAR,
"location" STRUCT(
"latitude" DOUBLE,
"longitude" DOUBLE
),
"vpce_configuration_arns" VARCHAR[],
"customer_artifact_paths" STRUCT(
"ios_paths" VARCHAR[],
"android_paths" VARCHAR[],
"device_host_paths" VARCHAR[]
),
"radios" STRUCT(
"wifi" BOOLEAN,
"bluetooth" BOOLEAN,
"nfc" BOOLEAN,
"gps" BOOLEAN
),
"auxiliary_apps" VARCHAR[],
"billing_method" VARCHAR
)
Show child fields
configuration.auxiliary_apps[]
configuration.billing_method

Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is metered.

If you have purchased unmetered device slots, you must set this parameter to unmetered to make use of them. Otherwise, your run counts against your metered time.

configuration.customer_artifact_paths

Input CustomerArtifactPaths object for the scheduled run configuration.

Show child fields
configuration.customer_artifact_paths.android_paths[]
configuration.customer_artifact_paths.device_host_paths[]
configuration.customer_artifact_paths.ios_paths[]
configuration.extra_data_package_arn

The ARN of the extra data for the run. The extra data is a .zip file that AWS Device Farm extracts to external data for Android or the app's sandbox for iOS.

configuration.locale

Information about the locale that is used for the run.

configuration.location

Information about the location that is used for the run.

Show child fields
configuration.location.latitude

The latitude.

configuration.location.longitude

The longitude.

configuration.network_profile_arn

Reserved for internal use.

configuration.radios

Information about the radio states for the run.

Show child fields
configuration.radios.bluetooth

True if Bluetooth is enabled at the beginning of the test. Otherwise, false.

configuration.radios.gps

True if GPS is enabled at the beginning of the test. Otherwise, false.

configuration.radios.nfc

True if NFC is enabled at the beginning of the test. Otherwise, false.

configuration.radios.wifi

True if Wi-Fi is enabled at the beginning of the test. Otherwise, false.

configuration.vpce_configuration_arns[]
test Input Column

Information about the uploaded test to be run against the device pool.

STRUCT(
"type" VARCHAR,
"test_package_arn" VARCHAR,
"test_spec_arn" VARCHAR,
"filter" VARCHAR,
"parameters" MAP(VARCHAR, VARCHAR)
)
Show child fields
test.filter

The test's filter.

test.parameters

The test's parameters, such as test framework parameters and fixture settings. Parameters are represented by name-value pairs of strings.

For all tests:

  • app_performance_monitoring: Performance monitoring is enabled by default. Set this parameter to false to disable it.

For Calabash tests:

  • profile: A cucumber profile (for example, my_profile_name).

  • tags: You can limit execution to features or scenarios that have (or don't have) certain tags (for example, @smoke or @smoke,~@wip).

For Appium tests (all types):

  • appium_version: The Appium version. Currently supported values are 1.6.5 (and later), latest, and default.

    • latest runs the latest Appium version supported by Device Farm (1.9.1).

    • For default, Device Farm selects a compatible version of Appium for the device. The current behavior is to run 1.7.2 on Android devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.

    • This behavior is subject to change.

For fuzz tests (Android only):

  • event_count: The number of events, between 1 and 10000, that the UI fuzz test should perform.

  • throttle: The time, in ms, between 0 and 1000, that the UI fuzz test should wait between events.

  • seed: A seed to use for randomizing the UI fuzz test. Using the same seed value between tests ensures identical event sequences.

For Explorer tests:

  • username: A user name to use if the Explorer encounters a login form. If not supplied, no user name is inserted.

  • password: A password to use if the Explorer encounters a login form. If not supplied, no password is inserted.

For Instrumentation:

  • filter: A test filter string. Examples:

    • Running a single test case: com.android.abc.Test1

    • Running a single test: com.android.abc.Test1#smoke

    • Running multiple tests: com.android.abc.Test1,com.android.abc.Test2

For XCTest and XCTestUI:

  • filter: A test filter string. Examples:

    • Running a single test class: LoginTests

    • Running a multiple test classes: LoginTests,SmokeTests

    • Running a single test: LoginTests/testValid

    • Running multiple tests: LoginTests/testValid,LoginTests/testInvalid

For UIAutomator:

  • filter: A test filter string. Examples:

    • Running a single test case: com.android.abc.Test1

    • Running a single test: com.android.abc.Test1#smoke

    • Running multiple tests: com.android.abc.Test1,com.android.abc.Test2

test.test_package_arn

The ARN of the uploaded test to be run.

test.test_spec_arn

The ARN of the YAML-formatted test specification.

test.type

The test's type.

Must be one of the following values:

  • BUILTIN_FUZZ

  • BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.

  • APPIUM_JAVA_JUNIT

  • APPIUM_JAVA_TESTNG

  • APPIUM_PYTHON

  • APPIUM_NODE

  • APPIUM_RUBY

  • APPIUM_WEB_JAVA_JUNIT

  • APPIUM_WEB_JAVA_TESTNG

  • APPIUM_WEB_PYTHON

  • APPIUM_WEB_NODE

  • APPIUM_WEB_RUBY

  • CALABASH

  • INSTRUMENTATION

  • UIAUTOMATION

  • UIAUTOMATOR

  • XCTEST

  • XCTEST_UI

test_type Input Column

The test type for the specified device pool.

Allowed values include the following:

  • BUILTIN_FUZZ.

  • BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.

  • APPIUM_JAVA_JUNIT.

  • APPIUM_JAVA_TESTNG.

  • APPIUM_PYTHON.

  • APPIUM_NODE.

  • APPIUM_RUBY.

  • APPIUM_WEB_JAVA_JUNIT.

  • APPIUM_WEB_JAVA_TESTNG.

  • APPIUM_WEB_PYTHON.

  • APPIUM_WEB_NODE.

  • APPIUM_WEB_RUBY.

  • CALABASH.

  • INSTRUMENTATION.

  • UIAUTOMATION.

  • UIAUTOMATOR.

  • XCTEST.

  • XCTEST_UI.

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
compatible_devices

Information about compatible devices.

STRUCT(
"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
),
"compatible" BOOLEAN,
"incompatibility_messages" STRUCT(
"message" VARCHAR,
"type" VARCHAR
)[]
)[]
Show child fields
compatible_devices[]
Show child fields
compatible_devices[].compatible

Whether the result was compatible with the device pool.

compatible_devices[].device

The device (phone or tablet) to return information about.

Show child fields
compatible_devices[].device.arn

The device's ARN.

compatible_devices[].device.availability

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

compatible_devices[].device.carrier

The device's carrier.

compatible_devices[].device.cpu

Information about the device's CPU.

Show child fields
compatible_devices[].device.cpu.architecture

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

compatible_devices[].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.

compatible_devices[].device.cpu.frequency

The CPU's frequency.

compatible_devices[].device.fleet_name

The name of the fleet to which this device belongs.

compatible_devices[].device.fleet_type

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

compatible_devices[].device.form_factor

The device's form factor.

Allowed values include:

  • PHONE

  • TABLET

compatible_devices[].device.heap_size

The device's heap size, expressed in bytes.

compatible_devices[].device.image

The device's image name.

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

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

compatible_devices[].device.instances[].device_arn

The ARN of the device.

compatible_devices[].device.instances[].instance_profile

A object that contains information about the instance profile.

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

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

compatible_devices[].device.instances[].instance_profile.description

The description of the instance profile.

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

The name of the instance profile.

compatible_devices[].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.

compatible_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.

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

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

compatible_devices[].device.instances[].udid

Unique device identifier for the device instance.

compatible_devices[].device.manufacturer

The device's manufacturer name.

compatible_devices[].device.memory

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

compatible_devices[].device.model

The device's model name.

compatible_devices[].device.model_id

The device's model ID.

compatible_devices[].device.name

The device's display name.

compatible_devices[].device.os

The device's operating system type.

compatible_devices[].device.platform

The device's platform.

Allowed values include:

  • ANDROID

  • IOS

compatible_devices[].device.radio

The device's radio.

compatible_devices[].device.remote_access_enabled

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

compatible_devices[].device.remote_debug_enabled

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

Remote debugging is no longer supported.

compatible_devices[].device.resolution

The resolution of the device.

Show child fields
compatible_devices[].device.resolution.height

The screen resolution's height, expressed in pixels.

compatible_devices[].device.resolution.width

The screen resolution's width, expressed in pixels.

compatible_devices[].incompatibility_messages[]
Show child fields
compatible_devices[].incompatibility_messages[].message

A message about the incompatibility.

compatible_devices[].incompatibility_messages[].type

The type of incompatibility.

Allowed values include:

  • ARN

  • FORM_FACTOR (for example, phone or tablet)

  • MANUFACTURER

  • PLATFORM (for example, Android or iOS)

  • REMOTE_ACCESS_ENABLED

  • APPIUM_VERSION

incompatible_devices

Information about incompatible devices.

STRUCT(
"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
),
"compatible" BOOLEAN,
"incompatibility_messages" STRUCT(
"message" VARCHAR,
"type" VARCHAR
)[]
)[]
Show child fields
incompatible_devices[]
Show child fields
incompatible_devices[].compatible

Whether the result was compatible with the device pool.

incompatible_devices[].device

The device (phone or tablet) to return information about.

Show child fields
incompatible_devices[].device.arn

The device's ARN.

incompatible_devices[].device.availability

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

incompatible_devices[].device.carrier

The device's carrier.

incompatible_devices[].device.cpu

Information about the device's CPU.

Show child fields
incompatible_devices[].device.cpu.architecture

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

incompatible_devices[].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.

incompatible_devices[].device.cpu.frequency

The CPU's frequency.

incompatible_devices[].device.fleet_name

The name of the fleet to which this device belongs.

incompatible_devices[].device.fleet_type

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

incompatible_devices[].device.form_factor

The device's form factor.

Allowed values include:

  • PHONE

  • TABLET

incompatible_devices[].device.heap_size

The device's heap size, expressed in bytes.

incompatible_devices[].device.image

The device's image name.

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

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

incompatible_devices[].device.instances[].device_arn

The ARN of the device.

incompatible_devices[].device.instances[].instance_profile

A object that contains information about the instance profile.

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

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

incompatible_devices[].device.instances[].instance_profile.description

The description of the instance profile.

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

The name of the instance profile.

incompatible_devices[].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.

incompatible_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.

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

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

incompatible_devices[].device.instances[].udid

Unique device identifier for the device instance.

incompatible_devices[].device.manufacturer

The device's manufacturer name.

incompatible_devices[].device.memory

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

incompatible_devices[].device.model

The device's model name.

incompatible_devices[].device.model_id

The device's model ID.

incompatible_devices[].device.name

The device's display name.

incompatible_devices[].device.os

The device's operating system type.

incompatible_devices[].device.platform

The device's platform.

Allowed values include:

  • ANDROID

  • IOS

incompatible_devices[].device.radio

The device's radio.

incompatible_devices[].device.remote_access_enabled

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

incompatible_devices[].device.remote_debug_enabled

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

Remote debugging is no longer supported.

incompatible_devices[].device.resolution

The resolution of the device.

Show child fields
incompatible_devices[].device.resolution.height

The screen resolution's height, expressed in pixels.

incompatible_devices[].device.resolution.width

The screen resolution's width, expressed in pixels.

incompatible_devices[].incompatibility_messages[]
Show child fields
incompatible_devices[].incompatibility_messages[].message

A message about the incompatibility.

incompatible_devices[].incompatibility_messages[].type

The type of incompatibility.

Allowed values include:

  • ARN

  • FORM_FACTOR (for example, phone or tablet)

  • MANUFACTURER

  • PLATFORM (for example, Android or iOS)

  • REMOTE_ACCESS_ENABLED

  • APPIUM_VERSION