import type * as qapps from "@distilled.cloud/aws/qapps"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { QApp } from "./QApp.ts"; /** * Request for {@link UpdateQAppSession} — `instanceId` is injected from the bound Q App. */ export interface UpdateQAppSessionRequest extends Omit { } /** * Runtime binding for `qapps:UpdateQAppSession`. * * Submits new card values into a running Q App session (e.g. answers a text-input card). Provide the implementation with * `Effect.provide(AWS.QApps.UpdateQAppSessionHttp)`. * ### Sessions * **Example:** Submit Card Values * ```typescript * // init — bind the operation to the Q App * const updateQAppSession = yield* AWS.QApps.UpdateQAppSession(app); * * // runtime * yield* updateQAppSession({ * sessionId, * values: [{ cardId, value: "Hello, Q Apps!" }], * }); * ``` * * @binding */ export interface UpdateQAppSession extends Binding.Service Effect.Effect<(request: UpdateQAppSessionRequest) => Effect.Effect>> { } export declare const UpdateQAppSession: UpdateQAppSession; //# sourceMappingURL=UpdateQAppSession.d.ts.map