update_user_profile
¶
update_user_profile(
domain_identifier: DomainId,
user_identifier: UserIdentifier,
status: UserProfileStatus,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 | |