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:RemoveAutoScalingPolicy` — detaches the automatic scaling policy from an instance group of the bound cluster. * ### Scaling the Cluster * **Example:** Remove a Group's Auto Scaling * ```typescript * const removeAutoScaling = yield* AWS.EMR.RemoveAutoScalingPolicy(cluster); * * yield* removeAutoScaling({ InstanceGroupId: taskGroupId }); * ``` * * @binding */ export interface RemoveAutoScalingPolicy extends Binding.Service< RemoveAutoScalingPolicy, "AWS.EMR.RemoveAutoScalingPolicy", ( cluster: C, ) => Effect.Effect< ( request: Omit, ) => Effect.Effect< SVC.RemoveAutoScalingPolicyOutput, SVC.RemoveAutoScalingPolicyError > > > {} export const RemoveAutoScalingPolicy = Binding.Service( "AWS.EMR.RemoveAutoScalingPolicy", );