@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 29 lines 1.03 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:ListInstanceFleets` — lists the bound cluster's instance fleets (instance-fleet clusters only) with target and provisioned capacities.
8 * ### Inspecting the Cluster
9 * **Example:** Read Fleet Capacities
10 * ```typescript
11 * const listInstanceFleets = yield* AWS.EMR.ListInstanceFleets(cluster);
12 *
13 * const { InstanceFleets } = yield* listInstanceFleets();
14 * ```
15 *
16 * @binding
17 */
18 export interface ListInstanceFleets extends Binding.Service<
19 ListInstanceFleets,
20 "AWS.EMR.ListInstanceFleets",
21 <C extends Cluster>(
22 cluster: C,
23 ) => Effect.Effect<
24 (
25 request?: Omit<SVC.ListInstanceFleetsInput, "ClusterId">,
26 ) => Effect.Effect<SVC.ListInstanceFleetsOutput, SVC.ListInstanceFleetsError>
27 >
28 > {}
29 export const ListInstanceFleets = Binding.Service<ListInstanceFleets>("AWS.EMR.ListInstanceFleets");