'Creates or updates a software deployment.'

def update_software_deploy(self, deploy_id=None, server_id=None, config_id=None, action=None, status=None, input_values=None, output_values=None, status_reason=None, signal_transport=None):

    (headers, body) = self._prep_software_deploy_update(deploy_id, server_id, config_id, action, status, input_values, output_values, status_reason, signal_transport)
    url = ('software_deployments/%s' % str(deploy_id))
    (resp, body) = self.put(url, headers=headers, body=body)
    self.expected_success(200, resp.status)
    body = json.loads(body)
    return rest_client.ResponseBody(resp, body)
