AcceptPredictions
Source:
src/AWS/DataZone/AcceptPredictions.ts
Runtime binding for datazone:AcceptPredictions.
Accepts ML-generated metadata predictions (business-name suggestions) on an asset in the bound domain. The domain id is injected from the binding.
Provide the implementation with
Effect.provide(AWS.DataZone.AcceptPredictionsHttp).
Publishing Assets
Section titled “Publishing Assets”// init — bind the operation to the domainconst acceptPredictions = yield* AWS.DataZone.AcceptPredictions(domain);
// runtimeyield* acceptPredictions({ identifier: assetId, acceptRule: { rule: "ALL" } });