| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Deletes an ingress or egress entry (i.e., rule) from a network ACL. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide.
NetworkAclIdThe ID of the network ACL.
Type: String
Default: None
Required: Yes
RuleNumberThe rule number for the entry to delete.
Type: Integer
Default: None
Required: Yes
EgressSpecifies whether the rule to delete is an egress rule (true) or
ingress rule (false).
Type: Boolean
Default: false
Valid values: true | false
Required: No
The following elements are returned in a
DeleteNetworkAclEntryResponse element.
requestIdThe ID of the request.
Type: xsd:string
returnReturns true if the request succeeds. Otherwise, returns an error.
Type: xsd:boolean
This example deletes the ingress entry with rule number 100 from the network ACL with ID acl-2cb85d45.
https://ec2.amazonaws.com/?Action=DeleteNetworkAclEntry &NetworkAclId=acl-2cb85d45 &RuleNumber=100 &AUTHPARAMS
<DeleteNetworkAclEntryResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </DeleteNetworkAclEntryResponse>