| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DeviceFarm.Types.Device
Description
Synopsis
- data Device = Device' {
- arn :: Maybe Text
- availability :: Maybe DeviceAvailability
- carrier :: Maybe Text
- cpu :: Maybe CPU
- fleetName :: Maybe Text
- fleetType :: Maybe Text
- formFactor :: Maybe DeviceFormFactor
- heapSize :: Maybe Integer
- image :: Maybe Text
- instances :: Maybe [DeviceInstance]
- manufacturer :: Maybe Text
- memory :: Maybe Integer
- model :: Maybe Text
- modelId :: Maybe Text
- name :: Maybe Text
- os :: Maybe Text
- platform :: Maybe DevicePlatform
- radio :: Maybe Text
- remoteAccessEnabled :: Maybe Bool
- remoteDebugEnabled :: Maybe Bool
- resolution :: Maybe Resolution
- newDevice :: Device
- device_arn :: Lens' Device (Maybe Text)
- device_availability :: Lens' Device (Maybe DeviceAvailability)
- device_carrier :: Lens' Device (Maybe Text)
- device_cpu :: Lens' Device (Maybe CPU)
- device_fleetName :: Lens' Device (Maybe Text)
- device_fleetType :: Lens' Device (Maybe Text)
- device_formFactor :: Lens' Device (Maybe DeviceFormFactor)
- device_heapSize :: Lens' Device (Maybe Integer)
- device_image :: Lens' Device (Maybe Text)
- device_instances :: Lens' Device (Maybe [DeviceInstance])
- device_manufacturer :: Lens' Device (Maybe Text)
- device_memory :: Lens' Device (Maybe Integer)
- device_model :: Lens' Device (Maybe Text)
- device_modelId :: Lens' Device (Maybe Text)
- device_name :: Lens' Device (Maybe Text)
- device_os :: Lens' Device (Maybe Text)
- device_platform :: Lens' Device (Maybe DevicePlatform)
- device_radio :: Lens' Device (Maybe Text)
- device_remoteAccessEnabled :: Lens' Device (Maybe Bool)
- device_remoteDebugEnabled :: Lens' Device (Maybe Bool)
- device_resolution :: Lens' Device (Maybe Resolution)
Documentation
Represents a device type that an app is tested against.
See: newDevice smart constructor.
Constructors
| Device' | |
Fields
| |
Instances
Create a value of Device with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
Device, device_arn - The device's ARN.
$sel:availability:Device', device_availability - Indicates how likely a device is available for a test run. Currently
available in the ListDevices and GetDevice API methods.
$sel:carrier:Device', device_carrier - The device's carrier.
$sel:cpu:Device', device_cpu - Information about the device's CPU.
$sel:fleetName:Device', device_fleetName - The name of the fleet to which this device belongs.
$sel:fleetType:Device', device_fleetType - The type of fleet to which this device belongs. Possible values are
PRIVATE and PUBLIC.
$sel:formFactor:Device', device_formFactor - The device's form factor.
Allowed values include:
- PHONE
- TABLET
$sel:heapSize:Device', device_heapSize - The device's heap size, expressed in bytes.
$sel:image:Device', device_image - The device's image name.
$sel:instances:Device', device_instances - The instances that belong to this device.
$sel:manufacturer:Device', device_manufacturer - The device's manufacturer name.
$sel:memory:Device', device_memory - The device's total memory size, expressed in bytes.
$sel:model:Device', device_model - The device's model name.
$sel:modelId:Device', device_modelId - The device's model ID.
$sel:name:Device', device_name - The device's display name.
$sel:os:Device', device_os - The device's operating system type.
$sel:platform:Device', device_platform - The device's platform.
Allowed values include:
- ANDROID
- IOS
$sel:radio:Device', device_radio - The device's radio.
$sel:remoteAccessEnabled:Device', device_remoteAccessEnabled - Specifies whether remote access has been enabled for the specified
device.
$sel:remoteDebugEnabled:Device', device_remoteDebugEnabled - This flag is set to true if remote debugging is enabled for the
device.
Remote debugging is no longer supported.
$sel:resolution:Device', device_resolution - The resolution of the device.
device_availability :: Lens' Device (Maybe DeviceAvailability) Source #
Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.
device_fleetName :: Lens' Device (Maybe Text) Source #
The name of the fleet to which this device belongs.
device_fleetType :: Lens' Device (Maybe Text) Source #
The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.
device_formFactor :: Lens' Device (Maybe DeviceFormFactor) Source #
The device's form factor.
Allowed values include:
- PHONE
- TABLET
device_instances :: Lens' Device (Maybe [DeviceInstance]) Source #
The instances that belong to this device.
device_memory :: Lens' Device (Maybe Integer) Source #
The device's total memory size, expressed in bytes.
device_platform :: Lens' Device (Maybe DevicePlatform) Source #
The device's platform.
Allowed values include:
- ANDROID
- IOS
device_remoteAccessEnabled :: Lens' Device (Maybe Bool) Source #
Specifies whether remote access has been enabled for the specified device.
device_remoteDebugEnabled :: Lens' Device (Maybe Bool) Source #
This flag is set to true if remote debugging is enabled for the
device.
Remote debugging is no longer supported.
device_resolution :: Lens' Device (Maybe Resolution) Source #
The resolution of the device.