Skip to content

ListEffectivePolicyValidationErrors

Source: src/AWS/Organizations/ListEffectivePolicyValidationErrors.ts

Runtime binding for organizations:ListEffectivePolicyValidationErrors.

Lists the validation errors in an account’s effective policy of the specified type — the reasons the aggregated policy is invalid. 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.ListEffectivePolicyValidationErrorsHttp).

// init — account-level binding, no resource argument
const listEffectivePolicyValidationErrors = yield* AWS.Organizations.ListEffectivePolicyValidationErrors();
// runtime
const { EffectivePolicyValidationErrors } =
yield* listEffectivePolicyValidationErrors({
AccountId: accountId,
PolicyType: "TAG_POLICY",
});