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

**************
update_context
**************



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

  

  Updates a context.

  

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


  **Request Syntax**
  ::

    response = client.update_context(
        ContextName='string',
        Description='string',
        Properties={
            'string': 'string'
        },
        PropertiesToRemove=[
            'string',
        ]
    )
    
  :type ContextName: string
  :param ContextName: **[REQUIRED]** 

    The name of the context to update.

    

  
  :type Description: string
  :param Description: 

    The new description for the context.

    

  
  :type Properties: dict
  :param Properties: 

    The new list of properties. Overwrites the current property list.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  :type PropertiesToRemove: list
  :param PropertiesToRemove: 

    A list of properties to remove.

    

  
    - *(string) --* 

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **ContextArn** *(string) --* 

        The Amazon Resource Name (ARN) of the context.

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

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

  