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.CPU

Description

 
Synopsis

Documentation

data CPU Source #

Represents the amount of CPU that an app is using on a physical device. Does not represent system-wide CPU usage.

See: newCPU smart constructor.

Constructors

CPU' 

Fields

Instances

Instances details
Eq CPU Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.CPU

Methods

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

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

Read CPU Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.CPU

Show CPU Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.CPU

Methods

showsPrec :: Int -> CPU -> ShowS #

show :: CPU -> String #

showList :: [CPU] -> ShowS #

Generic CPU Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.CPU

Associated Types

type Rep CPU :: Type -> Type #

Methods

from :: CPU -> Rep CPU x #

to :: Rep CPU x -> CPU #

NFData CPU Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.CPU

Methods

rnf :: CPU -> () #

Hashable CPU Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.CPU

Methods

hashWithSalt :: Int -> CPU -> Int #

hash :: CPU -> Int #

FromJSON CPU Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.CPU

type Rep CPU Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.CPU

type Rep CPU = D1 ('MetaData "CPU" "Amazonka.DeviceFarm.Types.CPU" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "CPU'" 'PrefixI 'True) (S1 ('MetaSel ('Just "frequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "architecture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCPU :: CPU Source #

Create a value of CPU 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:frequency:CPU', cpu_frequency - The CPU's frequency.

$sel:clock:CPU', cpu_clock - The clock speed of the device's CPU, expressed in hertz (Hz). For example, a 1.2 GHz CPU is expressed as 1200000000.

$sel:architecture:CPU', cpu_architecture - The CPU's architecture (for example, x86 or ARM).

cpu_frequency :: Lens' CPU (Maybe Text) Source #

The CPU's frequency.

cpu_clock :: Lens' CPU (Maybe Double) Source #

The clock speed of the device's CPU, expressed in hertz (Hz). For example, a 1.2 GHz CPU is expressed as 1200000000.

cpu_architecture :: Lens' CPU (Maybe Text) Source #

The CPU's architecture (for example, x86 or ARM).