put_model_package_group_policy
(**kwargs)¶Adds a resouce policy to control access to a model group. For information about resoure 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.put_model_package_group_policy(
ModelPackageGroupName='string',
ResourcePolicy='string'
)
[REQUIRED]
The name of the model group to add a resource policy to.
[REQUIRED]
The resource policy for the model group.
dict
Response Syntax
{
'ModelPackageGroupArn': 'string'
}
Response Structure
(dict) --
ModelPackageGroupArn (string) --
The Amazon Resource Name (ARN) of the model package group.