#NEWLINE# def save( self , expected_value = None , return_values = None ) : #NEWLINE# #INDENT# "\n        Commits pending updates to Amazon DynamoDB.\n\n        :type expected_value: dict\n        :param expected_value: A dictionary of name/value pairs that\n            you expect.  This dictionary should have name/value pairs\n            where the name is the name of the attribute and the value is\n            either the value you are expecting or False if you expect\n            the attribute not to exist.\n\n        :type return_values: str\n        :param return_values: Controls the return of attribute name/value pairs\n            before they were updated. Possible values are: None, 'ALL_OLD',\n            'UPDATED_OLD', 'ALL_NEW' or 'UPDATED_NEW'. If 'ALL_OLD' is\n            specified and the item is overwritten, the content of the old item\n            is returned. If 'ALL_NEW' is specified, then all the attributes of\n            the new version of the item are returned. If 'UPDATED_NEW' is\n            specified, the new versions of only the updated attributes are\n            returned.\n        " #NEWLINE# return self . table . layer2 . update_item ( self , self , return_values )