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
| 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:RemoveManagedScalingPolicy` — detaches the bound cluster's managed scaling policy. |
| 8 | * ### Scaling the Cluster |
| 9 | * **Example:** Disable Managed Scaling |
| 10 | * ```typescript |
| 11 | * const removeScalingPolicy = |
| 12 | * yield* AWS.EMR.RemoveManagedScalingPolicy(cluster); |
| 13 | * |
| 14 | * yield* removeScalingPolicy(); |
| 15 | * ``` |
| 16 | * |
| 17 | * @binding |
| 18 | */ |
| 19 | export interface RemoveManagedScalingPolicy extends Binding.Service< |
| 20 | RemoveManagedScalingPolicy, |
| 21 | "AWS.EMR.RemoveManagedScalingPolicy", |
| 22 | <C extends Cluster>( |
| 23 | cluster: C, |
| 24 | ) => Effect.Effect< |
| 25 | ( |
| 26 | request?: Omit<SVC.RemoveManagedScalingPolicyInput, "ClusterId">, |
| 27 | ) => Effect.Effect<SVC.RemoveManagedScalingPolicyOutput, SVC.RemoveManagedScalingPolicyError> |
| 28 | > |
| 29 | > {} |
| 30 | export const RemoveManagedScalingPolicy = Binding.Service<RemoveManagedScalingPolicy>( |
| 31 | "AWS.EMR.RemoveManagedScalingPolicy", |
| 32 | ); |