code: def list_nodes_min(call=None):
      '''
      Return a list of the VMs that are on the provider. Only a list of VM names,
      and their state, is returned. This is the minimum amount of information
      needed to check for existing VMs.
      '''
      if call == 'action':
          raise SaltCloudSystemExit(
              'The list_nodes_min function must be called with -f or --function.'
          )
  
      ret = {}
      location = get_location()
      params = {
          'Action': 'DescribeInstanceStatus',
          'RegionId': location,
      }
      nodes = query(params)
  
      log.debug(
          'Total %s instance found in Region %s',
          nodes['TotalCount'], location
      )
      if 'Code' in nodes or nodes['TotalCount'] == 0:
          return ret
  
      for node in nodes['InstanceStatuses']['InstanceStatus']:
          ret[node['InstanceId']] = {}
          for item in node:
              ret[node['InstanceId']][item] = node[item]
  
      return ref list_nodes_min(call=None):
      '''
      Return a list of the VMs that are on the provider. Only a list of VM names,
      and their state, is returned. This is the minimum amount of information
      needed to check for existing VMs.
      '''
      if call == 'action':
          raise SaltCloudSystemExit(
              'The list_nodes_min function must be called with -f or --function.'
          )
  
      ret = {}
      location = get_location()
      params = {
          'Action': 'DescribeInstanceStatus',
          'RegionId': location,
      }
      nodes = query(params)
  
      log.debug(
          'Total %s instance found in Region %s',
          nodes['TotalCount'], location
      )
      if 'Code' in nodes or nodes['TotalCount'] == 0:
          return ret
  
      for node in nodes['InstanceStatuses']['InstanceStatus']:
          ret[node['InstanceId']] = {}
          for item in node:
              ret[node['InstanceId']][item] = node[item]
  
      return ret
docs: Return a list of the VMs that are on the provider. Only a list of VM names,
      and their state, is returned. This is the minimum amount of information
      needed to check for existing VMs.