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
14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 | |