Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Schedules a run.
See: AWS API Reference for ScheduleRun.
- scheduleRun :: Text -> Text -> Text -> ScheduleRunTest -> ScheduleRun
- data ScheduleRun
- srName :: Lens' ScheduleRun (Maybe Text)
- srConfiguration :: Lens' ScheduleRun (Maybe ScheduleRunConfiguration)
- srProjectARN :: Lens' ScheduleRun Text
- srAppARN :: 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:
data ScheduleRun Source
Represents a request to the schedule run operation.
See: scheduleRun
smart constructor.
Request Lenses
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.
srAppARN :: Lens' ScheduleRun Text Source
The ARN of the app to schedule a run.
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:
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.