lib/aws-sdk-ecr/errors.rb in aws-sdk-ecr-1.26.0 vs lib/aws-sdk-ecr/errors.rb in aws-sdk-ecr-1.27.0

- old
+ new

@@ -39,17 +39,19 @@ # * {LayersNotFoundException} # * {LifecyclePolicyNotFoundException} # * {LifecyclePolicyPreviewInProgressException} # * {LifecyclePolicyPreviewNotFoundException} # * {LimitExceededException} + # * {ReferencedImagesNotFoundException} # * {RepositoryAlreadyExistsException} # * {RepositoryNotEmptyException} # * {RepositoryNotFoundException} # * {RepositoryPolicyNotFoundException} # * {ScanNotFoundException} # * {ServerException} # * {TooManyTagsException} + # * {UnsupportedImageTypeException} # * {UploadNotFoundException} # # Additionally, error classes are dynamically generated for service errors based on the error code # if they are not defined above. module Errors @@ -314,10 +316,25 @@ def message @message || @data[:message] end end + class ReferencedImagesNotFoundException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::ECR::Types::ReferencedImagesNotFoundException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class RepositoryAlreadyExistsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::ECR::Types::RepositoryAlreadyExistsException] data @@ -409,9 +426,24 @@ class TooManyTagsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::ECR::Types::TooManyTagsException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + 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]