code: def get_client(self, region):
          
          ep = self._ep_for_region(region)
          if not ep:
              raise exc.NoEndpointForRegion("There is no endpoint defined for the "
                      "region '%s' for the '%s' service." % (region,
                      self.service_type))
          return ep.client
docs: Returns an instance of the appropriate client class for the given
          region. If there is no endpoint for that region, a NoEndpointForRegion
          exception is raised.