1import type * as SVC from "@distilled.cloud/aws/emr";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4import 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 */
20export 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<
29 SVC.DescribePersistentAppUIOutput,
30 SVC.DescribePersistentAppUIError
31 >
32 >
33> {}
34export const DescribePersistentAppUI = Binding.Service<DescribePersistentAppUI>(
35 "AWS.EMR.DescribePersistentAppUI",
36);