#NEWLINE# def set_tags( name , tags , region = None , key = None , keyid = None , profile = None ) : #NEWLINE# #INDENT# '\n    Add the tags on an ELB\n\n    .. versionadded:: 2016.3.0\n\n    name\n        name of the ELB\n\n    tags\n        dict of name/value pair tags\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt myminion boto_elb.set_tags my-elb-name "{\'Tag1\': \'Value\', \'Tag2\': \'Another Value\'}"\n    ' #NEWLINE# if exists ( name , name , key , keyid , profile ) : #NEWLINE# #INDENT# conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) #NEWLINE# ret = _add_tags ( conn , name , tags ) #NEWLINE# return ret #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False