get_form_type
async
¶
get_form_type(
domain_identifier: DomainId,
form_type_identifier: FormTypeIdentifier,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
revision: Optional[Revision] = None,
) -> GetFormTypeOutput
Gets a metadata form type in Amazon DataZone.
Form types define the structure and validation rules for collecting metadata about assets in Amazon DataZone. They act as templates that ensure consistent metadata capture across similar types of assets, while allowing for customization to meet specific organizational needs. Form types can include required fields, validation rules, and dependencies, helping maintain high-quality metadata that makes data assets more discoverable and usable.
-
The form type with the specified identifier must exist in the given domain.
-
The domain must be valid and active.
-
User must have permission on the form type.
-
The form type should not be deleted or in an invalid state.
One use case for this API is to determine whether a form field is indexed for search.
A searchable field will be annotated with @amazon.datazone#searchable. By default, searchable fields are indexed for semantic search, where related query terms will match the attribute value even if they are not stemmed or keyword matches. If a field is indexed technical identifier search, it will be annotated with @amazon.datazone#searchable(modes:["TECHNICAL"]). If a field is indexed for lexical search (supports stemmed and prefix matches but not semantic matches), it will be annotated with @amazon.datazone#searchable(modes:["LEXICAL"]).
A field storing glossary term IDs (which is filterable) will be annotated with @amazon.datazone#glossaryterm("${glossaryId}").
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which this metadata form type exists.
-
form_type_identifier(FormTypeIdentifier) –The ID of the metadata form type.
-
revision(Optional[Revision], default:None) –The revision of this metadata form type.
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.
-
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
14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 | |