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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-lambda/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:



438
439
440
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 438

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

Instance Method Details

#messageString

Returns:

  • (String)


448
449
450
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 448

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

#typeString

Returns:

  • (String)


443
444
445
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 443

def type
  @data[:type]
end