delete_form_type
¶
delete_form_type(
domain_identifier: DomainId,
form_type_identifier: FormTypeIdentifier,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
) -> DeleteFormTypeOutput
Deletes and metadata form type in Amazon DataZone.
Prerequisites:
-
The form type must exist in the domain.
-
The form type must not be in use by any asset types or assets.
-
The domain must be valid and accessible.
-
User must have delete permissions on the form type.
-
Any dependencies (such as linked asset types) must be removed first.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which the metadata form type is deleted.
-
form_type_identifier(FormTypeIdentifier) –The ID of the metadata form 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
14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 | |