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 |
Retrieves metadata for all crawlers defined in the customer account.
This operation returns paginated results.
- getCrawlers :: GetCrawlers
- data GetCrawlers
- gNextToken :: Lens' GetCrawlers (Maybe Text)
- gMaxResults :: Lens' GetCrawlers (Maybe Natural)
- getCrawlersResponse :: Int -> GetCrawlersResponse
- data GetCrawlersResponse
- grsNextToken :: Lens' GetCrawlersResponse (Maybe Text)
- grsCrawlers :: Lens' GetCrawlersResponse [Crawler]
- grsResponseStatus :: Lens' GetCrawlersResponse Int
Creating a Request
getCrawlers :: GetCrawlers Source #
Creates a value of GetCrawlers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gNextToken
- A continuation token, if this is a continuation request.gMaxResults
- The number of crawlers to return on each call.
data GetCrawlers Source #
See: getCrawlers
smart constructor.
Request Lenses
gNextToken :: Lens' GetCrawlers (Maybe Text) Source #
A continuation token, if this is a continuation request.
gMaxResults :: Lens' GetCrawlers (Maybe Natural) Source #
The number of crawlers to return on each call.
Destructuring the Response
Creates a value of GetCrawlersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grsNextToken
- A continuation token, if the returned list has not reached the end of those defined in this customer account.grsCrawlers
- A list of crawler metadata.grsResponseStatus
- -- | The response status code.
data GetCrawlersResponse Source #
See: getCrawlersResponse
smart constructor.
Response Lenses
grsNextToken :: Lens' GetCrawlersResponse (Maybe Text) Source #
A continuation token, if the returned list has not reached the end of those defined in this customer account.
grsCrawlers :: Lens' GetCrawlersResponse [Crawler] Source #
A list of crawler metadata.
grsResponseStatus :: Lens' GetCrawlersResponse Int Source #
- - | The response status code.