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
17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 | |