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 |
If the specified crawler is running, stops the crawl.
Synopsis
Creating a Request
data StopCrawler Source #
See: newStopCrawler
smart constructor.
Instances
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:
$sel:name: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.
StopCrawlerResponse' | |
|
Instances
newStopCrawlerResponse Source #
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.