DataZone / Client / create_data_product_revision
create_data_product_revision¶
- DataZone.Client.create_data_product_revision(**kwargs)¶
Creates a data product revision.
Prerequisites:
The original data product must exist in the given domain.
User must have permissions on the data product.
The domain must be valid and accessible.
The new revision name must comply with naming constraints (if required).
See also: AWS API Documentation
Request Syntax
response = client.create_data_product_revision( clientToken='string', description='string', domainIdentifier='string', formsInput=[ { 'content': 'string', 'formName': 'string', 'typeIdentifier': 'string', 'typeRevision': 'string' }, ], glossaryTerms=[ 'string', ], identifier='string', items=[ { 'glossaryTerms': [ 'string', ], 'identifier': 'string', 'itemType': 'ASSET', 'revision': 'string' }, ], name='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.
description (string) – The description of the data product revision.
domainIdentifier (string) –
[REQUIRED]
The ID of the domain where the data product revision is created.
formsInput (list) –
The metadata forms of the data product revision.
(dict) –
The details of a metadata form.
content (string) –
The content of the metadata form.
formName (string) – [REQUIRED]
The name of the metadata form.
typeIdentifier (string) –
The ID of the metadata form type.
typeRevision (string) –
The revision of the metadata form type.
glossaryTerms (list) –
The glossary terms of the data product revision.
(string) –
identifier (string) –
[REQUIRED]
The ID of the data product revision.
items (list) –
The data assets of the data product revision.
(dict) –
The data product.
glossaryTerms (list) –
The glossary terms of the data product.
(string) –
identifier (string) – [REQUIRED]
The ID of the data product.
itemType (string) – [REQUIRED]
The type of the data product.
revision (string) –
The revision of the data product.
name (string) –
[REQUIRED]
The name of the data product revision.
- Return type:
dict
- Returns:
Response Syntax
{ 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'description': 'string', 'domainId': 'string', 'firstRevisionCreatedAt': datetime(2015, 1, 1), 'firstRevisionCreatedBy': 'string', 'formsOutput': [ { 'content': 'string', 'formName': 'string', 'typeName': 'string', 'typeRevision': 'string' }, ], 'glossaryTerms': [ 'string', ], 'id': 'string', 'items': [ { 'glossaryTerms': [ 'string', ], 'identifier': 'string', 'itemType': 'ASSET', 'revision': 'string' }, ], 'name': 'string', 'owningProjectId': 'string', 'revision': 'string', 'status': 'CREATED'|'CREATING'|'CREATE_FAILED' }
Response Structure
(dict) –
createdAt (datetime) –
The timestamp at which the data product revision is created.
createdBy (string) –
The user who created the data product revision.
description (string) –
The description of the data product revision.
domainId (string) –
The ID of the domain where data product revision is created.
firstRevisionCreatedAt (datetime) –
The timestamp at which the first revision of the data product is created.
firstRevisionCreatedBy (string) –
The user who created the first revision of the data product.
formsOutput (list) –
The metadata forms of the data product revision.
(dict) –
The details of a metadata form.
content (string) –
The content of the metadata form.
formName (string) –
The name of the metadata form.
typeName (string) –
The name of the metadata form type.
typeRevision (string) –
The revision of the metadata form type.
glossaryTerms (list) –
The glossary terms of the data product revision.
(string) –
id (string) –
The ID of the data product revision.
items (list) –
The data assets of the data product revision.
(dict) –
The data product.
glossaryTerms (list) –
The glossary terms of the data product.
(string) –
identifier (string) –
The ID of the data product.
itemType (string) –
The type of the data product.
revision (string) –
The revision of the data product.
name (string) –
The name of the data product revision.
owningProjectId (string) –
The ID of the owning project of the data product revision.
revision (string) –
The revision of the data product revision.
status (string) –
The status of the data product revision.
Exceptions
DataZone.Client.exceptions.InternalServerException
DataZone.Client.exceptions.ResourceNotFoundException
DataZone.Client.exceptions.AccessDeniedException
DataZone.Client.exceptions.ThrottlingException
DataZone.Client.exceptions.ConflictException
DataZone.Client.exceptions.ValidationException
DataZone.Client.exceptions.UnauthorizedException