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
11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 | |