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
15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 | |