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.

829 B
Raw Blame
import * as bda from "@distilled.cloud/aws/bedrock-data-automation";
import * as Layer from "effect/Layer";
import { makeBdaLibraryHttpBinding } from "./BindingHttp.ts";
import { GetDataAutomationLibraryIngestionJob } from "./GetDataAutomationLibraryIngestionJob.ts";

export const GetDataAutomationLibraryIngestionJobHttp = Layer.effect(
  GetDataAutomationLibraryIngestionJob,
  makeBdaLibraryHttpBinding({
    tag: "AWS.BedrockDataAutomation.GetDataAutomationLibraryIngestionJob",
    operation: bda.getDataAutomationLibraryIngestionJob,
    actions: ["bedrock:GetDataAutomationLibraryIngestionJob"],
    // The action authorizes against the ingestion-job resource (minted at
    // runtime), not the library ARN.
    additionalResources: [
      "arn:aws:bedrock:*:*:data-automation-library-ingestion-job/*",
    ],
  }),
);