Class: Aws::DatabaseMigrationService::Errors::ResourceAlreadyExistsFault

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) ⇒ ResourceAlreadyExistsFault

Returns a new instance of ResourceAlreadyExistsFault.

Parameters:



260
261
262
# File 'gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/errors.rb', line 260

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

Instance Method Details

#messageString

Returns:

  • (String)


265
266
267
# File 'gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/errors.rb', line 265

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

#resource_arnString

Returns:

  • (String)


270
271
272
# File 'gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/errors.rb', line 270

def resource_arn
  @data[:resource_arn]
end