Class: Aws::States::Errors::KmsInvalidStateException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-states/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KmsInvalidStateException

Returns a new instance of KmsInvalidStateException.

Parameters:



360
361
362
# File 'lib/aws-sdk-states/errors.rb', line 360

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

Instance Method Details

#kms_key_stateString

Returns:

  • (String)


365
366
367
# File 'lib/aws-sdk-states/errors.rb', line 365

def kms_key_state
  @data[:kms_key_state]
end

#messageString

Returns:

  • (String)


370
371
372
# File 'lib/aws-sdk-states/errors.rb', line 370

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