search_types
¶
search_types(
domain_identifier: DomainId,
search_scope: TypesSearchScope,
managed: bool,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
search_text: Optional[SearchText] = None,
search_in: Optional[SearchInList] = None,
filters: Optional[FilterClause] = None,
sort: Optional[SearchSort] = None,
) -> SearchTypesOutput
Searches for types in Amazon DataZone.
Prerequisites:
-
The --domain-identifier must refer to an existing Amazon DataZone domain.
-
--search-scope must be one of the valid values including: ASSET_TYPE, GLOSSARY_TERM_TYPE, DATA_PRODUCT_TYPE.
-
The --managed flag must be present without a value.
-
The user must have permissions for form or asset types in the domain.
-
If using --filters, ensure that the JSON is valid.
-
Filters contain correct structure (attribute, value, operator).
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain in which to invoke the
SearchTypesaction. -
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call to
SearchTypes. When the number of results to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toSearchTypesto list the next set of results. -
next_token(Optional[PaginationToken], default:None) –When the number of results is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of results, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toSearchTypesto list the next set of results. -
search_scope(TypesSearchScope) –Specifies the scope of the search for types.
-
search_text(Optional[SearchText], default:None) –Specifies the text for which to search.
-
search_in(Optional[SearchInList], default:None) –The details of the search.
-
filters(Optional[FilterClause], default:None) –The filters for the
SearchTypesaction. -
sort(Optional[SearchSort], default:None) –The specifies the way to sort the
SearchTypesresults. -
managed(bool) –Specifies whether the search is managed.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/data_zone.py
9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 | |