Class: Aws::Lambda::Errors::KMSDisabledException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lambda::Errors::KMSDisabledException
- Defined in:
- lib/aws-sdk-lambda/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSDisabledException
constructor
A new instance of KMSDisabledException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSDisabledException
Returns a new instance of KMSDisabledException.
465 466 467 |
# File 'lib/aws-sdk-lambda/errors.rb', line 465 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
475 476 477 |
# File 'lib/aws-sdk-lambda/errors.rb', line 475 def @message || @data[:message] end |
#type ⇒ String
470 471 472 |
# File 'lib/aws-sdk-lambda/errors.rb', line 470 def type @data[:type] end |