delete_form_type
async
¶
delete_form_type(
domain_identifier: DomainId,
form_type_identifier: FormTypeIdentifier,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 | |