:doc:`SageMaker <../../sagemaker>` / Client / create_hub_content_reference

****************************
create_hub_content_reference
****************************



.. py:method:: SageMaker.Client.create_hub_content_reference(**kwargs)

  

  Create a hub content reference in order to add a model in the JumpStart public hub to a private hub.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHubContentReference>`_  


  **Request Syntax**
  ::

    response = client.create_hub_content_reference(
        HubName='string',
        SageMakerPublicHubContentArn='string',
        HubContentName='string',
        MinVersion='string',
        Tags=[
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    )
    
  :type HubName: string
  :param HubName: **[REQUIRED]** 

    The name of the hub to add the hub content reference to.

    

  
  :type SageMakerPublicHubContentArn: string
  :param SageMakerPublicHubContentArn: **[REQUIRED]** 

    The ARN of the public hub content to reference.

    

  
  :type HubContentName: string
  :param HubContentName: 

    The name of the hub content to reference.

    

  
  :type MinVersion: string
  :param MinVersion: 

    The minimum version of the hub content to reference.

    

  
  :type Tags: list
  :param Tags: 

    Any tags associated with the hub content to reference.

    

  
    - *(dict) --* 

      A tag object that consists of a key and an optional value, used to manage metadata for SageMaker Amazon Web Services resources.

       

      You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to SageMaker resources, see `AddTags <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AddTags.html>`__.

       

      For more information on adding metadata to your Amazon Web Services resources with tagging, see `Tagging Amazon Web Services resources <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`__. For advice on best practices for managing Amazon Web Services resources with tagging, see `Tagging Best Practices\: Implement an Effective Amazon Web Services Resource Tagging Strategy <https://d1.awsstatic.com/whitepapers/aws-tagging-best-practices.pdf>`__.

      

    
      - **Key** *(string) --* **[REQUIRED]** 

        The tag key. Tag keys must be unique per resource.

        

      
      - **Value** *(string) --* **[REQUIRED]** 

        The tag value.

        

      
    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'HubArn': 'string',
          'HubContentArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **HubArn** *(string) --* 

        The ARN of the hub that the hub content reference was added to.

        
      

      - **HubContentArn** *(string) --* 

        The ARN of the hub content.

        
  
  **Exceptions**
  
  *   :py:class:`SageMaker.Client.exceptions.ResourceNotFound`

  
  *   :py:class:`SageMaker.Client.exceptions.ResourceInUse`

  
  *   :py:class:`SageMaker.Client.exceptions.ResourceLimitExceeded`

  