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

main
ts 13 lines 439 Bytes
Raw
1 import * as identitystore from "@distilled.cloud/aws/identitystore";
2 import * as Layer from "effect/Layer";
3 import { makeIdentityStoreHttpBinding } from "./BindingHttp.ts";
4 import { GetUserId } from "./GetUserId.ts";
5
6 export const GetUserIdHttp = Layer.effect(
7 GetUserId,
8 makeIdentityStoreHttpBinding({
9 tag: "AWS.IdentityCenter.GetUserId",
10 operation: identitystore.getUserId,
11 actions: ["identitystore:GetUserId"],
12 }),
13 );