sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ EMR/ CreatePersistentAppUIHttp.ts

import * as emr from "@distilled.cloud/aws/emr";
import * as Layer from "effect/Layer";
import { makeEmrClusterHttpBinding } from "./BindingHttp.ts";
import { CreatePersistentAppUI } from "./CreatePersistentAppUI.ts";

export const CreatePersistentAppUIHttp = Layer.effect(
  CreatePersistentAppUI,
  makeEmrClusterHttpBinding({
    tag: "AWS.EMR.CreatePersistentAppUI",
    operation: emr.createPersistentAppUI,
    actions: ["elasticmapreduce:CreatePersistentAppUI"],
    inject: "TargetResourceArn",
  }),
);