:doc:`SageMaker <../../sagemaker>` / Client / update_trial

************
update_trial
************



.. py:method:: SageMaker.Client.update_trial(**kwargs)

  

  Updates the display name of a trial.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial>`_  


  **Request Syntax**
  ::

    response = client.update_trial(
        TrialName='string',
        DisplayName='string'
    )
    
  :type TrialName: string
  :param TrialName: **[REQUIRED]** 

    The name of the trial to update.

    

  
  :type DisplayName: string
  :param DisplayName: 

    The name of the trial as displayed. The name doesn't need to be unique. If ``DisplayName`` isn't specified, ``TrialName`` is displayed.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'TrialArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **TrialArn** *(string) --* 

        The Amazon Resource Name (ARN) of the trial.

        
  
  **Exceptions**
  
  *   :py:class:`SageMaker.Client.exceptions.ConflictException`

  
  *   :py:class:`SageMaker.Client.exceptions.ResourceNotFound`

  