start_metadata_generation_run
¶
start_metadata_generation_run(
domain_identifier: DomainId,
target: MetadataGenerationRunTarget,
owning_project_identifier: ProjectId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
type: Optional[MetadataGenerationRunType] = None,
types: Optional[MetadataGenerationRunTypes] = None,
client_token: Optional[ClientToken] = None,
) -> StartMetadataGenerationRunOutput
Starts the metadata generation run.
Prerequisites:
-
Asset must be created and belong to the specified domain and project.
-
Asset type must be supported for metadata generation (e.g., Amazon Web Services Glue table).
-
Asset must have a structured schema with valid rows and columns.
-
Valid values for --type: BUSINESS_DESCRIPTIONS, BUSINESS_NAMES, BUSINESS_GLOSSARY_ASSOCIATIONS.
-
The user must have permission to run metadata generation in the domain/project.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain where you want to start a metadata generation run.
-
type(Optional[MetadataGenerationRunType], default:None) –The type of the metadata generation run.
-
types(Optional[MetadataGenerationRunTypes], default:None) –The types of the metadata generation run.
-
target(MetadataGenerationRunTarget) –The asset for which you want to start a metadata generation run.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.
-
owning_project_identifier(ProjectId) –The ID of the project that owns the asset for which you want to start a metadata generation run.
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.
-
ServiceQuotaExceededException–The request has exceeded the specified service quota.
-
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
15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 | |