Glue / Paginator / GetCrawlerMetrics
GetCrawlerMetrics#
- class Glue.Paginator.GetCrawlerMetrics#
paginator = client.get_paginator('get_crawler_metrics')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
Glue.Client.get_crawler_metrics()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( CrawlerNameList=[ 'string', ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
CrawlerNameList (list) –
A list of the names of crawlers about which to retrieve metrics.
(string) –
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'CrawlerMetricsList': [ { 'CrawlerName': 'string', 'TimeLeftSeconds': 123.0, 'StillEstimating': True|False, 'LastRuntimeSeconds': 123.0, 'MedianRuntimeSeconds': 123.0, 'TablesCreated': 123, 'TablesUpdated': 123, 'TablesDeleted': 123 }, ], }
Response Structure
(dict) –
CrawlerMetricsList (list) –
A list of metrics for the specified crawler.
(dict) –
Metrics for a specified crawler.
CrawlerName (string) –
The name of the crawler.
TimeLeftSeconds (float) –
The estimated time left to complete a running crawl.
StillEstimating (boolean) –
True if the crawler is still estimating how long it will take to complete this run.
LastRuntimeSeconds (float) –
The duration of the crawler’s most recent run, in seconds.
MedianRuntimeSeconds (float) –
The median duration of this crawler’s runs, in seconds.
TablesCreated (integer) –
The number of tables created by this crawler.
TablesUpdated (integer) –
The number of tables updated by this crawler.
TablesDeleted (integer) –
The number of tables deleted by this crawler.