import type * as organizations from "@distilled.cloud/aws/organizations"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.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 * **Example:** Read an Account's Effective Tag Policy * ```typescript * // init — account-level binding, no resource argument * const describeEffectivePolicy = yield* AWS.Organizations.DescribeEffectivePolicy(); * * // runtime * const { EffectivePolicy } = yield* describeEffectivePolicy({ * PolicyType: "TAG_POLICY", * TargetId: accountId, * }); * ``` * * @binding */ export interface DescribeEffectivePolicy extends Binding.Service Effect.Effect<(request: organizations.DescribeEffectivePolicyRequest) => Effect.Effect>> { } export declare const DescribeEffectivePolicy: DescribeEffectivePolicy; //# sourceMappingURL=DescribeEffectivePolicy.d.ts.map