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

******************************
get_model_package_group_policy
******************************



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

  

  Gets a resource policy that manages access for a model group. For information about resource policies, see `Identity-based policies and resource-based policies <https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html>`__ in the *Amazon Web Services Identity and Access Management User Guide.*.

  

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


  **Request Syntax**
  ::

    response = client.get_model_package_group_policy(
        ModelPackageGroupName='string'
    )
    
  :type ModelPackageGroupName: string
  :param ModelPackageGroupName: **[REQUIRED]** 

    The name of the model group for which to get the resource policy.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **ResourcePolicy** *(string) --* 

        The resource policy for the model group.

        
  