Skip to content

GetPolicy

Source: src/AWS/QBusiness/GetPolicy.ts

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

Reads the application’s resource-based permission policy (the statements ISV data accessors were granted). Provide the implementation with Effect.provide(AWS.QBusiness.GetPolicyHttp).

const getPolicy = yield* AWS.QBusiness.GetPolicy(app);
const { policy } = yield* getPolicy();