v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-143021,9861.6 MB

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>.

post/#X-Amz-Target=SageMaker.PutModelPackageGroupPolicy

Headers

X-Amz-Target'SageMaker.PutModelPackageGroupPolicy' required

Request body

ModelPackageGroupNamestring required

The name of the model group to add a resource policy to.

ResourcePolicystring required

The resource policy for the model group.

Response

Success

ModelPackageGroupArnstring required

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