Delete Network Interface
ec2_delete_network_interface | R Documentation |
Deletes the specified network interface¶
Description¶
Deletes the specified network interface. You must detach the network interface before you can delete it.
Usage¶
ec2_delete_network_interface(DryRun, NetworkInterfaceId)
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
|
NetworkInterfaceId |
[required] The ID of the network interface. |
Value¶
An empty list.
Request syntax¶
svc$delete_network_interface(
DryRun = TRUE|FALSE,
NetworkInterfaceId = "string"
)
Examples¶
## Not run:
# This example deletes the specified network interface.
svc$delete_network_interface(
NetworkInterfaceId = "eni-e5aa89a3"
)
## End(Not run)