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 |
Sets the schedule state of the specified crawler to NOT_SCHEDULED
, but
does not stop the crawler if it is already running.
Synopsis
- data StopCrawlerSchedule = StopCrawlerSchedule' {
- crawlerName :: Text
- newStopCrawlerSchedule :: Text -> StopCrawlerSchedule
- stopCrawlerSchedule_crawlerName :: Lens' StopCrawlerSchedule Text
- data StopCrawlerScheduleResponse = StopCrawlerScheduleResponse' {
- httpStatus :: Int
- newStopCrawlerScheduleResponse :: Int -> StopCrawlerScheduleResponse
- stopCrawlerScheduleResponse_httpStatus :: Lens' StopCrawlerScheduleResponse Int
Creating a Request
data StopCrawlerSchedule Source #
See: newStopCrawlerSchedule
smart constructor.
StopCrawlerSchedule' | |
|
Instances
newStopCrawlerSchedule Source #
Create a value of StopCrawlerSchedule
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:StopCrawlerSchedule'
, stopCrawlerSchedule_crawlerName
- Name of the crawler whose schedule state to set.
Request Lenses
stopCrawlerSchedule_crawlerName :: Lens' StopCrawlerSchedule Text Source #
Name of the crawler whose schedule state to set.
Destructuring the Response
data StopCrawlerScheduleResponse Source #
See: newStopCrawlerScheduleResponse
smart constructor.
StopCrawlerScheduleResponse' | |
|
Instances
newStopCrawlerScheduleResponse Source #
Create a value of StopCrawlerScheduleResponse
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:StopCrawlerScheduleResponse'
, stopCrawlerScheduleResponse_httpStatus
- The response's http status code.
Response Lenses
stopCrawlerScheduleResponse_httpStatus :: Lens' StopCrawlerScheduleResponse Int Source #
The response's http status code.