Skip to content

Delete Network Acl Entry

ec2_delete_network_acl_entry R Documentation

Deletes the specified ingress or egress entry (rule) from the specified network ACL

Description

Deletes the specified ingress or egress entry (rule) from the specified network ACL.

Usage

ec2_delete_network_acl_entry(DryRun, Egress, NetworkAclId, RuleNumber)

Arguments

DryRun

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.

Egress

[required] Indicates whether the rule is an egress rule.

NetworkAclId

[required] The ID of the network ACL.

RuleNumber

[required] The rule number of the entry to delete.

Value

An empty list.

Request syntax

svc$delete_network_acl_entry(
  DryRun = TRUE|FALSE,
  Egress = TRUE|FALSE,
  NetworkAclId = "string",
  RuleNumber = 123
)

Examples

## Not run: 
# This example deletes ingress rule number 100 from the specified network
# ACL.
svc$delete_network_acl_entry(
  Egress = TRUE,
  NetworkAclId = "acl-5fb85d36",
  RuleNumber = 100L
)

## End(Not run)