search_assets
¶
search_assets(
*,
config_overrides: Optional[GlueClientConfig] = None,
search_text: Optional[SearchText] = None,
max_results: Optional[SearchMaxResults] = None,
next_token: Optional[SearchNextToken] = None,
sort: Optional[SearchSort] = None,
filter_clause: Optional[SearchFilterClause] = None,
) -> SearchAssetsOutput
Searches for assets in Glue Data Catalog using full-text search, filters, sorting, and aggregations. Returns matching assets with relevance-ranked results.
Parameters:
-
search_text(Optional[SearchText], default:None) –The text to search for. At least one of
searchTextorfilterClausemust be provided. -
max_results(Optional[SearchMaxResults], default:None) –The maximum number of results to return in the response.
-
next_token(Optional[SearchNextToken], default:None) –A continuation token, if this is a continuation call.
-
sort(Optional[SearchSort], default:None) –The sort criteria for the search results.
-
filter_clause(Optional[SearchFilterClause], default:None) –The filter clause to apply to the search. Supports nested AND/OR logic with attribute-level and map-level filters.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
ThrottlingException–The throttling threshhold was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 | |