Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
If the specified crawler is running, stops the crawl.
Synopsis
Creating a Request
:: Text | |
-> StopCrawler |
Creates a value of StopCrawler
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sName
- Name of the crawler to stop.
data StopCrawler Source #
See: stopCrawler
smart constructor.
Instances
Request Lenses
Destructuring the Response
Creates a value of StopCrawlerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srsResponseStatus
- -- | The response status code.
data StopCrawlerResponse Source #
See: stopCrawlerResponse
smart constructor.
Instances
Response Lenses
srsResponseStatus :: Lens' StopCrawlerResponse Int Source #
- - | The response status code.