def METHOD_NAME(self, pk: int, key: str) -> Response:
    try:
        args = CommandParameters(resource_id=pk, key=key, codec=CODEC)
        value = self.get_get_command()(args).run()
        if not value:
            return self.response_404()
        return self.response(200, value=value)
    except TemporaryCacheAccessDeniedError as ex:
        return self.response(403, message=str(ex))
    except TemporaryCacheResourceNotFoundError as ex:
        return self.response(404, message=str(ex))