code: def submit_cookbook(self, cookbook, params={}, _extra_params={}):
          
          self._check_user_parameters(params)
          files = {'cookbook': cookbook}
          return self._submit(params, files, _extra_params=_extra_params)
docs: Submit a cookbook.