sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ NetworkFirewall/ StartFlowCaptureHttp.ts

import * as nfw from "@distilled.cloud/aws/network-firewall";
import * as Layer from "effect/Layer";
import { makeNetworkFirewallFirewallHttpBinding } from "./BindingHttp.ts";
import { StartFlowCapture } from "./StartFlowCapture.ts";

export const StartFlowCaptureHttp = Layer.effect(
  StartFlowCapture,
  makeNetworkFirewallFirewallHttpBinding({
    tag: "AWS.NetworkFirewall.StartFlowCapture",
    operation: nfw.startFlowCapture,
    actions: ["network-firewall:StartFlowCapture"],
  }),
);