paws.compute (version 0.1.0)

ec2_delete_network_interface: 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 DryRunOperation. Otherwise, it is UnauthorizedOperation.

NetworkInterfaceId

[required] The ID of the network interface.

Request syntax

svc$delete_network_interface(
  DryRun = TRUE|FALSE,
  NetworkInterfaceId = "string"
)

Examples

Run this code
# 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 DataCamp Workspace