import type * as datazone from "@distilled.cloud/aws/datazone"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Domain } from "./Domain.ts"; export interface AcceptPredictionsRequest extends Omit { } /** * 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 * **Example:** Accept All Predictions * ```typescript * // init — bind the operation to the domain * const acceptPredictions = yield* AWS.DataZone.AcceptPredictions(domain); * * // runtime * yield* acceptPredictions({ identifier: assetId, acceptRule: { rule: "ALL" } }); * ``` * * @binding */ export interface AcceptPredictions extends Binding.Service Effect.Effect<(request: AcceptPredictionsRequest) => Effect.Effect>> { } export declare const AcceptPredictions: AcceptPredictions; //# sourceMappingURL=AcceptPredictions.d.ts.map