public function getEndpointByTechAndResource($tech, $resource)
    {
        $uri = "endpoints/$tech/$resource";
        try {
            $response = $this->client->getEndpoint()->get($uri);
        } catch (RequestException $e) {
            $this->processRequestException($e);
        }

        return new Endpoint($this->client, \GuzzleHttp\json_decode($response->getBody()));
    }