Smaws_Client_SageMaker.UpdateHubContentUpdates SageMaker hub content (either a Model or Notebook resource).
You can update the metadata that describes the resource. In addition to the required request fields, specify at least one of the following fields to update:
HubContentDescriptionHubContentDisplayNameHubContentMarkdownHubContentSearchKeywordsSupportStatusFor more information about hubs, see Private curated hubs for foundation model access control in JumpStart.
If you want to update a ModelReference resource in your hub, use the UpdateHubContentResource API instead.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceNotFound of Types.resource_not_found ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_hub_content_request ->
(Types.update_hub_content_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceNotFound of Types.resource_not_found ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_hub_content_request ->
(Types.update_hub_content_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceNotFound of Types.resource_not_found ]
* Smaws_Lib.Response.metadata)
Stdlib.result