Class: Aws::Lambda::Errors::KMSNotFoundException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-lambda/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSNotFoundException

Returns a new instance of KMSNotFoundException.

Parameters:



703
704
705
# File 'lib/aws-sdk-lambda/errors.rb', line 703

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


713
714
715
# File 'lib/aws-sdk-lambda/errors.rb', line 713

def message
  @message || @data[:message]
end

#typeString

Returns:

  • (String)


708
709
710
# File 'lib/aws-sdk-lambda/errors.rb', line 708

def type
  @data[:type]
end