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 |
Changes the schedule state of the specified crawler to SCHEDULED
,
unless the crawler is already running or the schedule state is already
SCHEDULED
.
Synopsis
- data StartCrawlerSchedule = StartCrawlerSchedule' {
- crawlerName :: Text
- newStartCrawlerSchedule :: Text -> StartCrawlerSchedule
- startCrawlerSchedule_crawlerName :: Lens' StartCrawlerSchedule Text
- data StartCrawlerScheduleResponse = StartCrawlerScheduleResponse' {
- httpStatus :: Int
- newStartCrawlerScheduleResponse :: Int -> StartCrawlerScheduleResponse
- startCrawlerScheduleResponse_httpStatus :: Lens' StartCrawlerScheduleResponse Int
Creating a Request
data StartCrawlerSchedule Source #
See: newStartCrawlerSchedule
smart constructor.
StartCrawlerSchedule' | |
|
Instances
newStartCrawlerSchedule Source #
Create a value of StartCrawlerSchedule
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:crawlerName:StartCrawlerSchedule'
, startCrawlerSchedule_crawlerName
- Name of the crawler to schedule.
Request Lenses
startCrawlerSchedule_crawlerName :: Lens' StartCrawlerSchedule Text Source #
Name of the crawler to schedule.
Destructuring the Response
data StartCrawlerScheduleResponse Source #
See: newStartCrawlerScheduleResponse
smart constructor.
StartCrawlerScheduleResponse' | |
|
Instances
newStartCrawlerScheduleResponse Source #
Create a value of StartCrawlerScheduleResponse
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:httpStatus:StartCrawlerScheduleResponse'
, startCrawlerScheduleResponse_httpStatus
- The response's http status code.
Response Lenses
startCrawlerScheduleResponse_httpStatus :: Lens' StartCrawlerScheduleResponse Int Source #
The response's http status code.