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 |
Schedules a run.
Synopsis
- data ScheduleRun = ScheduleRun' {}
- newScheduleRun :: Text -> ScheduleRunTest -> ScheduleRun
- scheduleRun_executionConfiguration :: Lens' ScheduleRun (Maybe ExecutionConfiguration)
- scheduleRun_deviceSelectionConfiguration :: Lens' ScheduleRun (Maybe DeviceSelectionConfiguration)
- scheduleRun_appArn :: Lens' ScheduleRun (Maybe Text)
- scheduleRun_name :: Lens' ScheduleRun (Maybe Text)
- scheduleRun_configuration :: Lens' ScheduleRun (Maybe ScheduleRunConfiguration)
- scheduleRun_devicePoolArn :: Lens' ScheduleRun (Maybe Text)
- scheduleRun_projectArn :: Lens' ScheduleRun Text
- scheduleRun_test :: Lens' ScheduleRun ScheduleRunTest
- data ScheduleRunResponse = ScheduleRunResponse' {
- run :: Maybe Run
- httpStatus :: Int
- newScheduleRunResponse :: Int -> ScheduleRunResponse
- scheduleRunResponse_run :: Lens' ScheduleRunResponse (Maybe Run)
- scheduleRunResponse_httpStatus :: Lens' ScheduleRunResponse Int
Creating a Request
data ScheduleRun Source #
Represents a request to the schedule run operation.
See: newScheduleRun
smart constructor.
ScheduleRun' | |
|
Instances
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.
ScheduleRunResponse' | |
|
Instances
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.
scheduleRunResponse_httpStatus :: Lens' ScheduleRunResponse Int Source #
The response's http status code.