Skip to content

GetMalwareScan

Source: src/AWS/GuardDuty/GetMalwareScan.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).

// init
// init — account-level binding, no resource argument
const getMalwareScan = yield* AWS.GuardDuty.GetMalwareScan();
// runtime
const { ScanStatus } = yield* getMalwareScan({ ScanId: scanId });