SageMaker / Client / delete_hub_content
delete_hub_content#
- SageMaker.Client.delete_hub_content(**kwargs)#
- Delete the contents of a hub. - Note - Hub APIs are only callable through SageMaker Studio. - See also: AWS API Documentation - Request Syntax - response = client.delete_hub_content( HubName='string', HubContentType='Model'|'Notebook', HubContentName='string', HubContentVersion='string' ) - Parameters:
- HubName (string) – - [REQUIRED] - The name of the hub that you want to delete content in. 
- HubContentType (string) – - [REQUIRED] - The type of content that you want to delete from a hub. 
- HubContentName (string) – - [REQUIRED] - The name of the content that you want to delete from a hub. 
- HubContentVersion (string) – - [REQUIRED] - The version of the content that you want to delete from a hub. 
 
- Returns:
- None 
 - Exceptions - SageMaker.Client.exceptions.ResourceInUse
- SageMaker.Client.exceptions.ResourceNotFound