delete_hub_content
async
¶
delete_hub_content(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
hub_name: Optional[HubNameOrArn] = None,
hub_content_type: Optional[HubContentType] = None,
hub_content_name: Optional[HubContentName] = None,
hub_content_version: Optional[HubContentVersion] = None,
) -> None
Delete the contents of a hub.
Parameters:
-
hub_name(Optional[HubNameOrArn], default:None) –The name of the hub that you want to delete content in.
-
hub_content_type(Optional[HubContentType], default:None) –The type of content that you want to delete from a hub.
-
hub_content_name(Optional[HubContentName], default:None) –The name of the content that you want to delete from a hub.
-
hub_content_version(Optional[HubContentVersion], default:None) –The version of the content that you want to delete from a hub.
Raises:
-
ResourceInUse–Resource being accessed is in use.
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 | |