Smaws_Client_SageMaker.PutModelPackageGroupPolicyAdds 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..
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.put_model_package_group_policy_input ->
(Types.put_model_package_group_policy_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.put_model_package_group_policy_input ->
(Types.put_model_package_group_policy_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result