The best way to control Claude Code, Codex and more from any computer or phone

main
ts 13 lines 528 Bytes
Raw
1 import * as emr from "@distilled.cloud/aws/emr";
2 import * as Layer from "effect/Layer";
3 import { makeEmrClusterHttpBinding } from "./BindingHttp.ts";
4 import { GetClusterSessionCredentials } from "./GetClusterSessionCredentials.ts";
5
6 export const GetClusterSessionCredentialsHttp = Layer.effect(
7 GetClusterSessionCredentials,
8 makeEmrClusterHttpBinding({
9 tag: "AWS.EMR.GetClusterSessionCredentials",
10 operation: emr.getClusterSessionCredentials,
11 actions: ["elasticmapreduce:GetClusterSessionCredentials"],
12 }),
13 );