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";
/**
* Runtime binding for `guardduty:GetMalwareScan`.
*
* Reads the status and result of an on-demand malware scan by scan id.
* Account-level operation — invoked with the caller's request as-is.
* Provide the implementation with
* `Effect.provide(AWS.GuardDuty.GetMalwareScanHttp)`.
* @binding
* @section Malware Protection
* @example Poll a Malware Scan
* ```typescript
* // init
* // init — account-level binding, no resource argument
* const getMalwareScan = yield* AWS.GuardDuty.GetMalwareScan();
*
* // runtime
* const { ScanStatus } = yield* getMalwareScan({ ScanId: scanId });
* ```
*/
export interface GetMalwareScan extends Binding.Service<
GetMalwareScan,
"AWS.GuardDuty.GetMalwareScan",
() => Effect.Effect<
(
request?: guardduty.GetMalwareScanRequest,
) => Effect.Effect<
guardduty.GetMalwareScanResponse,
guardduty.GetMalwareScanError
>
>
> {}
export const GetMalwareScan = Binding.Service<GetMalwareScan>(
"AWS.GuardDuty.GetMalwareScan",
);