import type * as guardduty from "@distilled.cloud/aws/guardduty";
import * as Binding from "alchemy/Binding";
import type * as Effect from "effect/Effect";
/**
* 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)`.
* ### 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 });
* ```
*
* @binding
*/
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");