| 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.StopCrawler
Description
If the specified crawler is running, stops the crawl.
Synopsis
Creating a Request
data StopCrawler Source #
See: newStopCrawler smart constructor.
Constructors
| StopCrawler' | |
Instances
Arguments
| :: Text | |
| -> StopCrawler |
Create a value of StopCrawler 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:
StopCrawler, stopCrawler_name - Name of the crawler to stop.
Request Lenses
stopCrawler_name :: Lens' StopCrawler Text Source #
Name of the crawler to stop.
Destructuring the Response
data StopCrawlerResponse Source #
See: newStopCrawlerResponse smart constructor.
Constructors
| StopCrawlerResponse' | |
Fields
| |
Instances
newStopCrawlerResponse Source #
Arguments
| :: Int | |
| -> StopCrawlerResponse |
Create a value of StopCrawlerResponse 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:StopCrawlerResponse', stopCrawlerResponse_httpStatus - The response's http status code.
Response Lenses
stopCrawlerResponse_httpStatus :: Lens' StopCrawlerResponse Int Source #
The response's http status code.