DataZone / Client / list_data_product_revisions
list_data_product_revisions¶
- DataZone.Client.list_data_product_revisions(**kwargs)¶
Lists data product revisions.
Prerequisites:
The data product ID must exist within the domain.
User must have view permissions on the data product.
The domain must be in a valid and accessible state.
See also: AWS API Documentation
Request Syntax
response = client.list_data_product_revisions( domainIdentifier='string', identifier='string', maxResults=123, nextToken='string' )
- Parameters:
domainIdentifier (string) –
[REQUIRED]
The ID of the domain of the data product revisions that you want to list.
identifier (string) –
[REQUIRED]
The ID of the data product revision.
maxResults (integer) – The maximum number of asset filters to return in a single call to
ListDataProductRevisions. When the number of data product revisions to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListDataProductRevisionsto list the next set of data product revisions.nextToken (string) – When the number of data product revisions is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of data product revisions, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListDataProductRevisionsto list the next set of data product revisions.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'domainId': 'string', 'id': 'string', 'revision': 'string', 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
items (list) –
The results of the
ListDataProductRevisionsaction.(dict) –
The data product revision.
domainId (string) –
The ID of the domain where the data product revision lives.
id (string) –
The ID of the data product revision.
revision (string) –
The data product revision.
createdAt (datetime) –
The timestamp at which the data product revision was created.
createdBy (string) –
The user who created the data product revision.
nextToken (string) –
When the number of data product revisions is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of data product revisions, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListDataProductRevisionsto list the next set of data product revisions.
Exceptions
DataZone.Client.exceptions.InternalServerExceptionDataZone.Client.exceptions.ResourceNotFoundExceptionDataZone.Client.exceptions.AccessDeniedExceptionDataZone.Client.exceptions.ThrottlingExceptionDataZone.Client.exceptions.ValidationExceptionDataZone.Client.exceptions.UnauthorizedException