code: def _log_changes(ret, changekey, changevalue):
      '''
      For logging create/update/delete operations to AWS ApiGateway
      '''
      cl = ret['changes'].get('new', [])
      cl.append({changekey: _object_reducer(changevalue)})
      ret['changes']['new'] = cl
      return ref _log_changes(ret, changekey, changevalue):
      '''
      For logging create/update/delete operations to AWS ApiGateway
      '''
      cl = ret['changes'].get('new', [])
      cl.append({changekey: _object_reducer(changevalue)})
      ret['changes']['new'] = cl
      return ret
docs: For logging create/update/delete operations to AWS ApiGateway