Get a deployment_id from a name and type for a given project_id. If duplicated name, the first deployment_id that match it is retrieved.
get_deployment_id_from_name(project_id, name, type)
id of the project, can be obtained with get_projects().
name of the deployment we are searching its id from.
type of the deployment to be retrieved among "model" or "app".
character - id of the deployment if found.