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
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 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 | |