code: def run_instances_with_network_interfaces_consumer(
      ec2_client_stub, network_interfaces
  ):
      ec2_client_stub.add_response(
          "run_instances",
          expected_params={
              "NetworkInterfaces": network_interfaces,
              "ImageId": ANY,
              "InstanceType": ANY,
              "KeyName": ANY,
              "MinCount": ANY,
              "MaxCount": ANY,
              "TagSpecifications": ANY,
          },
          service_response={},
      )
  
imports: from typing import Dict, List
  import ray
  import copy
  import json
  from uuid import uuid4
  from ray.tests.aws.utils import helpers
  from ray.tests.aws.utils.constants import DEFAULT_INSTANCE_PROFILE, DEFAULT_KEY_PAIR, DEFAULT_SUBNET, A_THOUSAND_SUBNETS_IN_DIFFERENT_VPCS, DEFAULT_LT, TWENTY_SUBNETS_IN_DIFFERENT_AZS
  from ray.autoscaler._private.aws.config import key_pair
  from ray.tests.aws.utils.helpers import get_cloudwatch_dashboard_config_file_path, get_cloudwatch_alarm_config_file_path
  from ray.autoscaler._private.aws.cloudwatch.cloudwatch_helper import CLOUDWATCH_AGENT_INSTALLED_TAG, CLOUDWATCH_CONFIG_HASH_TAG_BASE
  from ray.autoscaler.tags import NODE_KIND_HEAD, TAG_RAY_NODE_KIND
  from unittest import mock
  from botocore.stub import ANY
label_desc: Use image node_id 16 for calling a global function with example usage: run_instances_with_network_interfaces_consumer(ec2_client_stub, network_interfaces) without return types