delete_network_acl
async
¶
delete_network_acl(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 | |