start_metadata_generation_run
async
¶
start_metadata_generation_run(
domain_identifier: DomainId,
target: MetadataGenerationRunTarget,
owning_project_identifier: ProjectId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 | |