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
10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 | |