aws-sdk-mgn 1.15.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mgn/client.rb +1318 -34
- data/lib/aws-sdk-mgn/client_api.rb +631 -6
- data/lib/aws-sdk-mgn/endpoints.rb +308 -0
- data/lib/aws-sdk-mgn/plugins/endpoints.rb +44 -0
- data/lib/aws-sdk-mgn/types.rb +1568 -64
- data/lib/aws-sdk-mgn.rb +2 -2
- metadata +2 -2
@@ -11,6 +11,62 @@
|
|
11
11
|
module Aws::Mgn
|
12
12
|
module Endpoints
|
13
13
|
|
14
|
+
class ArchiveApplication
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::Mgn::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
|
+
|
28
|
+
class ArchiveWave
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::Mgn::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class AssociateApplications
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::Mgn::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class AssociateSourceServers
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::Mgn::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
14
70
|
class ChangeServerLifeCycleState
|
15
71
|
def self.build(context)
|
16
72
|
unless context.config.regional_endpoint
|
@@ -25,6 +81,20 @@ module Aws::Mgn
|
|
25
81
|
end
|
26
82
|
end
|
27
83
|
|
84
|
+
class CreateApplication
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::Mgn::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
28
98
|
class CreateLaunchConfigurationTemplate
|
29
99
|
def self.build(context)
|
30
100
|
unless context.config.regional_endpoint
|
@@ -53,6 +123,34 @@ module Aws::Mgn
|
|
53
123
|
end
|
54
124
|
end
|
55
125
|
|
126
|
+
class CreateWave
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::Mgn::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class DeleteApplication
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::Mgn::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
|
+
|
56
154
|
class DeleteJob
|
57
155
|
def self.build(context)
|
58
156
|
unless context.config.regional_endpoint
|
@@ -123,6 +221,20 @@ module Aws::Mgn
|
|
123
221
|
end
|
124
222
|
end
|
125
223
|
|
224
|
+
class DeleteWave
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::Mgn::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
126
238
|
class DescribeJobLogItems
|
127
239
|
def self.build(context)
|
128
240
|
unless context.config.regional_endpoint
|
@@ -207,6 +319,34 @@ module Aws::Mgn
|
|
207
319
|
end
|
208
320
|
end
|
209
321
|
|
322
|
+
class DisassociateApplications
|
323
|
+
def self.build(context)
|
324
|
+
unless context.config.regional_endpoint
|
325
|
+
endpoint = context.config.endpoint.to_s
|
326
|
+
end
|
327
|
+
Aws::Mgn::EndpointParameters.new(
|
328
|
+
region: context.config.region,
|
329
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
330
|
+
use_fips: context.config.use_fips_endpoint,
|
331
|
+
endpoint: endpoint,
|
332
|
+
)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
class DisassociateSourceServers
|
337
|
+
def self.build(context)
|
338
|
+
unless context.config.regional_endpoint
|
339
|
+
endpoint = context.config.endpoint.to_s
|
340
|
+
end
|
341
|
+
Aws::Mgn::EndpointParameters.new(
|
342
|
+
region: context.config.region,
|
343
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
344
|
+
use_fips: context.config.use_fips_endpoint,
|
345
|
+
endpoint: endpoint,
|
346
|
+
)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
210
350
|
class DisconnectFromService
|
211
351
|
def self.build(context)
|
212
352
|
unless context.config.regional_endpoint
|
@@ -277,6 +417,34 @@ module Aws::Mgn
|
|
277
417
|
end
|
278
418
|
end
|
279
419
|
|
420
|
+
class ListApplications
|
421
|
+
def self.build(context)
|
422
|
+
unless context.config.regional_endpoint
|
423
|
+
endpoint = context.config.endpoint.to_s
|
424
|
+
end
|
425
|
+
Aws::Mgn::EndpointParameters.new(
|
426
|
+
region: context.config.region,
|
427
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
428
|
+
use_fips: context.config.use_fips_endpoint,
|
429
|
+
endpoint: endpoint,
|
430
|
+
)
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
class ListSourceServerActions
|
435
|
+
def self.build(context)
|
436
|
+
unless context.config.regional_endpoint
|
437
|
+
endpoint = context.config.endpoint.to_s
|
438
|
+
end
|
439
|
+
Aws::Mgn::EndpointParameters.new(
|
440
|
+
region: context.config.region,
|
441
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
442
|
+
use_fips: context.config.use_fips_endpoint,
|
443
|
+
endpoint: endpoint,
|
444
|
+
)
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
280
448
|
class ListTagsForResource
|
281
449
|
def self.build(context)
|
282
450
|
unless context.config.regional_endpoint
|
@@ -291,6 +459,34 @@ module Aws::Mgn
|
|
291
459
|
end
|
292
460
|
end
|
293
461
|
|
462
|
+
class ListTemplateActions
|
463
|
+
def self.build(context)
|
464
|
+
unless context.config.regional_endpoint
|
465
|
+
endpoint = context.config.endpoint.to_s
|
466
|
+
end
|
467
|
+
Aws::Mgn::EndpointParameters.new(
|
468
|
+
region: context.config.region,
|
469
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
470
|
+
use_fips: context.config.use_fips_endpoint,
|
471
|
+
endpoint: endpoint,
|
472
|
+
)
|
473
|
+
end
|
474
|
+
end
|
475
|
+
|
476
|
+
class ListWaves
|
477
|
+
def self.build(context)
|
478
|
+
unless context.config.regional_endpoint
|
479
|
+
endpoint = context.config.endpoint.to_s
|
480
|
+
end
|
481
|
+
Aws::Mgn::EndpointParameters.new(
|
482
|
+
region: context.config.region,
|
483
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
484
|
+
use_fips: context.config.use_fips_endpoint,
|
485
|
+
endpoint: endpoint,
|
486
|
+
)
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
294
490
|
class MarkAsArchived
|
295
491
|
def self.build(context)
|
296
492
|
unless context.config.regional_endpoint
|
@@ -305,6 +501,62 @@ module Aws::Mgn
|
|
305
501
|
end
|
306
502
|
end
|
307
503
|
|
504
|
+
class PutSourceServerAction
|
505
|
+
def self.build(context)
|
506
|
+
unless context.config.regional_endpoint
|
507
|
+
endpoint = context.config.endpoint.to_s
|
508
|
+
end
|
509
|
+
Aws::Mgn::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
|
+
|
518
|
+
class PutTemplateAction
|
519
|
+
def self.build(context)
|
520
|
+
unless context.config.regional_endpoint
|
521
|
+
endpoint = context.config.endpoint.to_s
|
522
|
+
end
|
523
|
+
Aws::Mgn::EndpointParameters.new(
|
524
|
+
region: context.config.region,
|
525
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
526
|
+
use_fips: context.config.use_fips_endpoint,
|
527
|
+
endpoint: endpoint,
|
528
|
+
)
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
class RemoveSourceServerAction
|
533
|
+
def self.build(context)
|
534
|
+
unless context.config.regional_endpoint
|
535
|
+
endpoint = context.config.endpoint.to_s
|
536
|
+
end
|
537
|
+
Aws::Mgn::EndpointParameters.new(
|
538
|
+
region: context.config.region,
|
539
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
540
|
+
use_fips: context.config.use_fips_endpoint,
|
541
|
+
endpoint: endpoint,
|
542
|
+
)
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
class RemoveTemplateAction
|
547
|
+
def self.build(context)
|
548
|
+
unless context.config.regional_endpoint
|
549
|
+
endpoint = context.config.endpoint.to_s
|
550
|
+
end
|
551
|
+
Aws::Mgn::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
|
+
|
308
560
|
class RetryDataReplication
|
309
561
|
def self.build(context)
|
310
562
|
unless context.config.regional_endpoint
|
@@ -389,6 +641,34 @@ module Aws::Mgn
|
|
389
641
|
end
|
390
642
|
end
|
391
643
|
|
644
|
+
class UnarchiveApplication
|
645
|
+
def self.build(context)
|
646
|
+
unless context.config.regional_endpoint
|
647
|
+
endpoint = context.config.endpoint.to_s
|
648
|
+
end
|
649
|
+
Aws::Mgn::EndpointParameters.new(
|
650
|
+
region: context.config.region,
|
651
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
652
|
+
use_fips: context.config.use_fips_endpoint,
|
653
|
+
endpoint: endpoint,
|
654
|
+
)
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
class UnarchiveWave
|
659
|
+
def self.build(context)
|
660
|
+
unless context.config.regional_endpoint
|
661
|
+
endpoint = context.config.endpoint.to_s
|
662
|
+
end
|
663
|
+
Aws::Mgn::EndpointParameters.new(
|
664
|
+
region: context.config.region,
|
665
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
666
|
+
use_fips: context.config.use_fips_endpoint,
|
667
|
+
endpoint: endpoint,
|
668
|
+
)
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
392
672
|
class UntagResource
|
393
673
|
def self.build(context)
|
394
674
|
unless context.config.regional_endpoint
|
@@ -403,6 +683,20 @@ module Aws::Mgn
|
|
403
683
|
end
|
404
684
|
end
|
405
685
|
|
686
|
+
class UpdateApplication
|
687
|
+
def self.build(context)
|
688
|
+
unless context.config.regional_endpoint
|
689
|
+
endpoint = context.config.endpoint.to_s
|
690
|
+
end
|
691
|
+
Aws::Mgn::EndpointParameters.new(
|
692
|
+
region: context.config.region,
|
693
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
694
|
+
use_fips: context.config.use_fips_endpoint,
|
695
|
+
endpoint: endpoint,
|
696
|
+
)
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
406
700
|
class UpdateLaunchConfiguration
|
407
701
|
def self.build(context)
|
408
702
|
unless context.config.regional_endpoint
|
@@ -473,5 +767,19 @@ module Aws::Mgn
|
|
473
767
|
end
|
474
768
|
end
|
475
769
|
|
770
|
+
class UpdateWave
|
771
|
+
def self.build(context)
|
772
|
+
unless context.config.regional_endpoint
|
773
|
+
endpoint = context.config.endpoint.to_s
|
774
|
+
end
|
775
|
+
Aws::Mgn::EndpointParameters.new(
|
776
|
+
region: context.config.region,
|
777
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
778
|
+
use_fips: context.config.use_fips_endpoint,
|
779
|
+
endpoint: endpoint,
|
780
|
+
)
|
781
|
+
end
|
782
|
+
end
|
783
|
+
|
476
784
|
end
|
477
785
|
end
|
@@ -56,12 +56,26 @@ module Aws::Mgn
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :archive_application
|
60
|
+
Aws::Mgn::Endpoints::ArchiveApplication.build(context)
|
61
|
+
when :archive_wave
|
62
|
+
Aws::Mgn::Endpoints::ArchiveWave.build(context)
|
63
|
+
when :associate_applications
|
64
|
+
Aws::Mgn::Endpoints::AssociateApplications.build(context)
|
65
|
+
when :associate_source_servers
|
66
|
+
Aws::Mgn::Endpoints::AssociateSourceServers.build(context)
|
59
67
|
when :change_server_life_cycle_state
|
60
68
|
Aws::Mgn::Endpoints::ChangeServerLifeCycleState.build(context)
|
69
|
+
when :create_application
|
70
|
+
Aws::Mgn::Endpoints::CreateApplication.build(context)
|
61
71
|
when :create_launch_configuration_template
|
62
72
|
Aws::Mgn::Endpoints::CreateLaunchConfigurationTemplate.build(context)
|
63
73
|
when :create_replication_configuration_template
|
64
74
|
Aws::Mgn::Endpoints::CreateReplicationConfigurationTemplate.build(context)
|
75
|
+
when :create_wave
|
76
|
+
Aws::Mgn::Endpoints::CreateWave.build(context)
|
77
|
+
when :delete_application
|
78
|
+
Aws::Mgn::Endpoints::DeleteApplication.build(context)
|
65
79
|
when :delete_job
|
66
80
|
Aws::Mgn::Endpoints::DeleteJob.build(context)
|
67
81
|
when :delete_launch_configuration_template
|
@@ -72,6 +86,8 @@ module Aws::Mgn
|
|
72
86
|
Aws::Mgn::Endpoints::DeleteSourceServer.build(context)
|
73
87
|
when :delete_vcenter_client
|
74
88
|
Aws::Mgn::Endpoints::DeleteVcenterClient.build(context)
|
89
|
+
when :delete_wave
|
90
|
+
Aws::Mgn::Endpoints::DeleteWave.build(context)
|
75
91
|
when :describe_job_log_items
|
76
92
|
Aws::Mgn::Endpoints::DescribeJobLogItems.build(context)
|
77
93
|
when :describe_jobs
|
@@ -84,6 +100,10 @@ module Aws::Mgn
|
|
84
100
|
Aws::Mgn::Endpoints::DescribeSourceServers.build(context)
|
85
101
|
when :describe_vcenter_clients
|
86
102
|
Aws::Mgn::Endpoints::DescribeVcenterClients.build(context)
|
103
|
+
when :disassociate_applications
|
104
|
+
Aws::Mgn::Endpoints::DisassociateApplications.build(context)
|
105
|
+
when :disassociate_source_servers
|
106
|
+
Aws::Mgn::Endpoints::DisassociateSourceServers.build(context)
|
87
107
|
when :disconnect_from_service
|
88
108
|
Aws::Mgn::Endpoints::DisconnectFromService.build(context)
|
89
109
|
when :finalize_cutover
|
@@ -94,10 +114,26 @@ module Aws::Mgn
|
|
94
114
|
Aws::Mgn::Endpoints::GetReplicationConfiguration.build(context)
|
95
115
|
when :initialize_service
|
96
116
|
Aws::Mgn::Endpoints::InitializeService.build(context)
|
117
|
+
when :list_applications
|
118
|
+
Aws::Mgn::Endpoints::ListApplications.build(context)
|
119
|
+
when :list_source_server_actions
|
120
|
+
Aws::Mgn::Endpoints::ListSourceServerActions.build(context)
|
97
121
|
when :list_tags_for_resource
|
98
122
|
Aws::Mgn::Endpoints::ListTagsForResource.build(context)
|
123
|
+
when :list_template_actions
|
124
|
+
Aws::Mgn::Endpoints::ListTemplateActions.build(context)
|
125
|
+
when :list_waves
|
126
|
+
Aws::Mgn::Endpoints::ListWaves.build(context)
|
99
127
|
when :mark_as_archived
|
100
128
|
Aws::Mgn::Endpoints::MarkAsArchived.build(context)
|
129
|
+
when :put_source_server_action
|
130
|
+
Aws::Mgn::Endpoints::PutSourceServerAction.build(context)
|
131
|
+
when :put_template_action
|
132
|
+
Aws::Mgn::Endpoints::PutTemplateAction.build(context)
|
133
|
+
when :remove_source_server_action
|
134
|
+
Aws::Mgn::Endpoints::RemoveSourceServerAction.build(context)
|
135
|
+
when :remove_template_action
|
136
|
+
Aws::Mgn::Endpoints::RemoveTemplateAction.build(context)
|
101
137
|
when :retry_data_replication
|
102
138
|
Aws::Mgn::Endpoints::RetryDataReplication.build(context)
|
103
139
|
when :start_cutover
|
@@ -110,8 +146,14 @@ module Aws::Mgn
|
|
110
146
|
Aws::Mgn::Endpoints::TagResource.build(context)
|
111
147
|
when :terminate_target_instances
|
112
148
|
Aws::Mgn::Endpoints::TerminateTargetInstances.build(context)
|
149
|
+
when :unarchive_application
|
150
|
+
Aws::Mgn::Endpoints::UnarchiveApplication.build(context)
|
151
|
+
when :unarchive_wave
|
152
|
+
Aws::Mgn::Endpoints::UnarchiveWave.build(context)
|
113
153
|
when :untag_resource
|
114
154
|
Aws::Mgn::Endpoints::UntagResource.build(context)
|
155
|
+
when :update_application
|
156
|
+
Aws::Mgn::Endpoints::UpdateApplication.build(context)
|
115
157
|
when :update_launch_configuration
|
116
158
|
Aws::Mgn::Endpoints::UpdateLaunchConfiguration.build(context)
|
117
159
|
when :update_launch_configuration_template
|
@@ -122,6 +164,8 @@ module Aws::Mgn
|
|
122
164
|
Aws::Mgn::Endpoints::UpdateReplicationConfigurationTemplate.build(context)
|
123
165
|
when :update_source_server_replication_type
|
124
166
|
Aws::Mgn::Endpoints::UpdateSourceServerReplicationType.build(context)
|
167
|
+
when :update_wave
|
168
|
+
Aws::Mgn::Endpoints::UpdateWave.build(context)
|
125
169
|
end
|
126
170
|
end
|
127
171
|
end
|