Menu
AWS Device Farm
API Reference (API Version 2015-06-23)

GetDevicePoolCompatibility

Gets information about compatibility with a device pool.

Request Syntax

Copy
{ "appArn": "string", "devicePoolArn": "string", "test": { "filter": "string", "parameters": { "string" : "string" }, "testPackageArn": "string", "type": "string" }, "testType": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

appArn

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

Type: String

Length Constraints: Minimum length of 32.

Required: No

devicePoolArn

The device pool's ARN.

Type: String

Length Constraints: Minimum length of 32.

Required: Yes

test

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

Type: ScheduleRunTest object

Required: No

testType

The test type for the specified device pool.

Allowed values include the following:

  • BUILTIN_FUZZ: The built-in fuzz type.

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

  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • APPIUM_PYTHON: The Appium Python type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

  • CALABASH: The Calabash type.

  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: The uiautomation type.

  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: The XCode UI test type.

Type: String

Valid Values: BUILTIN_FUZZ | BUILTIN_EXPLORER | APPIUM_JAVA_JUNIT | APPIUM_JAVA_TESTNG | APPIUM_PYTHON | APPIUM_WEB_JAVA_JUNIT | APPIUM_WEB_JAVA_TESTNG | APPIUM_WEB_PYTHON | CALABASH | INSTRUMENTATION | UIAUTOMATION | UIAUTOMATOR | XCTEST | XCTEST_UI

Required: No

Response Syntax

Copy
{ "compatibleDevices": [ { "compatible": boolean, "device": { "arn": "string", "carrier": "string", "cpu": { "architecture": "string", "clock": number, "frequency": "string" }, "fleetName": "string", "fleetType": "string", "formFactor": "string", "heapSize": number, "image": "string", "manufacturer": "string", "memory": number, "model": "string", "name": "string", "os": "string", "platform": "string", "radio": "string", "remoteAccessEnabled": boolean, "resolution": { "height": number, "width": number } }, "incompatibilityMessages": [ { "message": "string", "type": "string" } ] } ], "incompatibleDevices": [ { "compatible": boolean, "device": { "arn": "string", "carrier": "string", "cpu": { "architecture": "string", "clock": number, "frequency": "string" }, "fleetName": "string", "fleetType": "string", "formFactor": "string", "heapSize": number, "image": "string", "manufacturer": "string", "memory": number, "model": "string", "name": "string", "os": "string", "platform": "string", "radio": "string", "remoteAccessEnabled": boolean, "resolution": { "height": number, "width": number } }, "incompatibilityMessages": [ { "message": "string", "type": "string" } ] } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

compatibleDevices

Information about compatible devices.

Type: Array of DevicePoolCompatibilityResult objects

incompatibleDevices

Information about incompatible devices.

Type: Array of DevicePoolCompatibilityResult objects

Errors

For information about the errors that are common to all actions, see Common Errors.

ArgumentException

An invalid argument was specified.

HTTP Status Code: 400

LimitExceededException

A limit was exceeded.

HTTP Status Code: 400

NotFoundException

The specified entity was not found.

HTTP Status Code: 400

ServiceAccountException

There was a problem with the service account.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: