update_root_domain_unit_owner
async
¶
update_root_domain_unit_owner(
domain_identifier: DomainId,
current_owner: UserIdentifier,
new_owner: str,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 | |