SageMaker / Client / create_model_package_group



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

See also: AWS API Documentation

Request Syntax

response = client.create_model_package_group(
            'Key': 'string',
            'Value': 'string'
  • ModelPackageGroupName (string) –


    The name of the model group.

  • ModelPackageGroupDescription (string) – A description for the model group.

  • Tags (list) –

    A list of key value pairs associated with the model group. For more information, see Tagging Amazon Web Services resources 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.

      For more information on adding metadata to your Amazon Web Services resources with tagging, see Tagging Amazon Web Services resources. 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.

      • Key (string) – [REQUIRED]

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

      • Value (string) – [REQUIRED]

        The tag value.

Return type:



Response Syntax

    'ModelPackageGroupArn': 'string'

Response Structure

  • (dict) –

    • ModelPackageGroupArn (string) –

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


  • SageMaker.Client.exceptions.ResourceLimitExceeded