Skip to content

DescribeQAppPermissions

Source: src/AWS/QApps/DescribeQAppPermissions.ts

Runtime binding for qapps:DescribeQAppPermissions.

Reads the principals and actions granted on the bound Q App. Provide the implementation with Effect.provide(AWS.QApps.DescribeQAppPermissionsHttp).

// init — bind the operation to the Q App
const describeQAppPermissions = yield* AWS.QApps.DescribeQAppPermissions(app);
// runtime
const permissions = yield* describeQAppPermissions();
console.log(permissions.permissions?.length);