Class: Aws::FSx::Errors::InvalidSourceKmsKey

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidSourceKmsKey.

Parameters:



447
448
449
# File 'lib/aws-sdk-fsx/errors.rb', line 447

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

Instance Method Details

#messageString

Returns:

  • (String)


452
453
454
# File 'lib/aws-sdk-fsx/errors.rb', line 452

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