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 ListGroupResources} — the group is injected from the binding. */ export type ListGroupResourcesRequest = Omit; /** * Runtime binding for `resource-groups:ListGroupResources`. * * Enumerates the member resources of the bound {@link Group} — for a * tag-based group the resources currently matching the query, for an * application or configuration group the explicitly grouped members. The * group name is injected from the binding; the grant also includes the * `tag:GetResources` / CloudFormation read-through permissions the * enumeration fans out to. Provide the implementation with * `Effect.provide(AWS.ResourceGroups.ListGroupResourcesHttp)`. * ### Enumerating Group Members * **Example:** List A Group's Member ARNs * ```typescript * // init — bind the operation to the group * const listGroupResources = yield* AWS.ResourceGroups.ListGroupResources(group); * * // runtime * const { Resources } = yield* listGroupResources(); * const arns = (Resources ?? []).map((r) => r.Identifier?.ResourceArn); * ``` * * @binding */ export interface ListGroupResources extends Binding.Service Effect.Effect<(request?: ListGroupResourcesRequest) => Effect.Effect>> { } export declare const ListGroupResources: ListGroupResources; //# sourceMappingURL=ListGroupResources.d.ts.map