| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.StopCrawlerSchedule
Description
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.
Constructors
| StopCrawlerSchedule' | |
Fields
| |
Instances
newStopCrawlerSchedule Source #
Arguments
| :: Text | |
| -> StopCrawlerSchedule |
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:
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.
Constructors
| StopCrawlerScheduleResponse' | |
Fields
| |
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.