import type * as personalizeruntime from "@distilled.cloud/aws/personalize-runtime"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; /** * Runtime binding for `personalize:GetRecommendations` — Returns a list of recommended items for a user from a campaign or * domain recommender — the core Personalize serving call. Campaign and * recommender ARNs are chosen at runtime, so the binding takes no * arguments and grants `personalize:GetRecommendations` on `*`. * Provide the implementation with * `Effect.provide(AWS.Personalize.GetRecommendationsHttp)`. * * ### Serving Recommendations * **Example:** Recommend Items for a User * ```typescript * // init * const getRecommendations = yield* Personalize.GetRecommendations(); * * const { itemList } = yield* getRecommendations({ * campaignArn, * userId: "user-1", * numResults: 10, * }); * ``` * * @binding */ export interface GetRecommendations extends Binding.Service Effect.Effect<(request: personalizeruntime.GetRecommendationsRequest) => Effect.Effect>> { } export declare const GetRecommendations: GetRecommendations; //# sourceMappingURL=GetRecommendations.d.ts.map