The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import * as agentcore from "@distilled.cloud/aws/bedrock-agentcore"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeAgentCoreHttpBinding } from "./BindingHttp.ts"; |
| 4 | import type { CodeInterpreter } from "./CodeInterpreter.ts"; |
| 5 | import { GetCodeInterpreterSession } from "./GetCodeInterpreterSession.ts"; |
| 6 | |
| 7 | export const GetCodeInterpreterSessionHttp = Layer.effect( |
| 8 | GetCodeInterpreterSession, |
| 9 | makeAgentCoreHttpBinding({ |
| 10 | tag: "AWS.BedrockAgentCore.GetCodeInterpreterSession", |
| 11 | operation: agentcore.getCodeInterpreterSession, |
| 12 | actions: ["bedrock-agentcore:GetCodeInterpreterSession"], |
| 13 | requestKey: "codeInterpreterIdentifier", |
| 14 | identifier: (codeInterpreter: CodeInterpreter) => codeInterpreter.codeInterpreterId, |
| 15 | arns: (codeInterpreter: CodeInterpreter) => [codeInterpreter.codeInterpreterArn], |
| 16 | }), |
| 17 | ); |