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
14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 | |