1import type * as guardduty from "@distilled.cloud/aws/guardduty";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `guardduty:ListMalwareScans`.
7 *
8 * Lists the account's on-demand malware scans with optional filter and sort criteria.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.GuardDuty.ListMalwareScansHttp)`.
12 * ### Malware Protection
13 * **Example:** List On-Demand Scans
14 * ```typescript
15 * // init
16 * // init — account-level binding, no resource argument
17 * const listMalwareScans = yield* AWS.GuardDuty.ListMalwareScans();
18 *
19 * // runtime
20 * const { Scans } = yield* listMalwareScans();
21 * ```
22 *
23 * @binding
24 */
25export interface ListMalwareScans extends Binding.Service<
26 ListMalwareScans,
27 "AWS.GuardDuty.ListMalwareScans",
28 () => Effect.Effect<
29 (
30 request?: guardduty.ListMalwareScansRequest,
31 ) => Effect.Effect<
32 guardduty.ListMalwareScansResponse,
33 guardduty.ListMalwareScansError
34 >
35 >
36> {}
37export const ListMalwareScans = Binding.Service<ListMalwareScans>(
38 "AWS.GuardDuty.ListMalwareScans",
39);