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

**************************
create_model_package_group
**************************



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

  

  Creates a model group. A model group contains a group of model versions.

  

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


  **Request Syntax**
  ::

    response = client.create_model_package_group(
        ModelPackageGroupName='string',
        ModelPackageGroupDescription='string',
        Tags=[
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    )
    
  :type ModelPackageGroupName: string
  :param ModelPackageGroupName: **[REQUIRED]** 

    The name of the model group.

    

  
  :type ModelPackageGroupDescription: string
  :param ModelPackageGroupDescription: 

    A description for the model group.

    

  
  :type Tags: list
  :param Tags: 

    A list of key value pairs associated with the model group. For more information, see `Tagging Amazon Web Services resources <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`__ in the *Amazon Web Services General Reference Guide*.

    

  
    - *(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**

    
    ::

      {
          'ModelPackageGroupArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ModelPackageGroupArn** *(string) --* 

        The Amazon Resource Name (ARN) of the model group.

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

  