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 |
Starts a crawl using the specified crawler, regardless of what is scheduled. If the crawler is already running, does nothing.
Synopsis
Creating a Request
:: Text | |
-> StartCrawler |
Creates a value of StartCrawler
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scName
- Name of the crawler to start.
data StartCrawler Source #
See: startCrawler
smart constructor.
Instances
Request Lenses
Destructuring the Response
Creates a value of StartCrawlerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scrsResponseStatus
- -- | The response status code.
data StartCrawlerResponse Source #
See: startCrawlerResponse
smart constructor.
Instances
Response Lenses
scrsResponseStatus :: Lens' StartCrawlerResponse Int Source #
- - | The response status code.