lib/aws-sdk-appsync/errors.rb in aws-sdk-appsync-1.90.0 vs lib/aws-sdk-appsync/errors.rb in aws-sdk-appsync-1.91.0

- old
+ new

@@ -31,14 +31,16 @@ # * {ApiKeyLimitExceededException} # * {ApiKeyValidityOutOfBoundsException} # * {ApiLimitExceededException} # * {BadRequestException} # * {ConcurrentModificationException} + # * {ConflictException} # * {GraphQLSchemaException} # * {InternalFailureException} # * {LimitExceededException} # * {NotFoundException} + # * {ServiceQuotaExceededException} # * {UnauthorizedException} # # Additionally, error classes are dynamically generated for service errors based on the error code # if they are not defined above. module Errors @@ -143,10 +145,25 @@ def message @message || @data[:message] end end + class ConflictException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::AppSync::Types::ConflictException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class GraphQLSchemaException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::AppSync::Types::GraphQLSchemaException] data @@ -193,9 +210,24 @@ class NotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::AppSync::Types::NotFoundException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class ServiceQuotaExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::AppSync::Types::ServiceQuotaExceededException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String]