delete_network_acl_entry
¶
delete_network_acl_entry(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
network_acl_id: Optional[NetworkAclId] = None,
rule_number: Optional[Integer] = None,
egress: Optional[Boolean] = None,
) -> None
Deletes the specified ingress or egress entry (rule) from the specified network ACL.
Parameters:
-
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. -
network_acl_id(Optional[NetworkAclId], default:None) –The ID of the network ACL.
-
rule_number(Optional[Integer], default:None) –The rule number of the entry to delete.
-
egress(Optional[Boolean], default:None) –Indicates whether the rule is an egress rule.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To delete a network ACL entry This example deletes ingress rule number 100 from the specified network ACL.
Source code in docs_src/capo_ec2/_services/ec2.py
17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 | |