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
6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 | |