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( domainIdentifier='string', entityType='DOMAIN_UNIT', entityIdentifier='string', owner={ 'user': { 'userIdentifier': 'string' }, 'group': { 'groupIdentifier': 'string' } }, clientToken='string' )
- Parameters:
domainIdentifier (string) –
[REQUIRED]
The ID of the domain where you want to remove an owner from an entity.
entityType (string) –
[REQUIRED]
The type of the entity from which you want to remove an owner.
entityIdentifier (string) –
[REQUIRED]
The ID 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:
user,group.user (dict) –
Specifies that the domain unit owner is a user.
userIdentifier (string) – [REQUIRED]
The ID of the owner user.
group (dict) –
Specifies that the domain unit owner is a group.
groupIdentifier (string) – [REQUIRED]
The ID of the domain unit owners group.
clientToken (string) –
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
DataZone.Client.exceptions.InternalServerExceptionDataZone.Client.exceptions.ResourceNotFoundExceptionDataZone.Client.exceptions.AccessDeniedExceptionDataZone.Client.exceptions.ThrottlingExceptionDataZone.Client.exceptions.ValidationExceptionDataZone.Client.exceptions.UnauthorizedException