| 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 { UpdateBrowserStream } from "./UpdateBrowserStream.ts"; |
| 5 | import type { BrowserCustom } from "./BrowserCustom.ts"; |
| 6 | |
| 7 | export const UpdateBrowserStreamHttp = Layer.effect( |
| 8 | UpdateBrowserStream, |
| 9 | makeAgentCoreHttpBinding({ |
| 10 | tag: "AWS.BedrockAgentCore.UpdateBrowserStream", |
| 11 | operation: agentcore.updateBrowserStream, |
| 12 | actions: ["bedrock-agentcore:UpdateBrowserStream"], |
| 13 | requestKey: "browserIdentifier", |
| 14 | identifier: (browser: BrowserCustom) => browser.browserId, |
| 15 | arns: (browser: BrowserCustom) => [browser.browserArn], |
| 16 | }), |
| 17 | ); |