get_user_profile
¶
get_user_profile(
domain_identifier: DomainId,
user_identifier: UserIdentifier,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 | |