list_crawls
async
¶
list_crawls(
crawler_name: NameString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
max_results: Optional[PageSize] = None,
filters: Optional[CrawlsFilterList] = None,
next_token: Optional[Token] = None,
) -> ListCrawlsResponse
Returns all the crawls of a specified crawler. Returns only the crawls that have occurred since the launch date of the crawler history feature, and only retains up to 12 months of crawls. Older crawls will not be returned.
You may use this API to:
-
Retrive all the crawls of a specified crawler.
-
Retrieve all the crawls of a specified crawler within a limited count.
-
Retrieve all the crawls of a specified crawler in a specific time range.
-
Retrieve all the crawls of a specified crawler with a particular state, crawl ID, or DPU hour value.
Parameters:
-
crawler_name(NameString) –The name of the crawler whose runs you want to retrieve.
-
max_results(Optional[PageSize], default:None) –The maximum number of results to return. The default is 20, and maximum is 100.
-
filters(Optional[CrawlsFilterList], default:None) –Filters the crawls by the criteria you specify in a list of
CrawlsFilterobjects. -
next_token(Optional[Token], default:None) –A continuation token, if this is a continuation call.
Raises:
-
EntityNotFoundException–A specified entity does not exist
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 | |