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()));
    }
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()));
    }
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 ( ) ) ) ; }
Details for an endpoint.

@param string $tech Technology of the endpoint
@param string $resource ID of the endpoint
@return Endpoint
@throws InvalidParameterException
@throws NotFoundException
Details for an endpoint .