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

main
ts 31 lines 1.07 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:RemoveAutoScalingPolicy` — detaches the automatic scaling policy from an instance group of the bound cluster.
8 * ### Scaling the Cluster
9 * **Example:** Remove a Group's Auto Scaling
10 * ```typescript
11 * const removeAutoScaling = yield* AWS.EMR.RemoveAutoScalingPolicy(cluster);
12 *
13 * yield* removeAutoScaling({ InstanceGroupId: taskGroupId });
14 * ```
15 *
16 * @binding
17 */
18 export interface RemoveAutoScalingPolicy extends Binding.Service<
19 RemoveAutoScalingPolicy,
20 "AWS.EMR.RemoveAutoScalingPolicy",
21 <C extends Cluster>(
22 cluster: C,
23 ) => Effect.Effect<
24 (
25 request: Omit<SVC.RemoveAutoScalingPolicyInput, "ClusterId">,
26 ) => Effect.Effect<SVC.RemoveAutoScalingPolicyOutput, SVC.RemoveAutoScalingPolicyError>
27 >
28 > {}
29 export const RemoveAutoScalingPolicy = Binding.Service<RemoveAutoScalingPolicy>(
30 "AWS.EMR.RemoveAutoScalingPolicy",
31 );