Skip to content

ModifySecurityGroupRulesRequest

Source code in docs_src/capo_ec2/types/modify_security_group_rules_request.py
class ModifySecurityGroupRulesRequest(TypedDict, closed=True):
    group_id: NotRequired["capo_ec2.types.security_group_id.SecurityGroupId"]
    """<p>The ID of the security group.</p>"""
    security_group_rules: NotRequired[
        "capo_ec2.types.security_group_rule_update_list.SecurityGroupRuleUpdateList"
    ]
    """<p>Information about the security group properties to update.</p>"""
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""

dry_run instance-attribute

dry_run: NotRequired[Boolean]

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 is UnauthorizedOperation.

group_id instance-attribute

group_id: NotRequired[SecurityGroupId]

The ID of the security group.

security_group_rules instance-attribute

security_group_rules: NotRequired[SecurityGroupRuleUpdateList]

Information about the security group properties to update.