update_malware_protection_plan
¶
update_malware_protection_plan(
malware_protection_plan_id: String,
*,
config_overrides: Optional[GuardDutyClientConfig] = None,
role: Optional[String] = None,
actions: Optional[MalwareProtectionPlanActions] = None,
protected_resource: Optional[UpdateProtectedResource] = None,
) -> None
Updates an existing Malware Protection plan resource.
Parameters:
-
malware_protection_plan_id(String) –A unique identifier associated with the Malware Protection plan.
-
role(Optional[String], default:None) –Amazon Resource Name (ARN) of the IAM role with permissions to scan and add tags to the associated protected resource.
-
actions(Optional[MalwareProtectionPlanActions], default:None) –Information about whether the tags will be added to the S3 object after scanning.
-
protected_resource(Optional[UpdateProtectedResource], default:None) –Information about the protected resource that is associated with the created Malware Protection plan. Presently,
S3Bucketis the only supported protected resource.
Raises:
-
AccessDeniedException–An access denied exception object.
-
BadRequestException–A bad request exception object.
-
InternalServerErrorException–An internal server error exception object.
-
ResourceNotFoundException–The requested resource can't be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_guardduty/_services/guard_duty.py
6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 | |