v1

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

Gets a resource policy that manages access for a model group. For information about resource 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.GetModelPackageGroupPolicy

Headers

X-Amz-Target'SageMaker.GetModelPackageGroupPolicy' required

Request body

ModelPackageGroupNamestring required

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

Response

Success

ResourcePolicystring required

The resource policy for the model group.