modify_security_group_rules
async
¶
modify_security_group_rules(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
53036 53037 53038 53039 53040 53041 53042 53043 53044 53045 53046 53047 53048 53049 53050 53051 53052 53053 53054 53055 53056 53057 53058 53059 53060 53061 53062 53063 53064 53065 53066 53067 53068 53069 53070 53071 53072 53073 53074 53075 53076 53077 53078 53079 53080 53081 53082 53083 53084 53085 53086 53087 53088 53089 | |