#NEWLINE# def put_group_policy( self , group_name , policy_name , policy_json ) : #NEWLINE# #INDENT# '\n        Adds or updates the specified policy document for the specified group.\n\n        :type group_name: string\n        :param group_name: The name of the group the policy is associated with.\n\n        :type policy_name: string\n        :param policy_name: The policy document to get.\n\n        :type policy_json: string\n        :param policy_json: The policy document.\n        \n        ' #NEWLINE# params = { #NEWLINE# #INDENT# 'GroupName' : group_name , #NEWLINE# 'PolicyName' : policy_name , #NEWLINE# 'PolicyDocument' : policy_json , #NEWLINE# #UNINDENT# } #NEWLINE# return self . get_response ( 'PutGroupPolicy' , params , verb = 'POST' )