import_hub_content
¶
import_hub_content(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
hub_content_name: Optional[HubContentName] = None,
hub_content_version: Optional[HubContentVersion] = None,
hub_content_type: Optional[HubContentType] = None,
document_schema_version: Optional[DocumentSchemaVersion] = None,
hub_name: Optional[HubNameOrArn] = None,
hub_content_display_name: Optional[HubContentDisplayName] = None,
hub_content_description: Optional[HubContentDescription] = None,
hub_content_markdown: Optional[HubContentMarkdown] = None,
hub_content_document: Optional[HubContentDocument] = None,
support_status: Optional[HubContentSupportStatus] = None,
hub_content_search_keywords: Optional[HubContentSearchKeywordList] = None,
tags: Optional[TagList] = None,
) -> ImportHubContentResponse
Import hub content.
Parameters:
-
hub_content_name(Optional[HubContentName], default:None) –The name of the hub content to import.
-
hub_content_version(Optional[HubContentVersion], default:None) –The version of the hub content to import.
-
hub_content_type(Optional[HubContentType], default:None) –The type of hub content to import.
-
document_schema_version(Optional[DocumentSchemaVersion], default:None) –The version of the hub content schema to import.
-
hub_name(Optional[HubNameOrArn], default:None) –The name of the hub to import content into.
-
hub_content_display_name(Optional[HubContentDisplayName], default:None) –The display name of the hub content to import.
-
hub_content_description(Optional[HubContentDescription], default:None) –A description of the hub content to import.
-
hub_content_markdown(Optional[HubContentMarkdown], default:None) –A string that provides a description of the hub content. This string can include links, tables, and standard markdown formating.
-
hub_content_document(Optional[HubContentDocument], default:None) –The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.
-
support_status(Optional[HubContentSupportStatus], default:None) –The status of the hub content resource.
-
hub_content_search_keywords(Optional[HubContentSearchKeywordList], default:None) –The searchable keywords of the hub content.
-
tags(Optional[TagList], default:None) –Any tags associated with the hub content.
Raises:
-
ResourceInUse–Resource being accessed is in use.
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
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/sage_maker.py
15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 | |