Skip to content

StartMetadataGenerationRun

Source: src/AWS/DataZone/StartMetadataGenerationRun.ts

Runtime binding for datazone:StartMetadataGenerationRun.

Starts an ML metadata generation run (business description suggestions) for an asset in the bound domain. The domain id is injected from the binding. Provide the implementation with Effect.provide(AWS.DataZone.StartMetadataGenerationRunHttp).

// init — bind the operation to the domain
const startMetadataGenerationRun = yield* AWS.DataZone.StartMetadataGenerationRun(domain);
// runtime
const run = yield* startMetadataGenerationRun({
types: ["BUSINESS_DESCRIPTIONS"],
target: { type: "ASSET", identifier: assetId },
owningProjectIdentifier: projectId,
});