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
4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 | |