import type * as vpclattice from "@distilled.cloud/aws/vpc-lattice"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { TargetGroup } from "./TargetGroup.ts"; /** * `DeregisterTargets` request with `targetGroupIdentifier` injected from the * bound {@link TargetGroup}. */ export interface DeregisterTargetsRequest extends Omit { } /** * Runtime binding for the `DeregisterTargets` operation (IAM action * `vpc-lattice:DeregisterTargets` on the target group ARN). * * Deregisters targets from the bound {@link TargetGroup} at runtime — the * graceful-drain half of dynamic self-registration. Provide the * implementation with `Effect.provide(AWS.VpcLattice.DeregisterTargetsHttp)`. * ### Managing Targets at Runtime * **Example:** Deregister a target * ```typescript * const deregisterTargets = yield* AWS.VpcLattice.DeregisterTargets(targetGroup); * * yield* deregisterTargets({ targets: [{ id: "10.0.1.10", port: 80 }] }); * ``` * * @binding */ export interface DeregisterTargets extends Binding.Service Effect.Effect<(request: DeregisterTargetsRequest) => Effect.Effect>> { } export declare const DeregisterTargets: DeregisterTargets; //# sourceMappingURL=DeregisterTargets.d.ts.map