| 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.StartCrawler
Description
Starts a crawl using the specified crawler, regardless of what is scheduled. If the crawler is already running, returns a CrawlerRunningException.
Synopsis
- data StartCrawler = StartCrawler' {}
- newStartCrawler :: Text -> StartCrawler
- startCrawler_name :: Lens' StartCrawler Text
- data StartCrawlerResponse = StartCrawlerResponse' {
- httpStatus :: Int
- newStartCrawlerResponse :: Int -> StartCrawlerResponse
- startCrawlerResponse_httpStatus :: Lens' StartCrawlerResponse Int
Creating a Request
data StartCrawler Source #
See: newStartCrawler smart constructor.
Constructors
| StartCrawler' | |
Instances
Arguments
| :: Text | |
| -> StartCrawler |
Create a value of StartCrawler 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:
StartCrawler, startCrawler_name - Name of the crawler to start.
Request Lenses
startCrawler_name :: Lens' StartCrawler Text Source #
Name of the crawler to start.
Destructuring the Response
data StartCrawlerResponse Source #
See: newStartCrawlerResponse smart constructor.
Constructors
| StartCrawlerResponse' | |
Fields
| |
Instances
newStartCrawlerResponse Source #
Arguments
| :: Int | |
| -> StartCrawlerResponse |
Create a value of StartCrawlerResponse 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:StartCrawlerResponse', startCrawlerResponse_httpStatus - The response's http status code.
Response Lenses
startCrawlerResponse_httpStatus :: Lens' StartCrawlerResponse Int Source #
The response's http status code.