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:


501
502
503
# File 'lib/aws-sdk-lambda/errors.rb', line 501

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

Instance Method Details

#messageString

Returns:

  • (String)

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

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

#typeString

Returns:

  • (String)

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

def type
  @data[:type]
end