GuardDutyClient.get_malware_protection_plan
rboto-guardduty==0.4.0 · Service index · Types
Model summary (excerpt): Retrieves the Malware Protection plan details associated with a Malware Protection plan ID.
Install and imports
from rboto import GuardDutyClient
from rboto_guardduty.types import (
GetMalwareProtectionPlanOutput,
)
Signature
async def get_malware_protection_plan(
*,
malware_protection_plan_id: str,
) -> GetMalwareProtectionPlanOutput: ...
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) |
|---|---|---|
malware_protection_plan_id |
Yes | A unique identifier associated with Malware Protection plan resource. |
Output
GetMalwareProtectionPlanOutput.
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 |
|---|---|---|---|
arn |
str | None |
Always present | — |
role |
str | None |
Always present | — |
protected_resource |
CreateProtectedResourceOutput | None |
Always present | CreateProtectedResourceOutput |
actions |
MalwareProtectionPlanActionsOutput | None |
Always present | MalwareProtectionPlanActionsOutput |
created_at |
str | None |
Always present | — |
status |
MalwareProtectionPlanStatusOutput | None |
Always present | MalwareProtectionPlanStatusOutput |
status_reasons |
list[MalwareProtectionPlanStatusReasonOutput] | None |
Always present | MalwareProtectionPlanStatusReasonOutput |
tags |
dict[str, str] | None |
Always present | — |
| 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
GetMalwareProtectionPlanOutput
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:
AccessDeniedError, BadRequestError, InternalServerError, ResourceNotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.