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.0 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:GetCisScanReport`.
 *
 * Retrieves a CIS scan report.
 *
 * Provide the implementation with
 * `Effect.provide(AWS.Inspector2.GetCisScanReportHttp)`.
 * @binding
 * @section CIS Scan Results
 * @example Download a CIS Scan Report
 * ```typescript
 * // init
 * const getCisScanReport = yield* AWS.Inspector2.GetCisScanReport();
 *
 * // runtime
 * const { url, status } = yield* getCisScanReport({ scanArn });
 * ```
 */
export interface GetCisScanReport extends Binding.Service<
  GetCisScanReport,
  "AWS.Inspector2.GetCisScanReport",
  () => Effect.Effect<
    (
      request: inspector2.GetCisScanReportRequest,
    ) => Effect.Effect<
      inspector2.GetCisScanReportResponse,
      inspector2.GetCisScanReportError
    >
  >
> {}
export const GetCisScanReport = Binding.Service<GetCisScanReport>(
  "AWS.Inspector2.GetCisScanReport",
);