code: def get_service(self, name, search_filter):
          
          if self.version == 1:
              service_filter = "service.{name}".format(name=name)
              return jmespath.search(service_filter, self.get(search_filter))
          else:
              service_filter = "services[?name=='{}']".format(name)
              return one(jmespath.search(service_filter, self.get(search_filter)))
docs: Fetch service metadata.