Module Values_2.UpdateHubContentRequestSource

Updates 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: HubContentDescription HubContentDisplayName HubContentMarkdown HubContentSearchKeywords SupportStatus For 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.

Sourcetype nonrec t = {
  1. hubName : Values_0.HubNameOrArn.t;
    (*

    The name of the SageMaker hub that contains the hub content you want to update. You can optionally use the hub ARN instead.

    *)
  2. hubContentName : Values_0.HubContentName.t;
    (*

    The name of the hub content resource that you want to update.

    *)
  3. hubContentType : Values_0.HubContentType.t;
    (*

    The content type of the resource that you want to update. Only specify a Model or Notebook resource for this API. To update a ModelReference, use the UpdateHubContentReference API instead.

    *)
  4. hubContentVersion : Values_0.HubContentVersion.t;
    (*

    The hub content version that you want to update. For example, if you have two versions of a resource in your hub, you can update the second version.

    *)
  5. hubContentDisplayName : Values_1.HubContentDisplayName.t option;
    (*

    The display name of the hub content.

    *)
  6. hubContentDescription : Values_1.HubContentDescription.t option;
    (*

    The description of the hub content.

    *)
  7. hubContentMarkdown : Values_1.HubContentMarkdown.t option;
    (*

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

    *)
  8. hubContentSearchKeywords : Values_1.HubContentSearchKeywordList.t option;
    (*

    The searchable keywords of the hub content.

    *)
  9. supportStatus : Values_1.HubContentSupportStatus.t option;
    (*

    Indicates the current status of the hub content resource.

    *)
}
Sourceval context_ : string
Sourceval make : ?hubContentDisplayName:??? -> ?hubContentDescription:??? -> ?hubContentMarkdown:??? -> ?hubContentSearchKeywords:??? -> ?supportStatus:??? -> hubName:Values_0.HubNameOrArn.t -> hubContentName:Values_0.HubContentName.t -> hubContentType:Values_0.HubContentType.t -> hubContentVersion:Values_0.HubContentVersion.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of string ] list | `String of Values_0.HubNameOrArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t