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
14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 | |