Deletes the specified network interface. You must detach the network interface before you can delete it.
ec2_delete_network_interface(DryRun, NetworkInterfaceId)
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
.
[required] The ID of the network interface.
svc$delete_network_interface( DryRun = TRUE|FALSE, NetworkInterfaceId = "string" )
# NOT RUN {
# This example deletes the specified network interface.
# }
# NOT RUN {
svc$delete_network_interface(
NetworkInterfaceId = "eni-e5aa89a3"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab