Skip to content
TypeScript
512 B
Raw Blame
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",
  }),
);