Skip to content

UpdateQAppPermissions

Source: src/AWS/QApps/UpdateQAppPermissions.ts

Runtime binding for qapps:UpdateQAppPermissions.

Grants or revokes read/edit permissions on the bound Q App for Identity Center principals. Provide the implementation with Effect.provide(AWS.QApps.UpdateQAppPermissionsHttp).

// init — bind the operation to the Q App
const updateQAppPermissions = yield* AWS.QApps.UpdateQAppPermissions(app);
// runtime
yield* updateQAppPermissions({
grantPermissions: [{ action: "read", principal: userId }],
});