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 |
Returns a list of resource metadata for a given list of crawler names.
After calling the ListCrawlers
operation, you can call this operation
to access the data to which you have been granted permissions. This
operation supports all IAM permissions, including permission conditions
that uses tags.
Synopsis
- data BatchGetCrawlers = BatchGetCrawlers' {
- crawlerNames :: [Text]
- newBatchGetCrawlers :: BatchGetCrawlers
- batchGetCrawlers_crawlerNames :: Lens' BatchGetCrawlers [Text]
- data BatchGetCrawlersResponse = BatchGetCrawlersResponse' {
- crawlersNotFound :: Maybe [Text]
- crawlers :: Maybe [Crawler]
- httpStatus :: Int
- newBatchGetCrawlersResponse :: Int -> BatchGetCrawlersResponse
- batchGetCrawlersResponse_crawlersNotFound :: Lens' BatchGetCrawlersResponse (Maybe [Text])
- batchGetCrawlersResponse_crawlers :: Lens' BatchGetCrawlersResponse (Maybe [Crawler])
- batchGetCrawlersResponse_httpStatus :: Lens' BatchGetCrawlersResponse Int
Creating a Request
data BatchGetCrawlers Source #
See: newBatchGetCrawlers
smart constructor.
BatchGetCrawlers' | |
|
Instances
newBatchGetCrawlers :: BatchGetCrawlers Source #
Create a value of BatchGetCrawlers
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:crawlerNames:BatchGetCrawlers'
, batchGetCrawlers_crawlerNames
- A list of crawler names, which might be the names returned from the
ListCrawlers
operation.
Request Lenses
batchGetCrawlers_crawlerNames :: Lens' BatchGetCrawlers [Text] Source #
A list of crawler names, which might be the names returned from the
ListCrawlers
operation.
Destructuring the Response
data BatchGetCrawlersResponse Source #
See: newBatchGetCrawlersResponse
smart constructor.
BatchGetCrawlersResponse' | |
|
Instances
newBatchGetCrawlersResponse Source #
Create a value of BatchGetCrawlersResponse
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:crawlersNotFound:BatchGetCrawlersResponse'
, batchGetCrawlersResponse_crawlersNotFound
- A list of names of crawlers that were not found.
$sel:crawlers:BatchGetCrawlersResponse'
, batchGetCrawlersResponse_crawlers
- A list of crawler definitions.
$sel:httpStatus:BatchGetCrawlersResponse'
, batchGetCrawlersResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetCrawlersResponse_crawlersNotFound :: Lens' BatchGetCrawlersResponse (Maybe [Text]) Source #
A list of names of crawlers that were not found.
batchGetCrawlersResponse_crawlers :: Lens' BatchGetCrawlersResponse (Maybe [Crawler]) Source #
A list of crawler definitions.
batchGetCrawlersResponse_httpStatus :: Lens' BatchGetCrawlersResponse Int Source #
The response's http status code.