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
11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 | |