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 metrics about specified crawlers.
This operation returns paginated results.
Synopsis
- getCrawlerMetrics :: GetCrawlerMetrics
- data GetCrawlerMetrics
- gcmNextToken :: Lens' GetCrawlerMetrics (Maybe Text)
- gcmMaxResults :: Lens' GetCrawlerMetrics (Maybe Natural)
- gcmCrawlerNameList :: Lens' GetCrawlerMetrics [Text]
- getCrawlerMetricsResponse :: Int -> GetCrawlerMetricsResponse
- data GetCrawlerMetricsResponse
- gcmrsCrawlerMetricsList :: Lens' GetCrawlerMetricsResponse [CrawlerMetrics]
- gcmrsNextToken :: Lens' GetCrawlerMetricsResponse (Maybe Text)
- gcmrsResponseStatus :: Lens' GetCrawlerMetricsResponse Int
Creating a Request
getCrawlerMetrics :: GetCrawlerMetrics Source #
Creates a value of GetCrawlerMetrics
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmNextToken
- A continuation token, if this is a continuation call.gcmMaxResults
- The maximum size of a list to return.gcmCrawlerNameList
- A list of the names of crawlers about which to retrieve metrics.
data GetCrawlerMetrics Source #
See: getCrawlerMetrics
smart constructor.
Instances
Request Lenses
gcmNextToken :: Lens' GetCrawlerMetrics (Maybe Text) Source #
A continuation token, if this is a continuation call.
gcmMaxResults :: Lens' GetCrawlerMetrics (Maybe Natural) Source #
The maximum size of a list to return.
gcmCrawlerNameList :: Lens' GetCrawlerMetrics [Text] Source #
A list of the names of crawlers about which to retrieve metrics.
Destructuring the Response
getCrawlerMetricsResponse Source #
Creates a value of GetCrawlerMetricsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmrsCrawlerMetricsList
- A list of metrics for the specified crawler.gcmrsNextToken
- A continuation token, if the returned list does not contain the last metric available.gcmrsResponseStatus
- -- | The response status code.
data GetCrawlerMetricsResponse Source #
See: getCrawlerMetricsResponse
smart constructor.
Instances
Response Lenses
gcmrsCrawlerMetricsList :: Lens' GetCrawlerMetricsResponse [CrawlerMetrics] Source #
A list of metrics for the specified crawler.
gcmrsNextToken :: Lens' GetCrawlerMetricsResponse (Maybe Text) Source #
A continuation token, if the returned list does not contain the last metric available.
gcmrsResponseStatus :: Lens' GetCrawlerMetricsResponse Int Source #
- - | The response status code.