import type * as resourcegroups from "@distilled.cloud/aws/resource-groups"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Group } from "./Group.ts"; /** Request for {@link UngroupResources} — the group is injected from the binding. */ export type UngroupResourcesRequest = Omit; /** * Runtime binding for `resource-groups:UngroupResources`. * * Removes the specified resources from the bound {@link Group} (the inverse * of {@link GroupResources} — supported for the same application / * host-management / capacity-reservation-pool group types). Ungrouping is * asynchronous; track the reported `Pending` ARNs with * {@link ListGroupingStatuses}. The group name is injected from the binding. * Provide the implementation with * `Effect.provide(AWS.ResourceGroups.UngroupResourcesHttp)`. * ### Managing Group Membership * **Example:** Remove A Resource From An Application Group * ```typescript * // init — bind the operation to the group * const ungroupResources = yield* AWS.ResourceGroups.UngroupResources(group); * * // runtime * const { Succeeded, Pending } = yield* ungroupResources({ * ResourceArns: [resourceArn], * }); * ``` * * @binding */ export interface UngroupResources extends Binding.Service Effect.Effect<(request: UngroupResourcesRequest) => Effect.Effect>> { } export declare const UngroupResources: UngroupResources; //# sourceMappingURL=UngroupResources.d.ts.map