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
13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 | |