Skip to content

UpdateUser

Source: src/AWS/QBusiness/UpdateUser.ts

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

Adds and removes alias mappings for a user. Provide the implementation with Effect.provide(AWS.QBusiness.UpdateUserHttp).

const updateUser = yield* AWS.QBusiness.UpdateUser(app);
yield* updateUser({
userId: "user@example.com",
userAliasesToUpdate: [{ userId: "corp\\user" }],
});