public function getDeployment($name, GetDeploymentOptions $options)
    {
        Validate::isString($name, 'name');
        Validate::notNullOrEmpty($name, 'name');
        Validate::notNullOrEmpty($options, 'options');

        $context = new HttpCallContext();
        $path = $this->_getDeploymentPath($name, $options);
        $context->setMethod(Resources::HTTP_GET);
        $context->setPath($path);
        $context->addStatusCode(Resources::STATUS_OK);

        $response = $this->sendHttpContext($context);
        $parsed = $this->dataSerializer->unserialize($response->getBody());

        return GetDeploymentResult::create($parsed);
    }