def ListInstancesDNS(region, instances=None, node_types=[], states=[], names=[]):
 return [i.public_dns_name for i in ListInstances(region, instances=instances, node_types=node_types, states=states, names=names)]

def ListInstancesDNS ( region , instances = None , node_types = [ ] , states = [ ] , names = [ ] ) : return [ i . public_dns_name for i in ListInstances ( region , instances = instances , node_types = node_types , states = states , names = names ) ]
return a list of dns names for instances matching the arguments .