Skip to content

UpdateHubContentReferenceRequest

Source code in docs_src/capo_sagemaker/types/update_hub_content_reference_request.py
class UpdateHubContentReferenceRequest(TypedDict, closed=True):
    hub_name: NotRequired["capo_sagemaker.types.hub_name_or_arn.HubNameOrArn"]
    """<p>The name of the SageMaker hub that contains the hub content you want to update. You can optionally use the hub ARN instead.</p>"""
    hub_content_name: NotRequired[
        "capo_sagemaker.types.hub_content_name.HubContentName"
    ]
    """<p>The name of the hub content resource that you want to update.</p>"""
    hub_content_type: NotRequired[
        "capo_sagemaker.types.hub_content_type.HubContentType"
    ]
    """<p>The content type of the resource that you want to update. Only specify a <code>ModelReference</code> resource for this API. To update a <code>Model</code> or <code>Notebook</code> resource, use the <code>UpdateHubContent</code> API instead.</p>"""
    min_version: NotRequired[
        "capo_sagemaker.types.hub_content_version.HubContentVersion"
    ]
    """<p>The minimum hub content version of the referenced model that you want to use. The minimum version must be older than the latest available version of the referenced model. To support all versions of a model, set the value to <code>1.0.0</code>.</p>"""

hub_content_name instance-attribute

hub_content_name: NotRequired[HubContentName]

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

hub_content_type instance-attribute

hub_content_type: NotRequired[HubContentType]

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

hub_name instance-attribute

hub_name: NotRequired[HubNameOrArn]

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

min_version instance-attribute

min_version: NotRequired[HubContentVersion]

The minimum hub content version of the referenced model that you want to use. The minimum version must be older than the latest available version of the referenced model. To support all versions of a model, set the value to 1.0.0.