lib/aws-sdk-cloudsearch/errors.rb in aws-sdk-cloudsearch-1.29.0 vs lib/aws-sdk-cloudsearch/errors.rb in aws-sdk-cloudsearch-1.30.0

- old
+ new

@@ -30,10 +30,11 @@ # * {BaseException} # * {DisabledOperationException} # * {InternalException} # * {InvalidTypeException} # * {LimitExceededException} + # * {ResourceAlreadyExistsException} # * {ResourceNotFoundException} # * {ValidationException} # # Additionally, error classes are dynamically generated for service errors based on the error code # if they are not defined above. @@ -94,9 +95,19 @@ class LimitExceededException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudSearch::Types::LimitExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ResourceAlreadyExistsException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudSearch::Types::ResourceAlreadyExistsException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end