lib/aws-sdk-lambda/errors.rb in aws-sdk-lambda-1.99.0 vs lib/aws-sdk-lambda/errors.rb in aws-sdk-lambda-1.100.0

- old
+ new

@@ -50,10 +50,11 @@ # * {KMSInvalidStateException} # * {KMSNotFoundException} # * {PolicyLengthExceededException} # * {PreconditionFailedException} # * {ProvisionedConcurrencyConfigNotFoundException} + # * {RecursiveInvocationException} # * {RequestTooLargeException} # * {ResourceConflictException} # * {ResourceInUseException} # * {ResourceNotFoundException} # * {ResourceNotReadyException} @@ -559,9 +560,29 @@ class ProvisionedConcurrencyConfigNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Lambda::Types::ProvisionedConcurrencyConfigNotFoundException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def type + @data[:type] + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class RecursiveInvocationException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Lambda::Types::RecursiveInvocationException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String]