update_malware_protection_plan
async
¶
update_malware_protection_plan(
malware_protection_plan_id: String,
*,
config_overrides: Optional[AsyncGuardDutyClientConfig] = 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/async_guard_duty.py
6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 | |