search_user_profiles
async
¶
search_user_profiles(
domain_identifier: DomainId,
user_type: UserSearchType,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
search_text: Optional[UserSearchText] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
) -> SearchUserProfilesOutput
Searches user profiles in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain in which you want to search user profiles.
-
user_type(UserSearchType) –Specifies the user type for the
SearchUserProfilesaction. -
search_text(Optional[UserSearchText], default:None) –Specifies the text for which to search.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call to
SearchUserProfiles. 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 toSearchUserProfilesto 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 toSearchUserProfilesto list the next set of results.
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.
-
ResourceNotFoundException–The specified resource cannot be found.
-
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/async_data_zone.py
9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 | |