import type * as SVC from "@distilled.cloud/aws/emr"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Cluster } from "./Cluster.ts"; /** * Runtime binding for `elasticmapreduce:RemoveManagedScalingPolicy` — detaches the bound cluster's managed scaling policy. * ### Scaling the Cluster * **Example:** Disable Managed Scaling * ```typescript * const removeScalingPolicy = * yield* AWS.EMR.RemoveManagedScalingPolicy(cluster); * * yield* removeScalingPolicy(); * ``` * * @binding */ export interface RemoveManagedScalingPolicy extends Binding.Service< RemoveManagedScalingPolicy, "AWS.EMR.RemoveManagedScalingPolicy", ( cluster: C, ) => Effect.Effect< ( request?: Omit, ) => Effect.Effect< SVC.RemoveManagedScalingPolicyOutput, SVC.RemoveManagedScalingPolicyError > > > {} export const RemoveManagedScalingPolicy = Binding.Service( "AWS.EMR.RemoveManagedScalingPolicy", );