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

main
ts 44 lines 1.42 KB
Raw
1 import type * as SVC from "@distilled.cloud/aws/databrew";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { Project } from "./Project.ts";
5
6 export interface SendProjectSessionActionRequest extends Omit<
7 SVC.SendProjectSessionActionRequest,
8 "Name"
9 > {}
10
11 /**
12 * Runtime binding for `databrew:SendProjectSessionAction` — performs a
13 * recipe step (optionally as a preview) inside an open interactive session
14 * on the bound DataBrew project. Authenticate with the `Redacted`
15 * `ClientSessionId` returned by {@link StartProjectSession}.
16 * ### Interactive Sessions
17 * **Example:** Preview a Recipe Step
18 * ```typescript
19 * const sendProjectSessionAction =
20 * yield* AWS.DataBrew.SendProjectSessionAction(project);
21 *
22 * const { ActionId } = yield* sendProjectSessionAction({
23 * Preview: true,
24 * ClientSessionId: clientSessionId,
25 * ViewFrame: { StartColumnIndex: 0 },
26 * });
27 * ```
28 *
29 * @binding
30 */
31 export interface SendProjectSessionAction extends Binding.Service<
32 SendProjectSessionAction,
33 "AWS.DataBrew.SendProjectSessionAction",
34 <P extends Project>(
35 project: P,
36 ) => Effect.Effect<
37 (
38 request?: SendProjectSessionActionRequest,
39 ) => Effect.Effect<SVC.SendProjectSessionActionResponse, SVC.SendProjectSessionActionError>
40 >
41 > {}
42 export const SendProjectSessionAction = Binding.Service<SendProjectSessionAction>(
43 "AWS.DataBrew.SendProjectSessionAction",
44 );