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

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

export const GetCanaryHttp = Layer.effect(
  GetCanary,
  makeSyntheticsCanaryHttpBinding({
    tag: "AWS.Synthetics.GetCanary",
    operation: synthetics.getCanary,
    actions: ["synthetics:GetCanary"],
  }),
);