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

Description

Schedules a run.

Synopsis

Creating a Request

data ScheduleRun Source #

Represents a request to the schedule run operation.

See: newScheduleRun smart constructor.

Constructors

ScheduleRun' 

Fields

Instances

Instances details
Eq ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

Read ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

Show ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

Generic ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

Associated Types

type Rep ScheduleRun :: Type -> Type #

NFData ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

Methods

rnf :: ScheduleRun -> () #

Hashable ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

ToJSON ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

AWSRequest ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

Associated Types

type AWSResponse ScheduleRun #

ToHeaders ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

Methods

toHeaders :: ScheduleRun -> [Header] #

ToPath ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

ToQuery ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

type Rep ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

type AWSResponse ScheduleRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

newScheduleRun Source #

Create a value of ScheduleRun 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:executionConfiguration:ScheduleRun', scheduleRun_executionConfiguration - Specifies configuration information about a test run, such as the execution timeout (in minutes).

$sel:deviceSelectionConfiguration:ScheduleRun', scheduleRun_deviceSelectionConfiguration - The filter criteria used to dynamically select a set of devices for a test run and the maximum number of devices to be included in the run.

Either devicePoolArn or deviceSelectionConfiguration is required in a request.

$sel:appArn:ScheduleRun', scheduleRun_appArn - The ARN of an application package to run tests against, created with CreateUpload. See ListUploads.

$sel:name:ScheduleRun', scheduleRun_name - The name for the run to be scheduled.

$sel:configuration:ScheduleRun', scheduleRun_configuration - Information about the settings for the run to be scheduled.

$sel:devicePoolArn:ScheduleRun', scheduleRun_devicePoolArn - The ARN of the device pool for the run to be scheduled.

$sel:projectArn:ScheduleRun', scheduleRun_projectArn - The ARN of the project for the run to be scheduled.

$sel:test:ScheduleRun', scheduleRun_test - Information about the test for the run to be scheduled.

Request Lenses

scheduleRun_executionConfiguration :: Lens' ScheduleRun (Maybe ExecutionConfiguration) Source #

Specifies configuration information about a test run, such as the execution timeout (in minutes).

scheduleRun_deviceSelectionConfiguration :: Lens' ScheduleRun (Maybe DeviceSelectionConfiguration) Source #

The filter criteria used to dynamically select a set of devices for a test run and the maximum number of devices to be included in the run.

Either devicePoolArn or deviceSelectionConfiguration is required in a request.

scheduleRun_appArn :: Lens' ScheduleRun (Maybe Text) Source #

The ARN of an application package to run tests against, created with CreateUpload. See ListUploads.

scheduleRun_name :: Lens' ScheduleRun (Maybe Text) Source #

The name for the run to be scheduled.

scheduleRun_configuration :: Lens' ScheduleRun (Maybe ScheduleRunConfiguration) Source #

Information about the settings for the run to be scheduled.

scheduleRun_devicePoolArn :: Lens' ScheduleRun (Maybe Text) Source #

The ARN of the device pool for the run to be scheduled.

scheduleRun_projectArn :: Lens' ScheduleRun Text Source #

The ARN of the project for the run to be scheduled.

scheduleRun_test :: Lens' ScheduleRun ScheduleRunTest Source #

Information about the test for the run to be scheduled.

Destructuring the Response

data ScheduleRunResponse Source #

Represents the result of a schedule run request.

See: newScheduleRunResponse smart constructor.

Constructors

ScheduleRunResponse' 

Fields

Instances

Instances details
Eq ScheduleRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

Read ScheduleRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

Show ScheduleRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

Generic ScheduleRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

Associated Types

type Rep ScheduleRunResponse :: Type -> Type #

NFData ScheduleRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

Methods

rnf :: ScheduleRunResponse -> () #

type Rep ScheduleRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ScheduleRun

type Rep ScheduleRunResponse = D1 ('MetaData "ScheduleRunResponse" "Amazonka.DeviceFarm.ScheduleRun" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "ScheduleRunResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "run") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Run)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newScheduleRunResponse Source #

Create a value of ScheduleRunResponse 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:run:ScheduleRunResponse', scheduleRunResponse_run - Information about the scheduled run.

$sel:httpStatus:ScheduleRunResponse', scheduleRunResponse_httpStatus - The response's http status code.

Response Lenses

scheduleRunResponse_run :: Lens' ScheduleRunResponse (Maybe Run) Source #

Information about the scheduled run.