Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Device = Device' {
- carrier :: Maybe Text
- image :: Maybe Text
- manufacturer :: Maybe Text
- platform :: Maybe DevicePlatform
- modelId :: Maybe Text
- remoteAccessEnabled :: Maybe Bool
- arn :: Maybe Text
- formFactor :: Maybe DeviceFormFactor
- fleetType :: Maybe Text
- resolution :: Maybe Resolution
- availability :: Maybe DeviceAvailability
- memory :: Maybe Integer
- radio :: Maybe Text
- os :: Maybe Text
- name :: Maybe Text
- model :: Maybe Text
- instances :: Maybe [DeviceInstance]
- remoteDebugEnabled :: Maybe Bool
- cpu :: Maybe CPU
- heapSize :: Maybe Integer
- fleetName :: Maybe Text
- newDevice :: Device
- device_carrier :: Lens' Device (Maybe Text)
- device_image :: Lens' Device (Maybe Text)
- device_manufacturer :: Lens' Device (Maybe Text)
- device_platform :: Lens' Device (Maybe DevicePlatform)
- device_modelId :: Lens' Device (Maybe Text)
- device_remoteAccessEnabled :: Lens' Device (Maybe Bool)
- device_arn :: Lens' Device (Maybe Text)
- device_formFactor :: Lens' Device (Maybe DeviceFormFactor)
- device_fleetType :: Lens' Device (Maybe Text)
- device_resolution :: Lens' Device (Maybe Resolution)
- device_availability :: Lens' Device (Maybe DeviceAvailability)
- device_memory :: Lens' Device (Maybe Integer)
- device_radio :: Lens' Device (Maybe Text)
- device_os :: Lens' Device (Maybe Text)
- device_name :: Lens' Device (Maybe Text)
- device_model :: Lens' Device (Maybe Text)
- device_instances :: Lens' Device (Maybe [DeviceInstance])
- device_remoteDebugEnabled :: Lens' Device (Maybe Bool)
- device_cpu :: Lens' Device (Maybe CPU)
- device_heapSize :: Lens' Device (Maybe Integer)
- device_fleetName :: Lens' Device (Maybe Text)
Documentation
Represents a device type that an app is tested against.
See: newDevice
smart constructor.
Device' | |
|
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:
$sel:carrier:Device'
, device_carrier
- The device's carrier.
$sel:image:Device'
, device_image
- The device's image name.
$sel:manufacturer:Device'
, device_manufacturer
- The device's manufacturer name.
$sel:platform:Device'
, device_platform
- The device's platform.
Allowed values include:
- ANDROID
- IOS
$sel:modelId:Device'
, device_modelId
- The device's model ID.
$sel:remoteAccessEnabled:Device'
, device_remoteAccessEnabled
- Specifies whether remote access has been enabled for the specified
device.
$sel:arn:Device'
, device_arn
- The device's ARN.
$sel:formFactor:Device'
, device_formFactor
- The device's form factor.
Allowed values include:
- PHONE
- TABLET
$sel:fleetType:Device'
, device_fleetType
- The type of fleet to which this device belongs. Possible values are
PRIVATE and PUBLIC.
$sel:resolution:Device'
, device_resolution
- The resolution of the device.
$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:memory:Device'
, device_memory
- The device's total memory size, expressed in bytes.
$sel:radio:Device'
, device_radio
- The device's radio.
$sel:os:Device'
, device_os
- The device's operating system type.
$sel:name:Device'
, device_name
- The device's display name.
$sel:model:Device'
, device_model
- The device's model name.
$sel:instances:Device'
, device_instances
- The instances that belong to this 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:cpu:Device'
, device_cpu
- Information about the device's CPU.
$sel:heapSize:Device'
, device_heapSize
- The device's heap size, expressed in bytes.
$sel:fleetName:Device'
, device_fleetName
- The name of the fleet to which this device belongs.
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_formFactor :: Lens' Device (Maybe DeviceFormFactor) Source #
The device's form factor.
Allowed values include:
- PHONE
- TABLET
device_fleetType :: Lens' Device (Maybe Text) Source #
The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.
device_resolution :: Lens' Device (Maybe Resolution) Source #
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_memory :: Lens' Device (Maybe Integer) Source #
The device's total memory size, expressed in bytes.
device_instances :: Lens' Device (Maybe [DeviceInstance]) Source #
The instances that belong to this 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.