delete_asset
async
¶
delete_asset(
domain_identifier: DomainId,
identifier: AssetIdentifier,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
) -> DeleteAssetOutput
Deletes an asset in Amazon DataZone.
-
--domain-identifier must refer to a valid and existing domain.
-
--identifier must refer to an existing asset in the specified domain.
-
Asset must not be referenced in any existing asset filters.
-
Asset must not be linked to any draft or published data product.
-
User must have delete permissions for the domain and project.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which the asset is deleted.
-
identifier(AssetIdentifier) –The identifier of the asset 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
11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 | |