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

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

export const GetClusterSessionCredentialsHttp = Layer.effect(
  GetClusterSessionCredentials,
  makeEmrClusterHttpBinding({
    tag: "AWS.EMR.GetClusterSessionCredentials",
    operation: emr.getClusterSessionCredentials,
    actions: ["elasticmapreduce:GetClusterSessionCredentials"],
  }),
);