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, and sorting. 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
18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 | |