update_root_domain_unit_owner
¶
update_root_domain_unit_owner(
domain_identifier: DomainId,
current_owner: UserIdentifier,
new_owner: str,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> UpdateRootDomainUnitOwnerOutput
Updates the owner of the root domain unit.
Parameters:
-
domain_identifier(DomainId) –The ID of the domain where the root domain unit owner is to be updated.
-
current_owner(UserIdentifier) –The current owner of the root domain unit.
-
new_owner(str) –The new owner of the root domain unit.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.
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.
-
ConflictException–There is a conflict while performing 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
11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 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 | |