delete_data_product
async
¶
delete_data_product(
domain_identifier: DomainId,
identifier: DataProductId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
) -> DeleteDataProductOutput
Deletes a data product in Amazon DataZone.
Prerequisites:
-
The data product must exist and not be deleted or archived.
-
The user must have delete permissions for the data product.
-
Domain and project must be active.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which the data product is deleted.
-
identifier(DataProductId) –The identifier of the data product that is deleted.
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/async_data_zone.py
12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 | |