lib/aws-sdk-ecr/errors.rb in aws-sdk-ecr-1.49.0 vs lib/aws-sdk-ecr/errors.rb in aws-sdk-ecr-1.50.0
- old
+ new
@@ -43,20 +43,23 @@
# * {LayersNotFoundException}
# * {LifecyclePolicyNotFoundException}
# * {LifecyclePolicyPreviewInProgressException}
# * {LifecyclePolicyPreviewNotFoundException}
# * {LimitExceededException}
+ # * {PullThroughCacheRuleAlreadyExistsException}
+ # * {PullThroughCacheRuleNotFoundException}
# * {ReferencedImagesNotFoundException}
# * {RegistryPolicyNotFoundException}
# * {RepositoryAlreadyExistsException}
# * {RepositoryNotEmptyException}
# * {RepositoryNotFoundException}
# * {RepositoryPolicyNotFoundException}
# * {ScanNotFoundException}
# * {ServerException}
# * {TooManyTagsException}
# * {UnsupportedImageTypeException}
+ # * {UnsupportedUpstreamRegistryException}
# * {UploadNotFoundException}
# * {ValidationException}
#
# Additionally, error classes are dynamically generated for service errors based on the error code
# if they are not defined above.
@@ -357,10 +360,40 @@
def message
@message || @data[:message]
end
end
+ class PullThroughCacheRuleAlreadyExistsException < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::ECR::Types::PullThroughCacheRuleAlreadyExistsException] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
+ class PullThroughCacheRuleNotFoundException < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::ECR::Types::PullThroughCacheRuleNotFoundException] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
class ReferencedImagesNotFoundException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::ECR::Types::ReferencedImagesNotFoundException] data
@@ -497,9 +530,24 @@
class UnsupportedImageTypeException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::ECR::Types::UnsupportedImageTypeException] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
+ class UnsupportedUpstreamRegistryException < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::ECR::Types::UnsupportedUpstreamRegistryException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
# @return [String]