list_user_profiles
async
¶
list_user_profiles(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
sort_order: Optional[SortOrder] = None,
sort_by: Optional[UserProfileSortKey] = None,
domain_id_equals: Optional[DomainId] = None,
user_profile_name_contains: Optional[UserProfileName] = None,
) -> ListUserProfilesResponse
Lists user profiles.
Parameters:
-
next_token(Optional[NextToken], default:None) –If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
-
max_results(Optional[MaxResults], default:None) –This parameter defines the maximum number of results that can be return in a single response. The
MaxResultsparameter is an upper bound, not a target. If there are more results available than the value specified, aNextTokenis provided in the response. TheNextTokenindicates that the user should get the next set of results by providing this token as a part of a subsequent call. The default value forMaxResultsis 10. -
sort_order(Optional[SortOrder], default:None) –The sort order for the results. The default is Ascending.
-
sort_by(Optional[UserProfileSortKey], default:None) –The parameter by which to sort the results. The default is CreationTime.
-
domain_id_equals(Optional[DomainId], default:None) –A parameter by which to filter the results.
-
user_profile_name_contains(Optional[UserProfileName], default:None) –A parameter by which to filter the results.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
26812 26813 26814 26815 26816 26817 26818 26819 26820 26821 26822 26823 26824 26825 26826 26827 26828 26829 26830 26831 26832 26833 26834 26835 26836 26837 26838 26839 26840 26841 26842 26843 26844 26845 26846 26847 26848 26849 26850 26851 26852 26853 26854 26855 26856 26857 26858 26859 26860 26861 26862 26863 26864 26865 26866 26867 26868 26869 26870 26871 26872 26873 26874 26875 26876 26877 26878 26879 | |