    # File lib/fog/aws/requests/compute/delete_network_interface.rb, line 29
            def delete_network_interface(network_interface_id)
              response = Excon::Response.new
              if self.data[:network_interfaces][network_interface_id]

                if self.data[:network_interfaces][network_interface_id]['attachment']['attachmentId']
                  raise Fog::Compute::AWS::Error.new("Interface is in use")
                end

                self.data[:network_interfaces].delete(network_interface_id)

                response.status = 200
                response.body = {
                  'requestId' => Fog::AWS::Mock.request_id,
                  'return'    => true
                }
                response
              else
                raise Fog::Compute::AWS::NotFound.new("The network interface '#{network_interface_id}' does not exist")
              end
            end