ec2_delete_network_interface_permission: Deletes a permission for a network interface

View source: R/ec2_operations.R

ec2_delete_network_interface_permissionR Documentation

Deletes a permission for a network interface

Description

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.

See https://www.paws-r-sdk.com/docs/ec2_delete_network_interface_permission/ for full documentation.

Usage

ec2_delete_network_interface_permission(
  NetworkInterfacePermissionId,
  Force = NULL,
  DryRun = NULL
)

Arguments

NetworkInterfacePermissionId

[required] The ID of the network interface permission.

Force

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

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.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.