Module Smaws_Client_ECRPUBLIC.SetRepositoryPolicy

Applies a repository policy to the specified public repository to control access permissions. For more information, see Amazon ECR Repository Policies in the Amazon Elastic Container Registry User Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `RepositoryNotFoundException of Types.repository_not_found_exception | `ServerException of Types.server_exception | `UnsupportedCommandException of Types.unsupported_command_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.set_repository_policy_request -> (Types.set_repository_policy_response, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `RepositoryNotFoundException of Types.repository_not_found_exception | `ServerException of Types.server_exception | `UnsupportedCommandException of Types.unsupported_command_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.set_repository_policy_request -> (Types.set_repository_policy_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `RepositoryNotFoundException of Types.repository_not_found_exception | `ServerException of Types.server_exception | `UnsupportedCommandException of Types.unsupported_command_exception ] * Smaws_Lib.Response.metadata) Stdlib.result