delete_asset_type
¶
delete_asset_type(
domain_identifier: DomainId,
identifier: AssetTypeIdentifier,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
) -> DeleteAssetTypeOutput
Deletes an asset type in Amazon DataZone.
Prerequisites:
-
The asset type must exist in the domain.
-
You must have DeleteAssetType permission.
-
The asset type must not be in use (e.g., assigned to any asset). If used, deletion will fail.
-
You should retrieve the asset type using get-asset-type to confirm its presence before deletion.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which the asset type is deleted.
-
identifier(AssetTypeIdentifier) –The identifier of the asset type 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
11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 | |