| 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.GetCrawlers
Description
Retrieves metadata for all crawlers defined in the customer account.
This operation returns paginated results.
Synopsis
- data GetCrawlers = GetCrawlers' {}
- newGetCrawlers :: GetCrawlers
- getCrawlers_maxResults :: Lens' GetCrawlers (Maybe Natural)
- getCrawlers_nextToken :: Lens' GetCrawlers (Maybe Text)
- data GetCrawlersResponse = GetCrawlersResponse' {}
- newGetCrawlersResponse :: Int -> GetCrawlersResponse
- getCrawlersResponse_crawlers :: Lens' GetCrawlersResponse (Maybe [Crawler])
- getCrawlersResponse_nextToken :: Lens' GetCrawlersResponse (Maybe Text)
- getCrawlersResponse_httpStatus :: Lens' GetCrawlersResponse Int
Creating a Request
data GetCrawlers Source #
See: newGetCrawlers smart constructor.
Constructors
| GetCrawlers' | |
Instances
newGetCrawlers :: GetCrawlers Source #
Create a value of GetCrawlers 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:maxResults:GetCrawlers', getCrawlers_maxResults - The number of crawlers to return on each call.
GetCrawlers, getCrawlers_nextToken - A continuation token, if this is a continuation request.
Request Lenses
getCrawlers_maxResults :: Lens' GetCrawlers (Maybe Natural) Source #
The number of crawlers to return on each call.
getCrawlers_nextToken :: Lens' GetCrawlers (Maybe Text) Source #
A continuation token, if this is a continuation request.
Destructuring the Response
data GetCrawlersResponse Source #
See: newGetCrawlersResponse smart constructor.
Constructors
| GetCrawlersResponse' | |
Instances
newGetCrawlersResponse Source #
Arguments
| :: Int | |
| -> GetCrawlersResponse |
Create a value of GetCrawlersResponse 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:crawlers:GetCrawlersResponse', getCrawlersResponse_crawlers - A list of crawler metadata.
GetCrawlers, getCrawlersResponse_nextToken - A continuation token, if the returned list has not reached the end of
those defined in this customer account.
$sel:httpStatus:GetCrawlersResponse', getCrawlersResponse_httpStatus - The response's http status code.
Response Lenses
getCrawlersResponse_crawlers :: Lens' GetCrawlersResponse (Maybe [Crawler]) Source #
A list of crawler metadata.
getCrawlersResponse_nextToken :: Lens' GetCrawlersResponse (Maybe Text) Source #
A continuation token, if the returned list has not reached the end of those defined in this customer account.
getCrawlersResponse_httpStatus :: Lens' GetCrawlersResponse Int Source #
The response's http status code.