| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DeviceFarm.ScheduleRun
Description
Schedules a run.
Synopsis
- data ScheduleRun = ScheduleRun' {}
- newScheduleRun :: Text -> ScheduleRunTest -> ScheduleRun
- scheduleRun_appArn :: Lens' ScheduleRun (Maybe Text)
- scheduleRun_configuration :: Lens' ScheduleRun (Maybe ScheduleRunConfiguration)
- scheduleRun_devicePoolArn :: Lens' ScheduleRun (Maybe Text)
- scheduleRun_deviceSelectionConfiguration :: Lens' ScheduleRun (Maybe DeviceSelectionConfiguration)
- scheduleRun_executionConfiguration :: Lens' ScheduleRun (Maybe ExecutionConfiguration)
- scheduleRun_name :: 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.
Constructors
| ScheduleRun' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ScheduleRunTest | |
| -> ScheduleRun |
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:appArn:ScheduleRun', scheduleRun_appArn - The ARN of an application package to run tests against, created with
CreateUpload. See ListUploads.
$sel:configuration:ScheduleRun', scheduleRun_configuration - Information about the settings for the run to be scheduled.
ScheduleRun, scheduleRun_devicePoolArn - The ARN of the device pool for the run to be scheduled.
$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:executionConfiguration:ScheduleRun', scheduleRun_executionConfiguration - Specifies configuration information about a test run, such as the
execution timeout (in minutes).
ScheduleRun, scheduleRun_name - The name for the run to be scheduled.
$sel:projectArn:ScheduleRun', scheduleRun_projectArn - The ARN of the project for the run to be scheduled.
ScheduleRun, scheduleRun_test - Information about the test for the run to be scheduled.
Request Lenses
scheduleRun_appArn :: Lens' ScheduleRun (Maybe Text) Source #
The ARN of an application package to run tests against, created with CreateUpload. See ListUploads.
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_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_executionConfiguration :: Lens' ScheduleRun (Maybe ExecutionConfiguration) Source #
Specifies configuration information about a test run, such as the execution timeout (in minutes).
scheduleRun_name :: Lens' ScheduleRun (Maybe Text) Source #
The name 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
newScheduleRunResponse Source #
Arguments
| :: Int | |
| -> ScheduleRunResponse |
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:
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.