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.2 KB
Raw Blame
import type * as guardduty from "@distilled.cloud/aws/guardduty";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";

/**
 * Runtime binding for `guardduty:ListMalwareScans`.
 *
 * Lists the account's on-demand malware scans with optional filter and sort criteria.
 * Account-level operation — invoked with the caller's request as-is.
 * Provide the implementation with
 * `Effect.provide(AWS.GuardDuty.ListMalwareScansHttp)`.
 * @binding
 * @section Malware Protection
 * @example List On-Demand Scans
 * ```typescript
 * // init
 * // init — account-level binding, no resource argument
 * const listMalwareScans = yield* AWS.GuardDuty.ListMalwareScans();
 *
 * // runtime
 * const { Scans } = yield* listMalwareScans();
 * ```
 */
export interface ListMalwareScans extends Binding.Service<
  ListMalwareScans,
  "AWS.GuardDuty.ListMalwareScans",
  () => Effect.Effect<
    (
      request?: guardduty.ListMalwareScansRequest,
    ) => Effect.Effect<
      guardduty.ListMalwareScansResponse,
      guardduty.ListMalwareScansError
    >
  >
> {}
export const ListMalwareScans = Binding.Service<ListMalwareScans>(
  "AWS.GuardDuty.ListMalwareScans",
);