delete_asset_type
async
¶
delete_asset_type(
domain_identifier: DomainId,
identifier: AssetTypeIdentifier,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 | |