delete_asset
¶
delete_asset(
domain_identifier: DomainId,
identifier: AssetIdentifier,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 | |