lib/aws-sdk-rdsdataservice/errors.rb in aws-sdk-rdsdataservice-1.11.0 vs lib/aws-sdk-rdsdataservice/errors.rb in aws-sdk-rdsdataservice-1.12.0
- old
+ new
@@ -8,15 +8,15 @@
module Aws::RDSDataService
module Errors
extend Aws::Errors::DynamicErrors
- class NotFoundException < ServiceError
+ class BadRequestException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
- # @param [Aws::RDSDataService::Types::NotFoundException] data
+ # @param [Aws::RDSDataService::Types::BadRequestException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
# @return [String]
@@ -24,15 +24,15 @@
@message || @data[:message]
end
end
- class BadRequestException < ServiceError
+ class ForbiddenException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
- # @param [Aws::RDSDataService::Types::BadRequestException] data
+ # @param [Aws::RDSDataService::Types::ForbiddenException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
# @return [String]
@@ -40,14 +40,14 @@
@message || @data[:message]
end
end
- class ForbiddenException < ServiceError
+ class NotFoundException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
- # @param [Aws::RDSDataService::Types::ForbiddenException] data
+ # @param [Aws::RDSDataService::Types::NotFoundException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
# @return [String]