Skip to content

/AWS1/CL_EC2=>DELETENETWORKINTERFACEPERM()

About DeleteNetworkInterfacePermission

Deletes a permission for a network interface. By default, you cannot delete the permission if the account for which you're removing the permission has attached the network interface to an instance. However, you can force delete the permission, regardless of any attachment.

Method Signature

IMPORTING

Required arguments:

IV_NETWORKINTERFACEPERMID TYPE /AWS1/EC2NETWORKINTERFACEPER01 /AWS1/EC2NETWORKINTERFACEPER01

The ID of the network interface permission.

Optional arguments:

IV_FORCE TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Specify true to remove the permission even if the network interface is attached to an instance.

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DELNETWORKINTERF02 /AWS1/CL_EC2DELNETWORKINTERF02