code: def ensure_resource(rid):
      
      try:
          acl_url = urljoin(_acl_url(), 'acls/{}'.format(rid))
          r = http.put(acl_url, json={'description': 'jope'})
          assert r.status_code == 201
      except DCOSHTTPException as e:
          if e.response.status_code != 409:
              raise
docs: Creates or confirms that a resource is added into the DCOS Enterprise System.
          Example:  dcos:service:marathon:marathon:services:/example-secure
  
          :param rid: resource ID
          :type rid: str