Module Smaws_Client_ECR.CreatePullThroughCacheRule

Creates a pull through cache rule. A pull through cache rule provides a way to cache images from an upstream registry source in your Amazon ECR private registry. For more information, see Using pull through cache rules in the Amazon Elastic Container Registry User Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_exception | `PullThroughCacheRuleAlreadyExistsException of Types.pull_through_cache_rule_already_exists_exception | `SecretNotFoundException of Types.secret_not_found_exception | `ServerException of Types.server_exception | `UnableToAccessSecretException of Types.unable_to_access_secret_exception | `UnableToDecryptSecretValueException of Types.unable_to_decrypt_secret_value_exception | `UnsupportedUpstreamRegistryException of Types.unsupported_upstream_registry_exception | `ValidationException of Types.validation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_pull_through_cache_rule_request -> (Types.create_pull_through_cache_rule_response, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_exception | `PullThroughCacheRuleAlreadyExistsException of Types.pull_through_cache_rule_already_exists_exception | `SecretNotFoundException of Types.secret_not_found_exception | `ServerException of Types.server_exception | `UnableToAccessSecretException of Types.unable_to_access_secret_exception | `UnableToDecryptSecretValueException of Types.unable_to_decrypt_secret_value_exception | `UnsupportedUpstreamRegistryException of Types.unsupported_upstream_registry_exception | `ValidationException of Types.validation_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_pull_through_cache_rule_request -> (Types.create_pull_through_cache_rule_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_exception | `PullThroughCacheRuleAlreadyExistsException of Types.pull_through_cache_rule_already_exists_exception | `SecretNotFoundException of Types.secret_not_found_exception | `ServerException of Types.server_exception | `UnableToAccessSecretException of Types.unable_to_access_secret_exception | `UnableToDecryptSecretValueException of Types.unable_to_decrypt_secret_value_exception | `UnsupportedUpstreamRegistryException of Types.unsupported_upstream_registry_exception | `ValidationException of Types.validation_exception ] * Smaws_Lib.Response.metadata) Stdlib.result