PutGroup
Source:
src/AWS/QBusiness/PutGroup.ts
Runtime binding for the PutGroup operation (IAM action
qbusiness:PutGroup), scoped to one Index.
Creates or replaces a group’s membership (users and sub groups)
used to enforce document access control at query time.
Provide the implementation with
Effect.provide(AWS.QBusiness.PutGroupHttp).
Principal Mapping
Section titled “Principal Mapping”const putGroup = yield* AWS.QBusiness.PutGroup(index);
yield* putGroup({ groupName: "engineering", type: "INDEX", groupMembers: { memberUsers: [{ userId: "user@example.com", type: "INDEX" }], },});