ListAccountsWithInvalidEffectivePolicy
Source:
src/AWS/Organizations/ListAccountsWithInvalidEffectivePolicy.ts
Runtime binding for organizations:ListAccountsWithInvalidEffectivePolicy.
Lists the accounts whose effective policy of the specified type is invalid — e.g. exceeds the size limit after policy inheritance.
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.ListAccountsWithInvalidEffectivePolicyHttp).
Policies & Effective Policy
Section titled “Policies & Effective Policy”// init — account-level binding, no resource argumentconst listAccountsWithInvalidEffectivePolicy = yield* AWS.Organizations.ListAccountsWithInvalidEffectivePolicy();
// runtimeconst { Accounts } = yield* listAccountsWithInvalidEffectivePolicy({ PolicyType: "TAG_POLICY",});