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

main
ts 33 lines 1.08 KB
Raw
1 import type * as SVC from "@distilled.cloud/aws/emr";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { Cluster } from "./Cluster.ts";
5
6 /**
7 * Runtime binding for `elasticmapreduce:DescribePersistentAppUI` — reads a persistent application UI created for the bound cluster by {@link CreatePersistentAppUI}.
8 * ### Application UIs
9 * **Example:** Wait for the UI to Attach
10 * ```typescript
11 * const describeAppUI = yield* AWS.EMR.DescribePersistentAppUI(cluster);
12 *
13 * const { PersistentAppUI } = yield* describeAppUI({
14 * PersistentAppUIId: appUIId,
15 * });
16 * ```
17 *
18 * @binding
19 */
20 export interface DescribePersistentAppUI extends Binding.Service<
21 DescribePersistentAppUI,
22 "AWS.EMR.DescribePersistentAppUI",
23 <C extends Cluster>(
24 cluster: C,
25 ) => Effect.Effect<
26 (
27 request: SVC.DescribePersistentAppUIInput,
28 ) => Effect.Effect<SVC.DescribePersistentAppUIOutput, SVC.DescribePersistentAppUIError>
29 >
30 > {}
31 export const DescribePersistentAppUI = Binding.Service<DescribePersistentAppUI>(
32 "AWS.EMR.DescribePersistentAppUI",
33 );