DataZone / Client / remove_entity_owner
remove_entity_owner#
- DataZone.Client.remove_entity_owner(**kwargs)#
Removes an owner from an entity.
See also: AWS API Documentation
Request Syntax
response = client.remove_entity_owner( clientToken='string', domainIdentifier='string', entityIdentifier='string', entityType='DOMAIN_UNIT', owner={ 'group': { 'groupIdentifier': 'string' }, 'user': { 'userIdentifier': 'string' } } )
- Parameters:
clientToken (string) –
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
This field is autopopulated if not provided.
domainIdentifier (string) –
[REQUIRED]
The ID of the domain where you want to remove an owner from an entity.
entityIdentifier (string) –
[REQUIRED]
The ID of the entity from which you want to remove an owner.
entityType (string) –
[REQUIRED]
The type of the entity from which you want to remove an owner.
owner (dict) –
[REQUIRED]
The owner that you want to remove from an entity.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
group
,user
.group (dict) –
Specifies that the domain unit owner is a group.
groupIdentifier (string) – [REQUIRED]
The ID of the domain unit owners group.
user (dict) –
Specifies that the domain unit owner is a user.
userIdentifier (string) – [REQUIRED]
The ID of the owner user.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
DataZone.Client.exceptions.InternalServerException
DataZone.Client.exceptions.ResourceNotFoundException
DataZone.Client.exceptions.AccessDeniedException
DataZone.Client.exceptions.ThrottlingException
DataZone.Client.exceptions.ValidationException
DataZone.Client.exceptions.UnauthorizedException