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 `GetGroupMembershipId` operation (IAM action * `identitystore:GetGroupMembershipId`), scoped to one {@link Instance}. * * Resolves the `MembershipId` linking a user to a group in the bound instance's identity store. The instance's * `IdentityStoreId` is injected from the binding. Provide the implementation with * `Effect.provide(AWS.IdentityCenter.GetGroupMembershipIdHttp)`. * ### Querying Group Memberships * **Example:** Resolve a MembershipId * ```typescript * // init — bind the operation to the Identity Center instance * const getGroupMembershipId = yield* AWS.IdentityCenter.GetGroupMembershipId(instance); * * // runtime * const { MembershipId } = yield* getGroupMembershipId({ * GroupId: groupId, * MemberId: { UserId: userId }, * }); * ``` * * @binding */ export interface GetGroupMembershipId extends Binding.Service Effect.Effect<(request: Omit) => Effect.Effect>> { } export declare const GetGroupMembershipId: GetGroupMembershipId; //# sourceMappingURL=GetGroupMembershipId.d.ts.map