Skip to content

GetUser

Source: src/AWS/QBusiness/GetUser.ts

Runtime binding for the GetUser operation (IAM action qbusiness:GetUser), scoped to one Application.

Reads a user’s alias mappings from the application user store. Provide the implementation with Effect.provide(AWS.QBusiness.GetUserHttp).

const getUser = yield* AWS.QBusiness.GetUser(app);
const { userAliases } = yield* getUser({ userId: "user@example.com" });