Class: Aws::Lambda::Errors::KMSInvalidStateException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lambda::Errors::KMSInvalidStateException
- Defined in:
- gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSInvalidStateException
constructor
A new instance of KMSInvalidStateException.
-
#message ⇒ String
-
#type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSInvalidStateException
Returns a new instance of KMSInvalidStateException.
574 575 576 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 574 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
584 585 586 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 584 def @message || @data[:message] end |
#type ⇒ String
579 580 581 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 579 def type @data[:type] end |