DescribeEffectivePolicy
Source:
src/AWS/Organizations/DescribeEffectivePolicy.ts
Runtime binding for organizations:DescribeEffectivePolicy.
Returns the contents of the effective policy of the specified type for an account — the aggregation of inherited plus directly attached management policies (tag, backup, AI-services opt-out, …).
Account-level operation — Organizations is a management-account-scoped
global service, so the binding takes no resource argument. Provide the
implementation with Effect.provide(AWS.Organizations.DescribeEffectivePolicyHttp).
Policies & Effective Policy
Section titled “Policies & Effective Policy”// init — account-level binding, no resource argumentconst describeEffectivePolicy = yield* AWS.Organizations.DescribeEffectivePolicy();
// runtimeconst { EffectivePolicy } = yield* describeEffectivePolicy({ PolicyType: "TAG_POLICY", TargetId: accountId,});