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
9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 | |