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)`. * ### 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(); * ``` * * @binding */ 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( "AWS.GuardDuty.ListMalwareScans", );