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.
import * as guardduty from "@distilled.cloud/aws/guardduty";
import * as Layer from "effect/Layer";
import { makeGuardDutyDetectorHttpBinding } from "./BindingHttp.ts";
import { GetCoverageStatistics } from "./GetCoverageStatistics.ts";
export const GetCoverageStatisticsHttp = Layer.effect(
GetCoverageStatistics,
makeGuardDutyDetectorHttpBinding({
tag: "AWS.GuardDuty.GetCoverageStatistics",
operation: guardduty.getCoverageStatistics,
actions: ["guardduty:GetCoverageStatistics"],
// One of the two GuardDuty actions that supports resource-level
// permissions on the detector ARN.
resourceLevel: true,
}),
);