import type * as identitystore from "@distilled.cloud/aws/identitystore"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Instance } from "./Instance.ts"; /** * Runtime binding for the `GetGroupId` operation (IAM action * `identitystore:GetGroupId`), scoped to one {@link Instance}. * * Resolves a group's `GroupId` from a unique attribute (e.g. the display name) in the bound instance's identity store. The instance's * `IdentityStoreId` is injected from the binding. Provide the implementation with * `Effect.provide(AWS.IdentityCenter.GetGroupIdHttp)`. * ### Looking Up Groups * **Example:** Resolve a GroupId From a Display Name * ```typescript * // init — bind the operation to the Identity Center instance * const getGroupId = yield* AWS.IdentityCenter.GetGroupId(instance); * * // runtime * const { GroupId } = yield* getGroupId({ * AlternateIdentifier: { * UniqueAttribute: { * AttributePath: "displayName", * AttributeValue: "platform-engineers", * }, * }, * }); * ``` * * @binding */ export interface GetGroupId extends Binding.Service Effect.Effect<(request: Omit) => Effect.Effect>> { } export declare const GetGroupId: GetGroupId; //# sourceMappingURL=GetGroupId.d.ts.map