DataZone / Client / delete_asset_type
delete_asset_type¶
- DataZone.Client.delete_asset_type(**kwargs)¶
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.
See also: AWS API Documentation
Request Syntax
response = client.delete_asset_type( domainIdentifier='string', identifier='string' )
- Parameters:
domainIdentifier (string) –
[REQUIRED]
The ID of the Amazon DataZone domain in which the asset type is deleted.
identifier (string) –
[REQUIRED]
The identifier of the asset type that is deleted.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
DataZone.Client.exceptions.InternalServerExceptionDataZone.Client.exceptions.ResourceNotFoundExceptionDataZone.Client.exceptions.AccessDeniedExceptionDataZone.Client.exceptions.ThrottlingExceptionDataZone.Client.exceptions.ConflictExceptionDataZone.Client.exceptions.ValidationExceptionDataZone.Client.exceptions.UnauthorizedException