Device - AWS Device Farm Documentation

Device

Represents a device type that an app is tested against.

Contents

arn

The device's ARN.

Type: String

Length Constraints: Minimum length of 32. Maximum length of 1011.

Pattern: ^arn:.+

Required: No

availability

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

Type: String

Valid Values: TEMPORARY_NOT_AVAILABLE | BUSY | AVAILABLE | HIGHLY_AVAILABLE

Required: No

carrier

The device's carrier.

Type: String

Required: No

cpu

Information about the device's CPU.

Type: CPU object

Required: No

fleetName

The name of the fleet to which this device belongs.

Type: String

Required: No

fleetType

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

Type: String

Required: No

formFactor

The device's form factor.

Allowed values include:

  • PHONE

  • TABLET

Type: String

Valid Values: PHONE | TABLET

Required: No

heapSize

The device's heap size, expressed in bytes.

Type: Long

Required: No

image

The device's image name.

Type: String

Required: No

instances

The instances that belong to this device.

Type: Array of DeviceInstance objects

Required: No

manufacturer

The device's manufacturer name.

Type: String

Required: No

memory

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

Type: Long

Required: No

model

The device's model name.

Type: String

Required: No

modelId

The device's model ID.

Type: String

Required: No

name

The device's display name.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Required: No

os

The device's operating system type.

Type: String

Required: No

platform

The device's platform.

Allowed values include:

  • ANDROID

  • IOS

Type: String

Valid Values: ANDROID | IOS

Required: No

radio

The device's radio.

Type: String

Required: No

remoteAccessEnabled

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

Type: Boolean

Required: No

remoteDebugEnabled

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

Remote debugging is no longer supported.

Type: Boolean

Required: No

resolution

The resolution of the device.

Type: Resolution object

Required: No

See Also

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