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