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
12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 | |