sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ DataBrew/ PublishRecipeHttp.ts

import * as databrew from "@distilled.cloud/aws/databrew";
import * as Layer from "effect/Layer";
import { makeDataBrewRecipeHttpBinding } from "./BindingHttp.ts";
import { PublishRecipe } from "./PublishRecipe.ts";

export const PublishRecipeHttp = Layer.effect(
  PublishRecipe,
  makeDataBrewRecipeHttpBinding({
    tag: "AWS.DataBrew.PublishRecipe",
    operation: databrew.publishRecipe,
    actions: ["databrew:PublishRecipe"],
  }),
);