GuardDutyClient.get_malware_scan
rboto-guardduty==0.4.0 · Service index · Types
Model summary (excerpt): Retrieves the detailed information for a specific malware scan. Each member account can view the malware scan details for their own account. An administrator can view malware scan details for all accounts in the organization. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For...
Install and imports
Signature
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
scan_id |
Yes | A unique identifier that gets generated when you invoke the API without any error. Each malware scan has a corresponding scan ID. Using this scan ID, you can monitor the status of your malware scan. |
Output
GetMalwareScanOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
scan_id |
str | None |
Always present | — |
detector_id |
str | None |
Always present | — |
admin_detector_id |
str | None |
Always present | — |
resource_arn |
str | None |
Always present | — |
resource_type |
MalwareProtectionResourceTypeOutput | None |
Always present | MalwareProtectionResourceTypeOutput |
scanned_resources_count |
int | None |
Always present | — |
skipped_resources_count |
int | None |
Always present | — |
failed_resources_count |
int | None |
Always present | — |
scanned_resources |
list[ScannedResourceOutput] | None |
Always present | ScannedResourceOutput |
scan_configuration |
ScanConfigurationOutput | None |
Always present | ScanConfigurationOutput |
scan_category |
ScanCategoryOutput | None |
Always present | ScanCategoryOutput |
scan_status |
MalwareProtectionScanStatusOutput | None |
Always present | MalwareProtectionScanStatusOutput |
scan_status_reason |
ScanStatusReasonOutput | None |
Always present | ScanStatusReasonOutput |
scan_type |
MalwareProtectionScanTypeOutput | None |
Always present | MalwareProtectionScanTypeOutput |
scan_started_at |
str | None |
Always present | — |
scan_completed_at |
str | None |
Always present | — |
scan_result_details |
GetMalwareScanResultDetailsOutput | None |
Always present | GetMalwareScanResultDetailsOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_guardduty.exceptions:
BadRequestError, InternalServerError, ResourceNotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.