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:SendObjectMalwareScan`.
*
* Submits an S3 object for malware scanning under a Malware Protection plan covering its bucket.
* Account-level operation — invoked with the caller's request as-is.
* Provide the implementation with
* `Effect.provide(AWS.GuardDuty.SendObjectMalwareScanHttp)`.
* @binding
* @section Malware Protection
* @example Scan an S3 Object
* ```typescript
* // init
* // init — account-level binding, no resource argument
* const sendObjectMalwareScan = yield* AWS.GuardDuty.SendObjectMalwareScan();
*
* // runtime
* yield* sendObjectMalwareScan({
* S3Object: { Bucket: "my-bucket", Key: "upload.bin" },
* });
* ```
*/
export interface SendObjectMalwareScan extends Binding.Service<
SendObjectMalwareScan,
"AWS.GuardDuty.SendObjectMalwareScan",
() => Effect.Effect<
(
request?: guardduty.SendObjectMalwareScanRequest,
) => Effect.Effect<
guardduty.SendObjectMalwareScanResponse,
guardduty.SendObjectMalwareScanError
>
>
> {}
export const SendObjectMalwareScan = Binding.Service<SendObjectMalwareScan>(
"AWS.GuardDuty.SendObjectMalwareScan",
);