lib/aws-sdk-lambda/errors.rb in aws-sdk-lambda-1.32.0 vs lib/aws-sdk-lambda/errors.rb in aws-sdk-lambda-1.33.0

- old
+ new

@@ -454,9 +454,30 @@ @message || @data[:message] end end + class ResourceNotReadyException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Lambda::Types::ResourceNotReadyException] 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 ServiceException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Lambda::Types::ServiceException] data