aws-sdk-drs 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-drs/client.rb +399 -14
- data/lib/aws-sdk-drs/client_api.rb +270 -0
- data/lib/aws-sdk-drs/endpoints.rb +112 -0
- data/lib/aws-sdk-drs/plugins/endpoints.rb +16 -0
- data/lib/aws-sdk-drs/types.rb +492 -0
- data/lib/aws-sdk-drs.rb +2 -2
- metadata +4 -4
@@ -11,6 +11,20 @@
|
|
11
11
|
module Aws::Drs
|
12
12
|
module Endpoints
|
13
13
|
|
14
|
+
class AssociateSourceNetworkStack
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::Drs::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
14
28
|
class CreateExtendedSourceServer
|
15
29
|
def self.build(context)
|
16
30
|
unless context.config.regional_endpoint
|
@@ -53,6 +67,20 @@ module Aws::Drs
|
|
53
67
|
end
|
54
68
|
end
|
55
69
|
|
70
|
+
class CreateSourceNetwork
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::Drs::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
56
84
|
class DeleteJob
|
57
85
|
def self.build(context)
|
58
86
|
unless context.config.regional_endpoint
|
@@ -109,6 +137,20 @@ module Aws::Drs
|
|
109
137
|
end
|
110
138
|
end
|
111
139
|
|
140
|
+
class DeleteSourceNetwork
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::Drs::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
112
154
|
class DeleteSourceServer
|
113
155
|
def self.build(context)
|
114
156
|
unless context.config.regional_endpoint
|
@@ -207,6 +249,20 @@ module Aws::Drs
|
|
207
249
|
end
|
208
250
|
end
|
209
251
|
|
252
|
+
class DescribeSourceNetworks
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::Drs::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
210
266
|
class DescribeSourceServers
|
211
267
|
def self.build(context)
|
212
268
|
unless context.config.regional_endpoint
|
@@ -249,6 +305,20 @@ module Aws::Drs
|
|
249
305
|
end
|
250
306
|
end
|
251
307
|
|
308
|
+
class ExportSourceNetworkCfnTemplate
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::Drs::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
252
322
|
class GetFailbackReplicationConfiguration
|
253
323
|
def self.build(context)
|
254
324
|
unless context.config.regional_endpoint
|
@@ -417,6 +487,34 @@ module Aws::Drs
|
|
417
487
|
end
|
418
488
|
end
|
419
489
|
|
490
|
+
class StartSourceNetworkRecovery
|
491
|
+
def self.build(context)
|
492
|
+
unless context.config.regional_endpoint
|
493
|
+
endpoint = context.config.endpoint.to_s
|
494
|
+
end
|
495
|
+
Aws::Drs::EndpointParameters.new(
|
496
|
+
region: context.config.region,
|
497
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
498
|
+
use_fips: context.config.use_fips_endpoint,
|
499
|
+
endpoint: endpoint,
|
500
|
+
)
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
class StartSourceNetworkReplication
|
505
|
+
def self.build(context)
|
506
|
+
unless context.config.regional_endpoint
|
507
|
+
endpoint = context.config.endpoint.to_s
|
508
|
+
end
|
509
|
+
Aws::Drs::EndpointParameters.new(
|
510
|
+
region: context.config.region,
|
511
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
512
|
+
use_fips: context.config.use_fips_endpoint,
|
513
|
+
endpoint: endpoint,
|
514
|
+
)
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
420
518
|
class StopFailback
|
421
519
|
def self.build(context)
|
422
520
|
unless context.config.regional_endpoint
|
@@ -445,6 +543,20 @@ module Aws::Drs
|
|
445
543
|
end
|
446
544
|
end
|
447
545
|
|
546
|
+
class StopSourceNetworkReplication
|
547
|
+
def self.build(context)
|
548
|
+
unless context.config.regional_endpoint
|
549
|
+
endpoint = context.config.endpoint.to_s
|
550
|
+
end
|
551
|
+
Aws::Drs::EndpointParameters.new(
|
552
|
+
region: context.config.region,
|
553
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
554
|
+
use_fips: context.config.use_fips_endpoint,
|
555
|
+
endpoint: endpoint,
|
556
|
+
)
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
448
560
|
class TagResource
|
449
561
|
def self.build(context)
|
450
562
|
unless context.config.regional_endpoint
|
@@ -56,12 +56,16 @@ module Aws::Drs
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :associate_source_network_stack
|
60
|
+
Aws::Drs::Endpoints::AssociateSourceNetworkStack.build(context)
|
59
61
|
when :create_extended_source_server
|
60
62
|
Aws::Drs::Endpoints::CreateExtendedSourceServer.build(context)
|
61
63
|
when :create_launch_configuration_template
|
62
64
|
Aws::Drs::Endpoints::CreateLaunchConfigurationTemplate.build(context)
|
63
65
|
when :create_replication_configuration_template
|
64
66
|
Aws::Drs::Endpoints::CreateReplicationConfigurationTemplate.build(context)
|
67
|
+
when :create_source_network
|
68
|
+
Aws::Drs::Endpoints::CreateSourceNetwork.build(context)
|
65
69
|
when :delete_job
|
66
70
|
Aws::Drs::Endpoints::DeleteJob.build(context)
|
67
71
|
when :delete_launch_configuration_template
|
@@ -70,6 +74,8 @@ module Aws::Drs
|
|
70
74
|
Aws::Drs::Endpoints::DeleteRecoveryInstance.build(context)
|
71
75
|
when :delete_replication_configuration_template
|
72
76
|
Aws::Drs::Endpoints::DeleteReplicationConfigurationTemplate.build(context)
|
77
|
+
when :delete_source_network
|
78
|
+
Aws::Drs::Endpoints::DeleteSourceNetwork.build(context)
|
73
79
|
when :delete_source_server
|
74
80
|
Aws::Drs::Endpoints::DeleteSourceServer.build(context)
|
75
81
|
when :describe_job_log_items
|
@@ -84,12 +90,16 @@ module Aws::Drs
|
|
84
90
|
Aws::Drs::Endpoints::DescribeRecoverySnapshots.build(context)
|
85
91
|
when :describe_replication_configuration_templates
|
86
92
|
Aws::Drs::Endpoints::DescribeReplicationConfigurationTemplates.build(context)
|
93
|
+
when :describe_source_networks
|
94
|
+
Aws::Drs::Endpoints::DescribeSourceNetworks.build(context)
|
87
95
|
when :describe_source_servers
|
88
96
|
Aws::Drs::Endpoints::DescribeSourceServers.build(context)
|
89
97
|
when :disconnect_recovery_instance
|
90
98
|
Aws::Drs::Endpoints::DisconnectRecoveryInstance.build(context)
|
91
99
|
when :disconnect_source_server
|
92
100
|
Aws::Drs::Endpoints::DisconnectSourceServer.build(context)
|
101
|
+
when :export_source_network_cfn_template
|
102
|
+
Aws::Drs::Endpoints::ExportSourceNetworkCfnTemplate.build(context)
|
93
103
|
when :get_failback_replication_configuration
|
94
104
|
Aws::Drs::Endpoints::GetFailbackReplicationConfiguration.build(context)
|
95
105
|
when :get_launch_configuration
|
@@ -114,10 +124,16 @@ module Aws::Drs
|
|
114
124
|
Aws::Drs::Endpoints::StartRecovery.build(context)
|
115
125
|
when :start_replication
|
116
126
|
Aws::Drs::Endpoints::StartReplication.build(context)
|
127
|
+
when :start_source_network_recovery
|
128
|
+
Aws::Drs::Endpoints::StartSourceNetworkRecovery.build(context)
|
129
|
+
when :start_source_network_replication
|
130
|
+
Aws::Drs::Endpoints::StartSourceNetworkReplication.build(context)
|
117
131
|
when :stop_failback
|
118
132
|
Aws::Drs::Endpoints::StopFailback.build(context)
|
119
133
|
when :stop_replication
|
120
134
|
Aws::Drs::Endpoints::StopReplication.build(context)
|
135
|
+
when :stop_source_network_replication
|
136
|
+
Aws::Drs::Endpoints::StopSourceNetworkReplication.build(context)
|
121
137
|
when :tag_resource
|
122
138
|
Aws::Drs::Endpoints::TagResource.build(context)
|
123
139
|
when :terminate_recovery_instances
|