list_user_profiles
¶
list_user_profiles(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
29290 29291 29292 29293 29294 29295 29296 29297 29298 29299 29300 29301 29302 29303 29304 29305 29306 29307 29308 29309 29310 29311 29312 29313 29314 29315 29316 29317 29318 29319 29320 29321 29322 29323 29324 29325 29326 29327 29328 29329 29330 29331 29332 29333 29334 29335 29336 29337 29338 29339 29340 29341 29342 29343 29344 29345 29346 29347 29348 29349 29350 29351 29352 29353 29354 29355 29356 | |