v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-143021,9861.6 MB

Import hub content.

Hub APIs are only callable through SageMaker Studio.

post/#X-Amz-Target=SageMaker.ImportHubContent

Headers

X-Amz-Target'SageMaker.ImportHubContent' required

Request body

HubContentNamestring required

The name of the hub content to import.

HubContentVersionstring

The version of the hub content to import.

HubContentType'Model' | 'Notebook' required

The type of hub content to import.

DocumentSchemaVersionstring required

The version of the hub content schema to import.

HubNamestring required

The name of the hub to import content into.

HubContentDisplayNamestring

The display name of the hub content to import.

HubContentDescriptionstring

A description of the hub content to import.

HubContentMarkdownstring

A string that provides a description of the hub content. This string can include links, tables, and standard markdown formating.

HubContentDocumentstring required

The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.

HubContentSearchKeywordsHubSearchKeyword[]

The searchable keywords of the hub content.

Response

Success

HubArnstring required

The ARN of the hub that the content was imported into.

HubContentArnstring required

The ARN of the hub content that was imported.