docs: def of_service(config):
          """Connect to an IBM Streams service instance running in IBM Cloud Private for Data.
  
          The instance is specified in `config`. The configuration may be code injected from the list of services
          in a Jupyter notebook running in ICPD or manually created. The code that selects a service instance by name is::
  
              # Two lines are code injected in a Jupyter notebook by selecting the service instance
              from icpd_core import ipcd_util
              cfg = icpd_util.get_service_details(name='instanceName')
  
              instance = Instance.of_service(cfg)
  
          SSL host verification is disabled by setting :py:const:`~streamsx.topology.context.ConfigParams.SSL_VERIFY`
          to ``False`` within `config` before calling this method::
  
              cfg[ConfigParams.SSL_VERIFY] = False
              instance = Instance.of_service(cfg)
  
          Args:
              config(dict): Configuration of IBM Streams service instance.
  
          Returns:
              Instance: Instance representing for IBM Streams service instance.
  
          .. note:: Only supported when running within the ICPD cluster,
              for example in a Jupyter notebook within a ICPD project.
  
          .. versionadded:: 1.12
          """
          service = Instance._find_service_def(config)
          if not service:
              raise ValueError()
          endpoint = service['connection_info'].get('serviceRestEndpoint')
          resource_url, name = Instance._root_from_endpoint(endpoint)
  
          sc = streamsx.rest.StreamsConnection(resource_url=resource_url, auth=_ICPDAuthHandler(name, service['service_token']))
          if streamsx.topology.context.ConfigParams.SSL_VERIFY in config:
                  sc.session.verify = config[streamsx.topology.context.ConfigParams.SSL_VERIFY]
          return sc.get_instance(name)