list_crawls
¶
list_crawls(
crawler_name: NameString,
*,
config_overrides: Optional[GlueClientConfig] = 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/glue.py
13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 | |