modify_security_group_rules
¶
modify_security_group_rules(
*,
config_overrides: Optional[EC2ClientConfig] = None,
group_id: Optional[SecurityGroupId] = None,
security_group_rules: Optional[SecurityGroupRuleUpdateList] = None,
dry_run: Optional[Boolean] = None,
) -> ModifySecurityGroupRulesResult
Modifies the rules of a security group.
Parameters:
-
group_id(Optional[SecurityGroupId], default:None) –The ID of the security group.
-
security_group_rules(Optional[SecurityGroupRuleUpdateList], default:None) –Information about the security group properties to update.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
52308 52309 52310 52311 52312 52313 52314 52315 52316 52317 52318 52319 52320 52321 52322 52323 52324 52325 52326 52327 52328 52329 52330 52331 52332 52333 52334 52335 52336 52337 52338 52339 52340 52341 52342 52343 52344 52345 52346 52347 52348 52349 52350 52351 52352 52353 52354 52355 52356 52357 52358 52359 52360 | |