Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

639 B
Raw Blame
import * as mediaconvert from "@distilled.cloud/aws/mediaconvert";
import * as Layer from "effect/Layer";
import { makeMediaConvertHttpBinding } from "./BindingHttp.ts";
import { StartJobsQuery } from "./StartJobsQuery.ts";

export const StartJobsQueryHttp = Layer.effect(
  StartJobsQuery,
  makeMediaConvertHttpBinding({
    capability: "StartJobsQuery",
    // The wire operation is StartJobsQuery but IAM authorizes the creation of
    // the query object as CreateJobsQuery — grant both spellings.
    iamActions: ["mediaconvert:StartJobsQuery", "mediaconvert:CreateJobsQuery"],
    operation: mediaconvert.startJobsQuery,
  }),
);