Creates a pull through cache rule. A pull through cache rule provides a way to cache
images from an external public registry in your Amazon ECR private registry.
Example
Use a bare-bones client and the command you need to make an API call.
The operation did not succeed because it would have exceeded a service limit for your
account. For more information, see Amazon ECR service quotas in
the Amazon Elastic Container Registry User Guide.
Creates a pull through cache rule. A pull through cache rule provides a way to cache images from an external public registry in your Amazon ECR private registry.
Example
Use a bare-bones client and the command you need to make an API call.
Param
CreatePullThroughCacheRuleCommandInput
Returns
CreatePullThroughCacheRuleCommandOutput
See
input
shape.response
shape.config
shape.Throws
InvalidParameterException (client fault)
The specified parameter is invalid. Review the available parameters for the API request.
Throws
LimitExceededException (client fault)
The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR service quotas in the Amazon Elastic Container Registry User Guide.
Throws
PullThroughCacheRuleAlreadyExistsException (client fault)
A pull through cache rule with these settings already exists for the private registry.
Throws
ServerException (server fault)
These errors are usually caused by a server-side issue.
Throws
UnsupportedUpstreamRegistryException (client fault)
The specified upstream registry isn't supported.
Throws
ValidationException (client fault)
There was an exception validating this request.