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 |
Updates the schedule of a crawler using a cron
expression.
- updateCrawlerSchedule :: Text -> UpdateCrawlerSchedule
- data UpdateCrawlerSchedule
- ucsSchedule :: Lens' UpdateCrawlerSchedule (Maybe Text)
- ucsCrawlerName :: Lens' UpdateCrawlerSchedule Text
- updateCrawlerScheduleResponse :: Int -> UpdateCrawlerScheduleResponse
- data UpdateCrawlerScheduleResponse
- ucsrsResponseStatus :: Lens' UpdateCrawlerScheduleResponse Int
Creating a Request
updateCrawlerSchedule Source #
Creates a value of UpdateCrawlerSchedule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucsSchedule
- The updatedcron
expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers . For example, to run something every day at 12:15 UTC, you would specify:cron(15 12 * * ? *)
.ucsCrawlerName
- Name of the crawler whose schedule to update.
data UpdateCrawlerSchedule Source #
See: updateCrawlerSchedule
smart constructor.
Request Lenses
ucsSchedule :: Lens' UpdateCrawlerSchedule (Maybe Text) Source #
The updated cron
expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers . For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *)
.
ucsCrawlerName :: Lens' UpdateCrawlerSchedule Text Source #
Name of the crawler whose schedule to update.
Destructuring the Response
updateCrawlerScheduleResponse Source #
Creates a value of UpdateCrawlerScheduleResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucsrsResponseStatus
- -- | The response status code.
data UpdateCrawlerScheduleResponse Source #
See: updateCrawlerScheduleResponse
smart constructor.
Response Lenses
ucsrsResponseStatus :: Lens' UpdateCrawlerScheduleResponse Int Source #
- - | The response status code.