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.
import type * as guardduty from "@distilled.cloud/aws/guardduty";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";
import type { Detector } from "./Detector.ts";
/**
* Runtime binding for `guardduty:GetMalwareScanSettings`.
*
* Reads the detector's EC2 malware scan settings — scan resource criteria and EBS snapshot preservation.
* The detector id is injected from the bound {@link Detector}.
* Provide the implementation with
* `Effect.provide(AWS.GuardDuty.GetMalwareScanSettingsHttp)`.
* @binding
* @section Malware Protection
* @example Read Malware Scan Settings
* ```typescript
* // init
* const getMalwareScanSettings = yield* AWS.GuardDuty.GetMalwareScanSettings(detector);
*
* // runtime
* const { ScanResourceCriteria } = yield* getMalwareScanSettings();
* ```
*/
export interface GetMalwareScanSettings extends Binding.Service<
GetMalwareScanSettings,
"AWS.GuardDuty.GetMalwareScanSettings",
(
detector: Detector,
) => Effect.Effect<
(
request?: Omit<guardduty.GetMalwareScanSettingsRequest, "DetectorId">,
) => Effect.Effect<
guardduty.GetMalwareScanSettingsResponse,
guardduty.GetMalwareScanSettingsError
>
>
> {}
export const GetMalwareScanSettings = Binding.Service<GetMalwareScanSettings>(
"AWS.GuardDuty.GetMalwareScanSettings",
);