| 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.GetCrawler
Description
Retrieves metadata for a specified crawler.
Synopsis
- data GetCrawler = GetCrawler' {}
- newGetCrawler :: Text -> GetCrawler
- getCrawler_name :: Lens' GetCrawler Text
- data GetCrawlerResponse = GetCrawlerResponse' {
- crawler :: Maybe Crawler
- httpStatus :: Int
- newGetCrawlerResponse :: Int -> GetCrawlerResponse
- getCrawlerResponse_crawler :: Lens' GetCrawlerResponse (Maybe Crawler)
- getCrawlerResponse_httpStatus :: Lens' GetCrawlerResponse Int
Creating a Request
data GetCrawler Source #
See: newGetCrawler smart constructor.
Constructors
| GetCrawler' | |
Instances
Arguments
| :: Text | |
| -> GetCrawler |
Create a value of GetCrawler 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:
GetCrawler, getCrawler_name - The name of the crawler to retrieve metadata for.
Request Lenses
getCrawler_name :: Lens' GetCrawler Text Source #
The name of the crawler to retrieve metadata for.
Destructuring the Response
data GetCrawlerResponse Source #
See: newGetCrawlerResponse smart constructor.
Constructors
| GetCrawlerResponse' | |
Fields
| |
Instances
newGetCrawlerResponse Source #
Arguments
| :: Int | |
| -> GetCrawlerResponse |
Create a value of GetCrawlerResponse 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:crawler:GetCrawlerResponse', getCrawlerResponse_crawler - The metadata for the specified crawler.
$sel:httpStatus:GetCrawlerResponse', getCrawlerResponse_httpStatus - The response's http status code.
Response Lenses
getCrawlerResponse_crawler :: Lens' GetCrawlerResponse (Maybe Crawler) Source #
The metadata for the specified crawler.
getCrawlerResponse_httpStatus :: Lens' GetCrawlerResponse Int Source #
The response's http status code.