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
5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 | |