DataZone / Paginator / ListEntityOwners
ListEntityOwners¶
- class DataZone.Paginator.ListEntityOwners¶
paginator = client.get_paginator('list_entity_owners')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
DataZone.Client.list_entity_owners().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( domainIdentifier='string', entityType='DOMAIN_UNIT', entityIdentifier='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
domainIdentifier (string) –
[REQUIRED]
The ID of the domain where you want to list entity owners.
entityType (string) –
[REQUIRED]
The type of the entity that you want to list.
entityIdentifier (string) –
[REQUIRED]
The ID of the entity that you want to list.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'owners': [ { 'user': { 'userId': 'string' }, 'group': { 'groupId': 'string' } }, ], 'NextToken': 'string' }
Response Structure
(dict) –
owners (list) –
The owners of the entity.
(dict) –
The ID of the domain unit owners group.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
user,group. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
user (dict) –
Specifies that the domain unit owner is a user.
userId (string) –
The ID of the owner user.
group (dict) –
Specifies that the domain unit owner is a group.
groupId (string) –
The ID of the domain unit owners group.
NextToken (string) –
A token to resume pagination.