lib/aws-sdk-lambda/errors.rb in aws-sdk-lambda-1.43.1 vs lib/aws-sdk-lambda/errors.rb in aws-sdk-lambda-1.44.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md # @@ -27,10 +29,14 @@ # ## Error Classes # * {CodeStorageExceededException} # * {EC2AccessDeniedException} # * {EC2ThrottledException} # * {EC2UnexpectedException} + # * {EFSIOException} + # * {EFSMountConnectivityException} + # * {EFSMountFailureException} + # * {EFSMountTimeoutException} # * {ENILimitReachedException} # * {InvalidParameterValueException} # * {InvalidRequestContentException} # * {InvalidRuntimeException} # * {InvalidSecurityGroupIDException} @@ -139,9 +145,89 @@ end # @return [String] def ec2_error_code @data[:ec2_error_code] + end + end + + class EFSIOException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Lambda::Types::EFSIOException] 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 EFSMountConnectivityException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Lambda::Types::EFSMountConnectivityException] 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 EFSMountFailureException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Lambda::Types::EFSMountFailureException] 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 EFSMountTimeoutException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Lambda::Types::EFSMountTimeoutException] 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 ENILimitReachedException < ServiceError