@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 20 lines 857 Bytes
Raw
1 import * as qbusiness from "@distilled.cloud/aws/qbusiness";
2 import { toWireMinutes } from "alchemy/Util/Duration";
3 import * as Layer from "effect/Layer";
4 import { makeQBusinessWebExperienceHttpBinding } from "./BindingHttp.ts";
5 import {
6 CreateAnonymousWebExperienceUrl,
7 type CreateAnonymousWebExperienceUrlRequest,
8 } from "./CreateAnonymousWebExperienceUrl.ts";
9
10 export const CreateAnonymousWebExperienceUrlHttp = Layer.effect(
11 CreateAnonymousWebExperienceUrl,
12 makeQBusinessWebExperienceHttpBinding({
13 tag: "AWS.QBusiness.CreateAnonymousWebExperienceUrl",
14 operation: qbusiness.createAnonymousWebExperienceUrl,
15 actions: ["qbusiness:CreateAnonymousWebExperienceUrl"],
16 prepare: (request: CreateAnonymousWebExperienceUrlRequest | undefined) => ({
17 sessionDurationInMinutes: toWireMinutes(request?.sessionDuration),
18 }),
19 }),
20 );