original_docstring:  Update a deployment's labels.
      :param deployment_id: A Cloudify deployment ID or name.
      :type deployment_id: str
      :param labels: A dict of labels.
      :type labels: dict
      :param rest_client: A Cloudify REST client.
      :type rest_client: cloudify_rest_client.client.CloudifyClient
      :return: request's JSON response
      :rtype: dict
      
docstring: Update a deployment's labels.
docstring_tokens: Update a deployment ' s labels .
code: def update_deployment_labels(deployment_id, labels, rest_client):
      """ Update a deployment's labels.
      :param deployment_id: A Cloudify deployment ID or name.
      :type deployment_id: str
      :param labels: A dict of labels.
      :type labels: dict
      :param rest_client: A Cloudify REST client.
      :type rest_client: cloudify_rest_client.client.CloudifyClient
      :return: request's JSON response
      :rtype: dict
      """
      labels = convert_dict_to_list(labels)
      return rest_client.deployments.update_labels(
          deployment_id,
          labels=labels)
code_tokens: def update_deployment_labels ( deployment_id , labels , rest_client ) : labels = convert_dict_to_list ( labels ) return rest_client . deployments . update_labels ( deployment_id , labels = labels )
short_docstring: Update a deployment's labels.
short_docstring_tokens: Update a deployment ' s labels .
comment: """ Update a deployment's labels.
      :param deployment_id: A Cloudify deployment ID or name.
      :type deployment_id: str
      :param labels: A dict of labels.
      :type labels: dict
      :param rest_client: A Cloudify REST client.
      :type rest_client: cloudify_rest_client.client.CloudifyClient
      :return: request's JSON response
      :rtype: dict
      """