allows to get deployment status of given deployment id