lib/aws-sdk-ecr/errors.rb in aws-sdk-ecr-1.65.0 vs lib/aws-sdk-ecr/errors.rb in aws-sdk-ecr-1.66.0

- old
+ new

@@ -52,12 +52,17 @@ # * {RepositoryAlreadyExistsException} # * {RepositoryNotEmptyException} # * {RepositoryNotFoundException} # * {RepositoryPolicyNotFoundException} # * {ScanNotFoundException} + # * {SecretNotFoundException} # * {ServerException} # * {TooManyTagsException} + # * {UnableToAccessSecretException} + # * {UnableToDecryptSecretValueException} + # * {UnableToGetUpstreamImageException} + # * {UnableToGetUpstreamLayerException} # * {UnsupportedImageTypeException} # * {UnsupportedUpstreamRegistryException} # * {UploadNotFoundException} # * {ValidationException} # @@ -495,10 +500,25 @@ def message @message || @data[:message] end end + class SecretNotFoundException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::ECR::Types::SecretNotFoundException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class ServerException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::ECR::Types::ServerException] data @@ -515,9 +535,69 @@ 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 UnableToAccessSecretException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::ECR::Types::UnableToAccessSecretException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class UnableToDecryptSecretValueException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::ECR::Types::UnableToDecryptSecretValueException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class UnableToGetUpstreamImageException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::ECR::Types::UnableToGetUpstreamImageException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class UnableToGetUpstreamLayerException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::ECR::Types::UnableToGetUpstreamLayerException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String]