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.

1.1 KB
Raw Blame
import type * as inspector2 from "@distilled.cloud/aws/inspector2";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";

/**
 * Runtime binding for `inspector2:CancelFindingsReport`.
 *
 * Cancels the given findings report.
 *
 * Provide the implementation with
 * `Effect.provide(AWS.Inspector2.CancelFindingsReportHttp)`.
 * @binding
 * @section Findings Reports & SBOM Exports
 * @example Cancel a Findings Report
 * ```typescript
 * // init
 * const cancelFindingsReport = yield* AWS.Inspector2.CancelFindingsReport();
 *
 * // runtime
 * yield* cancelFindingsReport({ reportId });
 * ```
 */
export interface CancelFindingsReport extends Binding.Service<
  CancelFindingsReport,
  "AWS.Inspector2.CancelFindingsReport",
  () => Effect.Effect<
    (
      request: inspector2.CancelFindingsReportRequest,
    ) => Effect.Effect<
      inspector2.CancelFindingsReportResponse,
      inspector2.CancelFindingsReportError
    >
  >
> {}
export const CancelFindingsReport = Binding.Service<CancelFindingsReport>(
  "AWS.Inspector2.CancelFindingsReport",
);