Class: Stax::Aws::Dms
Class Method Summary collapse
- .client ⇒ Object
- .connections(opt) ⇒ Object
- .endpoints(opt) ⇒ Object
- .instances(opt) ⇒ Object
- .start(opt) ⇒ Object
- .tasks(opt) ⇒ Object
- .test(opt) ⇒ Object
Methods inherited from Sdk
Class Method Details
.client ⇒ Object
7 8 9 |
# File 'lib/stax/aws/dms.rb', line 7 def client @_client ||= ::Aws::DatabaseMigrationService::Client.new end |
.connections(opt) ⇒ Object
27 28 29 |
# File 'lib/stax/aws/dms.rb', line 27 def connections(opt) client.describe_connections(opt).map(&:connections).flatten end |
.endpoints(opt) ⇒ Object
11 12 13 |
# File 'lib/stax/aws/dms.rb', line 11 def endpoints(opt) client.describe_endpoints(opt).map(&:endpoints).flatten end |
.instances(opt) ⇒ Object
15 16 17 |
# File 'lib/stax/aws/dms.rb', line 15 def instances(opt) client.describe_replication_instances(opt).map(&:replication_instances).flatten end |
.start(opt) ⇒ Object
31 32 33 |
# File 'lib/stax/aws/dms.rb', line 31 def start(opt) client.start_replication_task(opt).replication_task end |
.tasks(opt) ⇒ Object
19 20 21 |
# File 'lib/stax/aws/dms.rb', line 19 def tasks(opt) client.describe_replication_tasks(opt).map(&:replication_tasks).flatten end |
.test(opt) ⇒ Object
23 24 25 |
# File 'lib/stax/aws/dms.rb', line 23 def test(opt) client.test_connection(opt).connection end |