Class: Aws::DatabaseMigrationService::Errors::KMSKeyNotAccessibleFault

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of KMSKeyNotAccessibleFault.

Parameters:



200
201
202
# File 'gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/errors.rb', line 200

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

Instance Method Details

#messageString

Returns:

  • (String)


205
206
207
# File 'gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/errors.rb', line 205

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