@Override
    public PutModelPackageGroupPolicyResult putModelPackageGroupPolicy(PutModelPackageGroupPolicyRequest request) {
        request = beforeClientExecution(request);
        return executePutModelPackageGroupPolicy(request);
    }
<p>
Adds a resouce policy to control access to a model group. For information about resoure policies, see <a
href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html">Identity-based
policies and resource-based policies</a> in the <i>Amazon Web Services Identity and Access Management User
Guide.</i>.
</p>

@param putModelPackageGroupPolicyRequest
@return Result of the PutModelPackageGroupPolicy operation returned by the service.
@throws ConflictException
        There was a conflict when you attempted to modify a SageMaker entity such as an <code>Experiment</code>
        or <code>Artifact</code>.
@sample AmazonSageMaker.PutModelPackageGroupPolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PutModelPackageGroupPolicy"
     target="_top">AWS API Documentation</a>
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/AmazonSageMakerClient.java