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 type * as auditmanager from "@distilled.cloud/aws/auditmanager";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";
import type { Assessment } from "./Assessment.ts";
/** `GetInsightsByAssessment` request with `assessmentId` injected from the bound {@link Assessment}. */
export interface GetInsightsByAssessmentRequest extends Omit<
auditmanager.GetInsightsByAssessmentRequest,
"assessmentId"
> {}
/**
* Runtime binding for `auditmanager:GetInsightsByAssessment`.
*
* Gets the latest analytics data for the bound assessment. Provide the
* implementation with `Effect.provide(AWS.AuditManager.GetInsightsByAssessmentHttp)`.
* @binding
* @section Insights
* @example Insights for the Bound Assessment
* ```typescript
* const getInsightsByAssessment = yield* AWS.AuditManager.GetInsightsByAssessment(assessment);
* const result = yield* getInsightsByAssessment();
* ```
*/
export interface GetInsightsByAssessment extends Binding.Service<
GetInsightsByAssessment,
"AWS.AuditManager.GetInsightsByAssessment",
(
assessment: Assessment,
) => Effect.Effect<
(
request?: GetInsightsByAssessmentRequest,
) => Effect.Effect<
auditmanager.GetInsightsByAssessmentResponse,
auditmanager.GetInsightsByAssessmentError
>
>
> {}
export const GetInsightsByAssessment = Binding.Service<GetInsightsByAssessment>(
"AWS.AuditManager.GetInsightsByAssessment",
);