The best way to control Claude Code, Codex and more from any computer or phone

main
ts 45 lines 1.4 KB
Raw
1 import type * as qapps from "@distilled.cloud/aws/qapps";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { QApp } from "./QApp.ts";
5
6 /**
7 * Request for {@link DisassociateQAppFromUser} — `instanceId` and `appId` are injected from the bound Q App.
8 */
9 export interface DisassociateQAppFromUserRequest extends Omit<
10 qapps.DisassociateQAppFromUserInput,
11 "instanceId" | "appId"
12 > {}
13
14 /**
15 * Runtime binding for `qapps:DisassociateQAppFromUser`.
16 *
17 * Removes the bound Q App from the calling identity's inventory of favorited apps. Provide the implementation with
18 * `Effect.provide(AWS.QApps.DisassociateQAppFromUserHttp)`.
19 * ### User Inventory
20 * **Example:** Unfavorite the App
21 * ```typescript
22 * // init — bind the operation to the Q App
23 * const disassociateQAppFromUser = yield* AWS.QApps.DisassociateQAppFromUser(app);
24 *
25 * // runtime
26 * yield* disassociateQAppFromUser();
27 * ```
28 *
29 * @binding
30 */
31 export interface DisassociateQAppFromUser extends Binding.Service<
32 DisassociateQAppFromUser,
33 "AWS.QApps.DisassociateQAppFromUser",
34 (
35 app: QApp,
36 ) => Effect.Effect<
37 (
38 request?: DisassociateQAppFromUserRequest,
39 ) => Effect.Effect<qapps.DisassociateQAppFromUserResponse, qapps.DisassociateQAppFromUserError>
40 >
41 > {}
42
43 export const DisassociateQAppFromUser = Binding.Service<DisassociateQAppFromUser>(
44 "AWS.QApps.DisassociateQAppFromUser",
45 );