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:



505
506
507
# File 'lib/aws-sdk-lambda/errors.rb', line 505

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

Instance Method Details

#messageString

Returns:

  • (String)


515
516
517
# File 'lib/aws-sdk-lambda/errors.rb', line 515

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

#typeString

Returns:

  • (String)


510
511
512
# File 'lib/aws-sdk-lambda/errors.rb', line 510

def type
  @data[:type]
end