SageMaker / Client / delete_hub_content_reference

delete_hub_content_reference#

SageMaker.Client.delete_hub_content_reference(**kwargs)#

Delete a hub content reference in order to remove a model from a private hub.

See also: AWS API Documentation

Request Syntax

response = client.delete_hub_content_reference(
    HubName='string',
    HubContentType='Model'|'Notebook'|'ModelReference',
    HubContentName='string'
)
Parameters:
  • HubName (string) –

    [REQUIRED]

    The name of the hub to delete the hub content reference from.

  • HubContentType (string) –

    [REQUIRED]

    The type of hub content reference to delete. The only supported type of hub content reference to delete is ModelReference.

  • HubContentName (string) –

    [REQUIRED]

    The name of the hub content to delete.

Returns:

None

Exceptions

  • SageMaker.Client.exceptions.ResourceNotFound