Deletes the specified ingress or egress entry (rule) from the specified network ACL.
ec2_delete_network_acl_entry(DryRun, Egress, NetworkAclId, RuleNumber)
An empty list.
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
.
[required] Indicates whether the rule is an egress rule.
[required] The ID of the network ACL.
[required] The rule number of the entry to delete.
svc$delete_network_acl_entry(
DryRun = TRUE|FALSE,
Egress = TRUE|FALSE,
NetworkAclId = "string",
RuleNumber = 123
)
if (FALSE) {
# This example deletes ingress rule number 100 from the specified network
# ACL.
svc$delete_network_acl_entry(
Egress = TRUE,
NetworkAclId = "acl-5fb85d36",
RuleNumber = 100L
)
}
Run the code above in your browser using DataLab