DataZone / Client / list_data_product_revisions
list_data_product_revisions#
- DataZone.Client.list_data_product_revisions(**kwargs)#
Lists data product revisions.
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 aNextToken
value that you can use in a subsequent call toListDataProductRevisions
to 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
MaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of data product revisions, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call toListDataProductRevisions
to list the next set of data product revisions.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'domainId': 'string', 'id': 'string', 'revision': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
items (list) –
The results of the
ListDataProductRevisions
action.(dict) –
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.
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.
nextToken (string) –
When the number of data product revisions is greater than the default value for the
MaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of data product revisions, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call toListDataProductRevisions
to list the next set of data product revisions.
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