SageMaker / Client / get_model_package_group_policy
get_model_package_group_policy#
- 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 in the Amazon Web Services Identity and Access Management User Guide.. - See also: AWS API Documentation - Request Syntax- response = client.get_model_package_group_policy( ModelPackageGroupName='string' ) - Parameters:
- ModelPackageGroupName (string) – - [REQUIRED] - The name of the model group for which to get the resource policy. 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'ResourcePolicy': 'string' } - Response Structure- (dict) – - ResourcePolicy (string) – - The resource policy for the model group.