add_entity_owner
async
¶
add_entity_owner(
domain_identifier: DomainId,
entity_type: DataZoneEntityType,
entity_identifier: str,
owner: OwnerProperties,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> AddEntityOwnerOutput
Adds the owner of an entity (a domain unit).
Parameters:
-
domain_identifier(DomainId) –The ID of the domain in which you want to add the entity owner.
-
entity_type(DataZoneEntityType) –The type of an entity.
-
entity_identifier(str) –The ID of the entity to which you want to add an owner.
-
owner(OwnerProperties) –The owner that you want to add to the entity.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
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.
-
ServiceQuotaExceededException–The request has exceeded the specified service quota.
-
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
1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 | |