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
9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 | |