search_assets
async
¶
search_assets(
*,
config_overrides: Optional[AsyncGlueClientConfig] = 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/async_glue.py
17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 | |