# NOT RUN {
# This example attaches the specified network interface to the specified
# instance.
# }
# NOT RUN {
svc$attach_network_interface(
DeviceIndex = 1L,
InstanceId = "i-1234567890abcdef0",
NetworkInterfaceId = "eni-e5aa89a3"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab