Class: Aws::States::Errors::KmsInvalidStateException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::States::Errors::KmsInvalidStateException
- Defined in:
- lib/aws-sdk-states/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KmsInvalidStateException
constructor
A new instance of KmsInvalidStateException.
- #kms_key_state ⇒ String
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KmsInvalidStateException
Returns a new instance of KmsInvalidStateException.
360 361 362 |
# File 'lib/aws-sdk-states/errors.rb', line 360 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#kms_key_state ⇒ String
365 366 367 |
# File 'lib/aws-sdk-states/errors.rb', line 365 def kms_key_state @data[:kms_key_state] end |
#message ⇒ String
370 371 372 |
# File 'lib/aws-sdk-states/errors.rb', line 370 def @message || @data[:message] end |