Skip to main content

metadata_generation_runs

Creates, updates, deletes, gets or lists a metadata_generation_runs resource.

Overview

Namemetadata_generation_runs
TypeResource
Idaws.datazone.metadata_generation_runs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the metadata generation run. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
created_atstring (date-time)The timestamp of when the metadata generation run was start.
created_bystringThe Amazon DataZone user who started the metadata generation run.
domain_idstringThe ID of the Amazon DataZone domain the metadata generation run of which you want to get. (pattern: <code>dzd[-][a-zA-Z0-9-]{1,36}</code>)
owning_project_idstringThe ID of the project that owns the assets for which you're running metadata generation. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
statusstringThe status of the metadata generation run. (SUBMITTED, IN_PROGRESS, CANCELED, SUCCEEDED, FAILED, PARTIALLY_SUCCEEDED)
targetobjectThe asset for which you're generating metadata.
type_statsarrayThe type stats included in the metadata generation run output details.
type_stringThe type of metadata generation run. (BUSINESS_DESCRIPTIONS, BUSINESS_NAMES, BUSINESS_GLOSSARY_ASSOCIATIONS)
typesarrayThe types of the metadata generation run.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_metadata_generation_runselectdomain_identifier, identifier, regiontypeGets a metadata generation run in Amazon DataZone. Prerequisites: Valid domain and run identifier. The metadata generation run must exist. User must have read access to the metadata run.
list_metadata_generation_runsselectdomain_identifier, regionstatus, type, nextToken, maxResults, targetIdentifierLists all metadata generation runs. Metadata generation runs represent automated processes that leverage AI/ML capabilities to create or enhance asset metadata at scale. This feature helps organizations maintain comprehensive and consistent metadata across large numbers of assets without manual intervention. It can automatically generate business descriptions, tags, and other metadata elements, significantly reducing the time and effort required for metadata management while improving consistency and completeness. Prerequisites: Valid domain identifier. User must have access to metadata generation runs in the domain.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domain_identifierstringThe ID of the Amazon DataZone domain where you want to list metadata generation runs.
identifierstringThe identifier of the metadata generation run.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of metadata generation runs to return in a single call to ListMetadataGenerationRuns. When the number of metadata generation runs to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListMetadataGenerationRuns to list the next set of revisions.
nextTokenstringWhen the number of metadata generation runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of metadata generation runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListMetadataGenerationRuns to list the next set of revisions.
statusstringThe status of the metadata generation runs.
targetIdentifierstringThe target ID for which you want to list metadata generation runs.
typestringThe type of the metadata generation runs.

SELECT examples

Gets a metadata generation run in Amazon DataZone. Prerequisites: Valid domain and run identifier. The metadata generation run must exist. User must have read access to the metadata run.

SELECT
id,
created_at,
created_by,
domain_id,
owning_project_id,
status,
target,
type_stats,
type_,
types
FROM aws.datazone.metadata_generation_runs
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
AND type = '{{ type }}'
;