delete_data_product
¶
delete_data_product(
domain_identifier: DomainId,
identifier: DataProductId,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 | |