get_user_profile
async
¶
get_user_profile(
domain_identifier: DomainId,
user_identifier: UserIdentifier,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
type: Optional[UserProfileType] = None,
session_name: Optional[str] = None,
) -> GetUserProfileOutput
Gets a user profile in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –the ID of the Amazon DataZone domain the data portal of which you want to get.
-
user_identifier(UserIdentifier) –The identifier of the user for which you want to get the user profile.
-
type(Optional[UserProfileType], default:None) –The type of the user profile.
-
session_name(Optional[str], default:None) –The session name for IAM role sessions.
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
5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 | |