Smaws_Client_ECR.ValidatePullThroughCacheRuleValidates an existing pull through cache rule for an upstream registry that requires authentication. This will retrieve the contents of the Amazon Web Services Secrets Manager secret, verify the syntax, and then validate that authentication to the upstream registry is successful.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `PullThroughCacheRuleNotFoundException of
Types.pull_through_cache_rule_not_found_exception
| `ServerException of Types.server_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.validate_pull_through_cache_rule_request ->
(Types.validate_pull_through_cache_rule_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `PullThroughCacheRuleNotFoundException of
Types.pull_through_cache_rule_not_found_exception
| `ServerException of Types.server_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.validate_pull_through_cache_rule_request ->
(Types.validate_pull_through_cache_rule_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `PullThroughCacheRuleNotFoundException of
Types.pull_through_cache_rule_not_found_exception
| `ServerException of Types.server_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result