Skip to content
TypeScript
517 B
Raw Blame
import * as emr from "@distilled.cloud/aws/emr-serverless";
import * as Layer from "effect/Layer";
import { makeEmrServerlessHttpBinding } from "./BindingHttp.ts";
import { ListJobRunAttempts } from "./ListJobRunAttempts.ts";

export const ListJobRunAttemptsHttp = Layer.effect(
  ListJobRunAttempts,
  makeEmrServerlessHttpBinding({
    tag: "AWS.EMRServerless.ListJobRunAttempts",
    operation: emr.listJobRunAttempts,
    actions: ["emr-serverless:ListJobRunAttempts"],
    subresources: ["/jobruns/*"],
  }),
);