1import * as resourcegroups from "@distilled.cloud/aws/resource-groups";
2import * as Layer from "effect/Layer";
3import { makeResourceGroupsGroupHttpBinding } from "./BindingHttp.ts";
4import { UngroupResources } from "./UngroupResources.ts";
5
6export const UngroupResourcesHttp = Layer.effect(
7 UngroupResources,
8 makeResourceGroupsGroupHttpBinding({
9 tag: "AWS.ResourceGroups.UngroupResources",
10 operation: resourcegroups.ungroupResources,
11 actions: ["resource-groups:UngroupResources"],
12 // Application-group membership is removed by untagging the member
13 // through the Resource Groups Tagging API.
14 supportingActions: ["tag:GetResources", "tag:UntagResources"],
15 }),
16);