Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Schedules a run.
- scheduleRun :: Text -> Text -> ScheduleRunTest -> ScheduleRun
- data ScheduleRun
- srExecutionConfiguration :: Lens' ScheduleRun (Maybe ExecutionConfiguration)
- srAppARN :: Lens' ScheduleRun (Maybe Text)
- srName :: Lens' ScheduleRun (Maybe Text)
- srConfiguration :: Lens' ScheduleRun (Maybe ScheduleRunConfiguration)
- srProjectARN :: Lens' ScheduleRun Text
- srDevicePoolARN :: Lens' ScheduleRun Text
- srTest :: Lens' ScheduleRun ScheduleRunTest
- scheduleRunResponse :: Int -> ScheduleRunResponse
- data ScheduleRunResponse
- srrsRun :: Lens' ScheduleRunResponse (Maybe Run)
- srrsResponseStatus :: Lens' ScheduleRunResponse Int
Creating a Request
Creates a value of ScheduleRun
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srExecutionConfiguration
- Specifies configuration information about a test run, such as the execution timeout (in minutes).srAppARN
- The ARN of the app to schedule a run.srName
- The name for the run to be scheduled.srConfiguration
- Information about the settings for the run to be scheduled.srProjectARN
- The ARN of the project for the run to be scheduled.srDevicePoolARN
- The ARN of the device pool for the run to be scheduled.srTest
- Information about the test for the run to be scheduled.
data ScheduleRun Source #
Represents a request to the schedule run operation.
See: scheduleRun
smart constructor.
Request Lenses
srExecutionConfiguration :: Lens' ScheduleRun (Maybe ExecutionConfiguration) Source #
Specifies configuration information about a test run, such as the execution timeout (in minutes).
srConfiguration :: Lens' ScheduleRun (Maybe ScheduleRunConfiguration) Source #
Information about the settings for the run to be scheduled.
srProjectARN :: Lens' ScheduleRun Text Source #
The ARN of the project for the run to be scheduled.
srDevicePoolARN :: Lens' ScheduleRun Text Source #
The ARN of the device pool for the run to be scheduled.
srTest :: Lens' ScheduleRun ScheduleRunTest Source #
Information about the test for the run to be scheduled.
Destructuring the Response
Creates a value of ScheduleRunResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srrsRun
- Information about the scheduled run.srrsResponseStatus
- -- | The response status code.
data ScheduleRunResponse Source #
Represents the result of a schedule run request.
See: scheduleRunResponse
smart constructor.
Response Lenses
srrsResponseStatus :: Lens' ScheduleRunResponse Int Source #
- - | The response status code.