Skip to content

Device

Source code in docs_src/capo_device_farm/types/device.py
class Device(TypedDict, closed=True):
    arn: NotRequired["capo_device_farm.types.amazon_resource_name.AmazonResourceName"]
    """<p>The device's ARN.</p>"""
    name: NotRequired["capo_device_farm.types.name.Name"]
    """<p>The device's display name.</p>"""
    manufacturer: NotRequired["capo_device_farm.types.string.String"]
    """<p>The device's manufacturer name.</p>"""
    model: NotRequired["capo_device_farm.types.string.String"]
    """<p>The device's model name.</p>"""
    model_id: NotRequired["capo_device_farm.types.string.String"]
    """<p>The device's model ID.</p>"""
    form_factor: NotRequired[
        "capo_device_farm.types.device_form_factor.DeviceFormFactor"
    ]
    """<p>The device's form factor.</p> <p>Allowed values include:</p> <ul> <li> <p>PHONE</p> </li> <li> <p>TABLET</p> </li> </ul>"""
    platform: NotRequired["capo_device_farm.types.device_platform.DevicePlatform"]
    """<p>The device's platform.</p> <p>Allowed values include:</p> <ul> <li> <p>ANDROID</p> </li> <li> <p>IOS</p> </li> </ul>"""
    os: NotRequired["capo_device_farm.types.string.String"]
    """<p>The device's operating system type.</p>"""
    cpu: NotRequired["capo_device_farm.types.cpu.CPU"]
    """<p>Information about the device's CPU.</p>"""
    resolution: NotRequired["capo_device_farm.types.resolution.Resolution"]
    """<p>The resolution of the device.</p>"""
    heap_size: NotRequired["capo_device_farm.types.long.Long"]
    """<p>The device's heap size, expressed in bytes.</p>"""
    memory: NotRequired["capo_device_farm.types.long.Long"]
    """<p>The device's total memory size, expressed in bytes.</p>"""
    image: NotRequired["capo_device_farm.types.string.String"]
    """<p>The device's image name.</p>"""
    carrier: NotRequired["capo_device_farm.types.string.String"]
    """<p>The device's carrier.</p>"""
    radio: NotRequired["capo_device_farm.types.string.String"]
    """<p>The device's radio.</p>"""
    remote_access_enabled: NotRequired["capo_device_farm.types.boolean.Boolean"]
    """<p>Specifies whether remote access has been enabled for the specified device.</p>"""
    remote_debug_enabled: NotRequired["capo_device_farm.types.boolean.Boolean"]
    """<p>This flag is set to <code>true</code> if remote debugging is enabled for the device.</p> <p>Remote debugging is <a href="https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html">no longer supported</a>.</p>"""
    fleet_type: NotRequired["capo_device_farm.types.string.String"]
    """<p>The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.</p>"""
    fleet_name: NotRequired["capo_device_farm.types.string.String"]
    """<p>The name of the fleet to which this device belongs.</p>"""
    instances: NotRequired["capo_device_farm.types.device_instances.DeviceInstances"]
    """<p>The instances that belong to this device.</p>"""
    availability: NotRequired[
        "capo_device_farm.types.device_availability.DeviceAvailability"
    ]
    """<p>Indicates how likely a device is available for a test run. Currently available in the <a>ListDevices</a> and GetDevice API methods.</p>"""

arn instance-attribute

arn: NotRequired[AmazonResourceName]

The device's ARN.

availability instance-attribute

availability: NotRequired[DeviceAvailability]

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

carrier instance-attribute

carrier: NotRequired[String]

The device's carrier.

cpu instance-attribute

cpu: NotRequired[CPU]

Information about the device's CPU.

fleet_name instance-attribute

fleet_name: NotRequired[String]

The name of the fleet to which this device belongs.

fleet_type instance-attribute

fleet_type: NotRequired[String]

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

form_factor instance-attribute

form_factor: NotRequired[DeviceFormFactor]

The device's form factor.

Allowed values include:

  • PHONE

  • TABLET

heap_size instance-attribute

heap_size: NotRequired[Long]

The device's heap size, expressed in bytes.

image instance-attribute

image: NotRequired[String]

The device's image name.

instances instance-attribute

instances: NotRequired[DeviceInstances]

The instances that belong to this device.

manufacturer instance-attribute

manufacturer: NotRequired[String]

The device's manufacturer name.

memory instance-attribute

memory: NotRequired[Long]

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

model instance-attribute

model: NotRequired[String]

The device's model name.

model_id instance-attribute

model_id: NotRequired[String]

The device's model ID.

name instance-attribute

name: NotRequired[Name]

The device's display name.

os instance-attribute

os: NotRequired[String]

The device's operating system type.

platform instance-attribute

platform: NotRequired[DevicePlatform]

The device's platform.

Allowed values include:

  • ANDROID

  • IOS

radio instance-attribute

radio: NotRequired[String]

The device's radio.

remote_access_enabled instance-attribute

remote_access_enabled: NotRequired[Boolean]

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

remote_debug_enabled instance-attribute

remote_debug_enabled: NotRequired[Boolean]

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

Remote debugging is no longer supported.

resolution instance-attribute

resolution: NotRequired[Resolution]

The resolution of the device.