sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ EMRServerless/ ListJobRunAttemptsHttp.ts

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/*"],
  }),
);