create_hub
async
¶
create_hub(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
hub_name: Optional[HubName] = None,
hub_description: Optional[HubDescription] = None,
hub_display_name: Optional[HubDisplayName] = None,
hub_search_keywords: Optional[HubSearchKeywordList] = None,
s3_storage_config: Optional[HubS3StorageConfig] = None,
tags: Optional[TagList] = None,
) -> CreateHubResponse
Create a hub.
Parameters:
-
hub_name(Optional[HubName], default:None) –The name of the hub to create.
-
hub_description(Optional[HubDescription], default:None) –A description of the hub.
-
hub_display_name(Optional[HubDisplayName], default:None) –The display name of the hub.
-
hub_search_keywords(Optional[HubSearchKeywordList], default:None) –The searchable keywords for the hub.
-
s3_storage_config(Optional[HubS3StorageConfig], default:None) –The Amazon S3 storage configuration for the hub.
-
tags(Optional[TagList], default:None) –Any tags to associate with the hub.
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.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 | |