class Stax::Aws::Dms
Public Class Methods
client()
click to toggle source
# File lib/stax/aws/dms.rb, line 9 def client @_client ||= ::Aws::DatabaseMigrationService::Client.new end
connections(opt)
click to toggle source
# File lib/stax/aws/dms.rb, line 29 def connections(opt) client.describe_connections(opt).map(&:connections).flatten end
endpoints(opt)
click to toggle source
# File lib/stax/aws/dms.rb, line 13 def endpoints(opt) client.describe_endpoints(opt).map(&:endpoints).flatten end
instances(opt)
click to toggle source
# File lib/stax/aws/dms.rb, line 17 def instances(opt) client.describe_replication_instances(opt).map(&:replication_instances).flatten end
start(opt)
click to toggle source
# File lib/stax/aws/dms.rb, line 33 def start(opt) client.start_replication_task(opt).replication_task end
tasks(opt)
click to toggle source
# File lib/stax/aws/dms.rb, line 21 def tasks(opt) client.describe_replication_tasks(opt).map(&:replication_tasks).flatten end
test(opt)
click to toggle source
# File lib/stax/aws/dms.rb, line 25 def test(opt) client.test_connection(opt).connection end