detachNetworkInterface

Detaches a network interface from an instance.

Samples

// This example detaches the specified network interface from its attached instance.
ec2Client.detachNetworkInterface {
    attachmentId = "eni-attach-66c4350a"
}