delete_network_acl
¶
delete_network_acl(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
network_acl_id: Optional[NetworkAclId] = None,
) -> None
Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default 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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To delete a network ACL This example deletes the specified network ACL.
Source code in docs_src/capo_ec2/_services/ec2.py
17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 | |