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