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

******************
delete_hub_content
******************



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

  

  Delete the contents of a hub.

  

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


  **Request Syntax**
  ::

    response = client.delete_hub_content(
        HubName='string',
        HubContentType='Model'|'Notebook'|'ModelReference'|'DataSet'|'JsonDoc',
        HubContentName='string',
        HubContentVersion='string'
    )
    
  :type HubName: string
  :param HubName: **[REQUIRED]** 

    The name of the hub that you want to delete content in.

    

  
  :type HubContentType: string
  :param HubContentType: **[REQUIRED]** 

    The type of content that you want to delete from a hub.

    

  
  :type HubContentName: string
  :param HubContentName: **[REQUIRED]** 

    The name of the content that you want to delete from a hub.

    

  
  :type HubContentVersion: string
  :param HubContentVersion: **[REQUIRED]** 

    The version of the content that you want to delete from a hub.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`SageMaker.Client.exceptions.ResourceNotFound`

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

  