Learn R Programming

paws.compute (version 0.1.12)

ec2_delete_network_acl: Deletes the specified network ACL

Description

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.

Usage

ec2_delete_network_acl(DryRun, NetworkAclId)

Value

An empty list.

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.

NetworkAclId

[required] The ID of the network ACL.

Request syntax

svc$delete_network_acl(
  DryRun = TRUE|FALSE,
  NetworkAclId = "string"
)

Examples

Run this code
if (FALSE) {
# This example deletes the specified network ACL.
svc$delete_network_acl(
  NetworkAclId = "acl-5fb85d36"
)
}

Run the code above in your browser using DataLab