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:StartMalwareScan`.
*
* Starts an on-demand malware scan of an EC2 instance by ARN (GuardDuty Malware Protection for EC2).
* Account-level operation — invoked with the caller's request as-is.
* Provide the implementation with
* `Effect.provide(AWS.GuardDuty.StartMalwareScanHttp)`.
* @binding
* @section Malware Protection
* @example Scan an EC2 Instance
* ```typescript
* // init
* // init — account-level binding, no resource argument
* const startMalwareScan = yield* AWS.GuardDuty.StartMalwareScan();
*
* // runtime
* const { ScanId } = yield* startMalwareScan({
* ResourceArn: instanceArn,
* });
* ```
*/
export interface StartMalwareScan extends Binding.Service<
StartMalwareScan,
"AWS.GuardDuty.StartMalwareScan",
() => Effect.Effect<
(
request?: guardduty.StartMalwareScanRequest,
) => Effect.Effect<
guardduty.StartMalwareScanResponse,
guardduty.StartMalwareScanError
>
>
> {}
export const StartMalwareScan = Binding.Service<StartMalwareScan>(
"AWS.GuardDuty.StartMalwareScan",
);