create_data_product_revision
¶
create_data_product_revision(
domain_identifier: DomainId,
identifier: DataProductId,
name: DataProductName,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
description: Optional[DataProductDescription] = None,
glossary_terms: Optional[GlossaryTerms] = None,
items: Optional[DataProductItems] = None,
forms_input: Optional[FormInputList] = None,
client_token: Optional[ClientToken] = None,
) -> CreateDataProductRevisionOutput
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).
Parameters:
-
domain_identifier(DomainId) –The ID of the domain where the data product revision is created.
-
identifier(DataProductId) –The ID of the data product revision.
-
name(DataProductName) –The name of the data product revision.
-
description(Optional[DataProductDescription], default:None) –The description of the data product revision.
-
glossary_terms(Optional[GlossaryTerms], default:None) –The glossary terms of the data product revision.
-
items(Optional[DataProductItems], default:None) –The data assets of the data product revision.
-
forms_input(Optional[FormInputList], default:None) –The metadata forms of the data product revision.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
ConflictException–There is a conflict while performing this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/data_zone.py
12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 | |