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

**************
delete_context
**************



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

  

  Deletes an context.

  

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


  **Request Syntax**
  ::

    response = client.delete_context(
        ContextName='string'
    )
    
  :type ContextName: string
  :param ContextName: **[REQUIRED]** 

    The name of the context to delete.

    

  
  
  :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.ResourceNotFound`

  