sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Synthetics/ StopCanaryHttp.ts

import * as synthetics from "@distilled.cloud/aws/synthetics";
import * as Layer from "effect/Layer";
import { makeSyntheticsCanaryHttpBinding } from "./BindingHttp.ts";
import { StopCanary } from "./StopCanary.ts";

export const StopCanaryHttp = Layer.effect(
  StopCanary,
  makeSyntheticsCanaryHttpBinding({
    tag: "AWS.Synthetics.StopCanary",
    operation: synthetics.stopCanary,
    actions: ["synthetics:StopCanary"],
  }),
);