import type * as fms from "@distilled.cloud/aws/fms"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; /** * Request for {@link GetPolicy}. */ export interface GetPolicyRequest extends fms.GetPolicyRequest { } /** * Runtime binding for `fms:GetPolicy`. * * Returns the specified Firewall Manager policy. Provide the * implementation with `Effect.provide(AWS.FMS.GetPolicyHttp)`. * ### Reading Policies * **Example:** Read a Policy * ```typescript * // init — account-level binding takes no resource * const getPolicy = yield* AWS.FMS.GetPolicy(); * * // runtime * const result = yield* getPolicy({ PolicyId: policyId }); * console.log(result.Policy?.PolicyName); * ``` * * @binding */ export interface GetPolicy extends Binding.Service Effect.Effect<(request: GetPolicyRequest) => Effect.Effect>> { } export declare const GetPolicy: GetPolicy; //# sourceMappingURL=GetPolicy.d.ts.map