GetGroupId
Source:
src/AWS/IdentityCenter/GetGroupId.ts
Runtime binding for the GetGroupId operation (IAM action
identitystore:GetGroupId), scoped to one 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
Section titled “Looking Up Groups”// init — bind the operation to the Identity Center instanceconst getGroupId = yield* AWS.IdentityCenter.GetGroupId(instance);
// runtimeconst { GroupId } = yield* getGroupId({ AlternateIdentifier: { UniqueAttribute: { AttributePath: "displayName", AttributeValue: "platform-engineers", }, },});