libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DeviceFarm.Types.Device

Description

 
Synopsis

Documentation

data Device Source #

Represents a device type that an app is tested against.

See: newDevice smart constructor.

Constructors

Device' 

Fields

Instances

Instances details
Eq Device Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Device

Methods

(==) :: Device -> Device -> Bool #

(/=) :: Device -> Device -> Bool #

Read Device Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Device

Show Device Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Device

Generic Device Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Device

Associated Types

type Rep Device :: Type -> Type #

Methods

from :: Device -> Rep Device x #

to :: Rep Device x -> Device #

NFData Device Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Device

Methods

rnf :: Device -> () #

Hashable Device Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Device

Methods

hashWithSalt :: Int -> Device -> Int #

hash :: Device -> Int #

FromJSON Device Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Device

type Rep Device Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Device

type Rep Device = D1 ('MetaData "Device" "Amazonka.DeviceFarm.Types.Device" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "Device'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "carrier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "image") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "manufacturer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DevicePlatform)) :*: S1 ('MetaSel ('Just "modelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "remoteAccessEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "formFactor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeviceFormFactor)) :*: (S1 ('MetaSel ('Just "fleetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resolution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Resolution)))))) :*: (((S1 ('MetaSel ('Just "availability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeviceAvailability)) :*: S1 ('MetaSel ('Just "memory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "radio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "os") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "model") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DeviceInstance])) :*: S1 ('MetaSel ('Just "remoteDebugEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "cpu") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CPU)) :*: (S1 ('MetaSel ('Just "heapSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "fleetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newDevice :: Device Source #

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_carrier :: Lens' Device (Maybe Text) Source #

The device's carrier.

device_image :: Lens' Device (Maybe Text) Source #

The device's image name.

device_manufacturer :: Lens' Device (Maybe Text) Source #

The device's manufacturer name.

device_platform :: Lens' Device (Maybe DevicePlatform) Source #

The device's platform.

Allowed values include:

  • ANDROID
  • IOS

device_modelId :: Lens' Device (Maybe Text) Source #

The device's model ID.

device_remoteAccessEnabled :: Lens' Device (Maybe Bool) Source #

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

device_arn :: Lens' Device (Maybe Text) Source #

The device's ARN.

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_radio :: Lens' Device (Maybe Text) Source #

The device's radio.

device_os :: Lens' Device (Maybe Text) Source #

The device's operating system type.

device_name :: Lens' Device (Maybe Text) Source #

The device's display name.

device_model :: Lens' Device (Maybe Text) Source #

The device's model name.

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.

device_cpu :: Lens' Device (Maybe CPU) Source #

Information about the device's CPU.

device_heapSize :: Lens' Device (Maybe Integer) Source #

The device's heap size, expressed in bytes.

device_fleetName :: Lens' Device (Maybe Text) Source #

The name of the fleet to which this device belongs.