Skip to content

RejectPredictions

Source: src/AWS/DataZone/RejectPredictions.ts

Runtime binding for datazone:RejectPredictions.

Rejects ML-generated metadata predictions on an asset in the bound domain. The domain id is injected from the binding. Provide the implementation with Effect.provide(AWS.DataZone.RejectPredictionsHttp).

// init — bind the operation to the domain
const rejectPredictions = yield* AWS.DataZone.RejectPredictions(domain);
// runtime
yield* rejectPredictions({ identifier: assetId, rejectRule: { rule: "ALL" } });