Values.CreatePullThroughCacheRuleResponseSourceCreates 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.
type nonrec t = {ecrRepositoryPrefix : PullThroughCacheRuleRepositoryPrefix.t option;The Amazon ECR repository prefix associated with the pull through cache rule.
*)upstreamRegistryUrl : Url.t option;The upstream registry URL associated with the pull through cache rule.
*)createdAt : CreationTimestamp.t option;The date and time, in JavaScript date format, when the pull through cache rule was created.
*)registryId : RegistryId.t option;The registry ID associated with the request.
*)upstreamRegistry : UpstreamRegistry.t option;The name of the upstream registry associated with the pull through cache rule.
*)credentialArn : CredentialArn.t option;The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
*)customRoleArn : CustomRoleArn.t option;The ARN of the IAM role associated with the pull through cache rule.
*)upstreamRepositoryPrefix : PullThroughCacheRuleRepositoryPrefix.t option;The upstream repository prefix associated with the pull through cache rule.
*)}type nonrec error = [ | `InvalidParameterException of InvalidParameterException.t| `LimitExceededException of LimitExceededException.t| `PullThroughCacheRuleAlreadyExistsException of
PullThroughCacheRuleAlreadyExistsException.t| `SecretNotFoundException of SecretNotFoundException.t| `ServerException of ServerException.t| `UnableToAccessSecretException of UnableToAccessSecretException.t| `UnableToDecryptSecretValueException of UnableToDecryptSecretValueException.t| `UnsupportedUpstreamRegistryException of UnsupportedUpstreamRegistryException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InvalidParameterException of InvalidParameterException.t
| `LimitExceededException of LimitExceededException.t
| `PullThroughCacheRuleAlreadyExistsException of
PullThroughCacheRuleAlreadyExistsException.t
| `SecretNotFoundException of SecretNotFoundException.t
| `ServerException of ServerException.t
| `UnableToAccessSecretException of UnableToAccessSecretException.t
| `UnableToDecryptSecretValueException of
UnableToDecryptSecretValueException.t
| `Unknown_operation_error of string * string option
| `UnsupportedUpstreamRegistryException of
UnsupportedUpstreamRegistryException.t
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InvalidParameterException of InvalidParameterException.t
| `LimitExceededException of LimitExceededException.t
| `PullThroughCacheRuleAlreadyExistsException of
PullThroughCacheRuleAlreadyExistsException.t
| `SecretNotFoundException of SecretNotFoundException.t
| `ServerException of ServerException.t
| `UnableToAccessSecretException of UnableToAccessSecretException.t
| `UnableToDecryptSecretValueException of
UnableToDecryptSecretValueException.t
| `Unknown_operation_error of string * string option
| `UnsupportedUpstreamRegistryException of
UnsupportedUpstreamRegistryException.t
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of PullThroughCacheRuleRepositoryPrefix.t
| `Timestamp of CreationTimestamp.t ])
list ]