update_user_profile
async
¶
update_user_profile(
domain_identifier: DomainId,
user_identifier: UserIdentifier,
status: UserProfileStatus,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
type: Optional[UserProfileType] = None,
session_name: Optional[str] = None,
) -> UpdateUserProfileOutput
Updates the specified user profile in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain in which a user profile is updated.
-
user_identifier(UserIdentifier) –The identifier of the user whose user profile is to be updated.
-
type(Optional[UserProfileType], default:None) –The type of the user profile that are to be updated.
-
status(UserProfileStatus) –The status of the user profile that are to be updated.
-
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
11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 | |