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

Description

 
Synopsis

Documentation

data DeviceSelectionResult Source #

Contains the run results requested by the device selection configuration and how many devices were returned. For an example of the JSON response syntax, see ScheduleRun.

See: newDeviceSelectionResult smart constructor.

Constructors

DeviceSelectionResult' 

Fields

Instances

Instances details
Eq DeviceSelectionResult Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.DeviceSelectionResult

Read DeviceSelectionResult Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.DeviceSelectionResult

Show DeviceSelectionResult Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.DeviceSelectionResult

Generic DeviceSelectionResult Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.DeviceSelectionResult

Associated Types

type Rep DeviceSelectionResult :: Type -> Type #

NFData DeviceSelectionResult Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.DeviceSelectionResult

Methods

rnf :: DeviceSelectionResult -> () #

Hashable DeviceSelectionResult Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.DeviceSelectionResult

FromJSON DeviceSelectionResult Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.DeviceSelectionResult

type Rep DeviceSelectionResult Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.DeviceSelectionResult

type Rep DeviceSelectionResult = D1 ('MetaData "DeviceSelectionResult" "Amazonka.DeviceFarm.Types.DeviceSelectionResult" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "DeviceSelectionResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "matchedDevicesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DeviceFilter])) :*: S1 ('MetaSel ('Just "maxDevices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newDeviceSelectionResult :: DeviceSelectionResult Source #

Create a value of DeviceSelectionResult 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:matchedDevicesCount:DeviceSelectionResult', deviceSelectionResult_matchedDevicesCount - The number of devices that matched the device filter selection criteria.

$sel:filters:DeviceSelectionResult', deviceSelectionResult_filters - The filters in a device selection result.

$sel:maxDevices:DeviceSelectionResult', deviceSelectionResult_maxDevices - The maximum number of devices to be selected by a device filter and included in a test run.

deviceSelectionResult_matchedDevicesCount :: Lens' DeviceSelectionResult (Maybe Int) Source #

The number of devices that matched the device filter selection criteria.

deviceSelectionResult_filters :: Lens' DeviceSelectionResult (Maybe [DeviceFilter]) Source #

The filters in a device selection result.

deviceSelectionResult_maxDevices :: Lens' DeviceSelectionResult (Maybe Int) Source #

The maximum number of devices to be selected by a device filter and included in a test run.