def find_master_dns(session, parsed_globals, cluster_id):
 client = get_client(session, parsed_globals)
 data = client.describe_cluster(ClusterId=cluster_id)
 return data['Cluster']['MasterPublicDnsName']

def find_master_dns ( session , parsed_globals , cluster_id ) : client = get_client ( session , parsed_globals ) data = client . describe_cluster ( ClusterId = cluster_id ) return data [ 'Cluster' ] [ 'MasterPublicDnsName' ]
returns the master_instances publicdnsname .