aws-sdk-mgn 1.21.0 → 1.23.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.
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
+ require 'aws-sdk-core/plugins/request_compression.rb'
31
32
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
33
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
34
  require 'aws-sdk-core/plugins/sign.rb'
@@ -77,6 +78,7 @@ module Aws::Mgn
77
78
  add_plugin(Aws::Plugins::TransferEncoding)
78
79
  add_plugin(Aws::Plugins::HttpChecksum)
79
80
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
81
+ add_plugin(Aws::Plugins::RequestCompression)
80
82
  add_plugin(Aws::Plugins::DefaultsMode)
81
83
  add_plugin(Aws::Plugins::RecursionDetection)
82
84
  add_plugin(Aws::Plugins::Sign)
@@ -190,6 +192,10 @@ module Aws::Mgn
190
192
  # Set to true to disable SDK automatically adding host prefix
191
193
  # to default service endpoint when available.
192
194
  #
195
+ # @option options [Boolean] :disable_request_compression (false)
196
+ # When set to 'true' the request body will not be compressed
197
+ # for supported operations.
198
+ #
193
199
  # @option options [String] :endpoint
194
200
  # The client endpoint is normally constructed from the `:region`
195
201
  # option. You should only configure an `:endpoint` when connecting
@@ -230,6 +236,11 @@ module Aws::Mgn
230
236
  # Used when loading credentials from the shared credentials file
231
237
  # at HOME/.aws/credentials. When not specified, 'default' is used.
232
238
  #
239
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
240
+ # The minimum size in bytes that triggers compression for request
241
+ # bodies. The value must be non-negative integer value between 0
242
+ # and 10485780 bytes inclusive.
243
+ #
233
244
  # @option options [Proc] :retry_backoff
234
245
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
235
246
  # This option is only used in the `legacy` retry mode.
@@ -375,6 +386,9 @@ module Aws::Mgn
375
386
 
376
387
  # Archive application.
377
388
  #
389
+ # @option params [String] :account_id
390
+ # Account ID.
391
+ #
378
392
  # @option params [required, String] :application_id
379
393
  # Application ID.
380
394
  #
@@ -394,6 +408,7 @@ module Aws::Mgn
394
408
  # @example Request syntax with placeholder values
395
409
  #
396
410
  # resp = client.archive_application({
411
+ # account_id: "AccountID",
397
412
  # application_id: "ApplicationID", # required
398
413
  # })
399
414
  #
@@ -425,6 +440,9 @@ module Aws::Mgn
425
440
 
426
441
  # Archive wave.
427
442
  #
443
+ # @option params [String] :account_id
444
+ # Account ID.
445
+ #
428
446
  # @option params [required, String] :wave_id
429
447
  # Wave ID.
430
448
  #
@@ -443,6 +461,7 @@ module Aws::Mgn
443
461
  # @example Request syntax with placeholder values
444
462
  #
445
463
  # resp = client.archive_wave({
464
+ # account_id: "AccountID",
446
465
  # wave_id: "WaveID", # required
447
466
  # })
448
467
  #
@@ -474,6 +493,9 @@ module Aws::Mgn
474
493
 
475
494
  # Associate applications to wave.
476
495
  #
496
+ # @option params [String] :account_id
497
+ # Account ID.
498
+ #
477
499
  # @option params [required, Array<String>] :application_i_ds
478
500
  # Application IDs list.
479
501
  #
@@ -485,6 +507,7 @@ module Aws::Mgn
485
507
  # @example Request syntax with placeholder values
486
508
  #
487
509
  # resp = client.associate_applications({
510
+ # account_id: "AccountID",
488
511
  # application_i_ds: ["ApplicationID"], # required
489
512
  # wave_id: "WaveID", # required
490
513
  # })
@@ -500,6 +523,9 @@ module Aws::Mgn
500
523
 
501
524
  # Associate source servers to application.
502
525
  #
526
+ # @option params [String] :account_id
527
+ # Account ID.
528
+ #
503
529
  # @option params [required, String] :application_id
504
530
  # Application ID.
505
531
  #
@@ -511,6 +537,7 @@ module Aws::Mgn
511
537
  # @example Request syntax with placeholder values
512
538
  #
513
539
  # resp = client.associate_source_servers({
540
+ # account_id: "AccountID",
514
541
  # application_id: "ApplicationID", # required
515
542
  # source_server_i_ds: ["SourceServerID"], # required
516
543
  # })
@@ -529,6 +556,9 @@ module Aws::Mgn
529
556
  # or READY\_FOR\_CUTOVER. This command only works if the Source Server
530
557
  # is already launchable (dataReplicationInfo.lagDuration is not null.)
531
558
  #
559
+ # @option params [String] :account_id
560
+ # The request to change the source server migration account ID.
561
+ #
532
562
  # @option params [required, Types::ChangeServerLifeCycleStateSourceServerLifecycle] :life_cycle
533
563
  # The request to change the source server migration lifecycle state.
534
564
  #
@@ -555,6 +585,7 @@ module Aws::Mgn
555
585
  # @example Request syntax with placeholder values
556
586
  #
557
587
  # resp = client.change_server_life_cycle_state({
588
+ # account_id: "AccountID",
558
589
  # life_cycle: { # required
559
590
  # state: "READY_FOR_TEST", # required, accepts READY_FOR_TEST, READY_FOR_CUTOVER, CUTOVER
560
591
  # },
@@ -638,6 +669,9 @@ module Aws::Mgn
638
669
 
639
670
  # Create application.
640
671
  #
672
+ # @option params [String] :account_id
673
+ # Account ID.
674
+ #
641
675
  # @option params [String] :description
642
676
  # Application description.
643
677
  #
@@ -663,6 +697,7 @@ module Aws::Mgn
663
697
  # @example Request syntax with placeholder values
664
698
  #
665
699
  # resp = client.create_application({
700
+ # account_id: "AccountID",
666
701
  # description: "ApplicationDescription",
667
702
  # name: "ApplicationName", # required
668
703
  # tags: {
@@ -920,6 +955,10 @@ module Aws::Mgn
920
955
  # Request to use Dedicated Replication Servers during Replication
921
956
  # Settings template creation.
922
957
  #
958
+ # @option params [Boolean] :use_fips_endpoint
959
+ # Request to use Fips Endpoint during Replication Settings template
960
+ # creation.
961
+ #
923
962
  # @return [Types::ReplicationConfigurationTemplate] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
924
963
  #
925
964
  # * {Types::ReplicationConfigurationTemplate#arn #arn} => String
@@ -937,6 +976,7 @@ module Aws::Mgn
937
976
  # * {Types::ReplicationConfigurationTemplate#staging_area_tags #staging_area_tags} => Hash&lt;String,String&gt;
938
977
  # * {Types::ReplicationConfigurationTemplate#tags #tags} => Hash&lt;String,String&gt;
939
978
  # * {Types::ReplicationConfigurationTemplate#use_dedicated_replication_server #use_dedicated_replication_server} => Boolean
979
+ # * {Types::ReplicationConfigurationTemplate#use_fips_endpoint #use_fips_endpoint} => Boolean
940
980
  #
941
981
  # @example Request syntax with placeholder values
942
982
  #
@@ -958,6 +998,7 @@ module Aws::Mgn
958
998
  # "TagKey" => "TagValue",
959
999
  # },
960
1000
  # use_dedicated_replication_server: false, # required
1001
+ # use_fips_endpoint: false,
961
1002
  # })
962
1003
  #
963
1004
  # @example Response structure
@@ -980,6 +1021,7 @@ module Aws::Mgn
980
1021
  # resp.tags #=> Hash
981
1022
  # resp.tags["TagKey"] #=> String
982
1023
  # resp.use_dedicated_replication_server #=> Boolean
1024
+ # resp.use_fips_endpoint #=> Boolean
983
1025
  #
984
1026
  # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/CreateReplicationConfigurationTemplate AWS API Documentation
985
1027
  #
@@ -992,6 +1034,9 @@ module Aws::Mgn
992
1034
 
993
1035
  # Create wave.
994
1036
  #
1037
+ # @option params [String] :account_id
1038
+ # Account ID.
1039
+ #
995
1040
  # @option params [String] :description
996
1041
  # Wave description.
997
1042
  #
@@ -1016,6 +1061,7 @@ module Aws::Mgn
1016
1061
  # @example Request syntax with placeholder values
1017
1062
  #
1018
1063
  # resp = client.create_wave({
1064
+ # account_id: "AccountID",
1019
1065
  # description: "WaveDescription",
1020
1066
  # name: "WaveName", # required
1021
1067
  # tags: {
@@ -1051,6 +1097,9 @@ module Aws::Mgn
1051
1097
 
1052
1098
  # Delete application.
1053
1099
  #
1100
+ # @option params [String] :account_id
1101
+ # Account ID.
1102
+ #
1054
1103
  # @option params [required, String] :application_id
1055
1104
  # Application ID.
1056
1105
  #
@@ -1059,6 +1108,7 @@ module Aws::Mgn
1059
1108
  # @example Request syntax with placeholder values
1060
1109
  #
1061
1110
  # resp = client.delete_application({
1111
+ # account_id: "AccountID",
1062
1112
  # application_id: "ApplicationID", # required
1063
1113
  # })
1064
1114
  #
@@ -1073,6 +1123,9 @@ module Aws::Mgn
1073
1123
 
1074
1124
  # Deletes a single Job by ID.
1075
1125
  #
1126
+ # @option params [String] :account_id
1127
+ # Request to delete Job from service by Account ID.
1128
+ #
1076
1129
  # @option params [required, String] :job_id
1077
1130
  # Request to delete Job from service by Job ID.
1078
1131
  #
@@ -1081,6 +1134,7 @@ module Aws::Mgn
1081
1134
  # @example Request syntax with placeholder values
1082
1135
  #
1083
1136
  # resp = client.delete_job({
1137
+ # account_id: "AccountID",
1084
1138
  # job_id: "JobID", # required
1085
1139
  # })
1086
1140
  #
@@ -1140,6 +1194,9 @@ module Aws::Mgn
1140
1194
 
1141
1195
  # Deletes a single source server by ID.
1142
1196
  #
1197
+ # @option params [String] :account_id
1198
+ # Request to delete Source Server from service by Account ID.
1199
+ #
1143
1200
  # @option params [required, String] :source_server_id
1144
1201
  # Request to delete Source Server from service by Server ID.
1145
1202
  #
@@ -1148,6 +1205,7 @@ module Aws::Mgn
1148
1205
  # @example Request syntax with placeholder values
1149
1206
  #
1150
1207
  # resp = client.delete_source_server({
1208
+ # account_id: "AccountID",
1151
1209
  # source_server_id: "SourceServerID", # required
1152
1210
  # })
1153
1211
  #
@@ -1184,6 +1242,9 @@ module Aws::Mgn
1184
1242
 
1185
1243
  # Delete wave.
1186
1244
  #
1245
+ # @option params [String] :account_id
1246
+ # Account ID.
1247
+ #
1187
1248
  # @option params [required, String] :wave_id
1188
1249
  # Wave ID.
1189
1250
  #
@@ -1192,6 +1253,7 @@ module Aws::Mgn
1192
1253
  # @example Request syntax with placeholder values
1193
1254
  #
1194
1255
  # resp = client.delete_wave({
1256
+ # account_id: "AccountID",
1195
1257
  # wave_id: "WaveID", # required
1196
1258
  # })
1197
1259
  #
@@ -1206,6 +1268,9 @@ module Aws::Mgn
1206
1268
 
1207
1269
  # Retrieves detailed job log items with paging.
1208
1270
  #
1271
+ # @option params [String] :account_id
1272
+ # Request to describe Job log Account ID.
1273
+ #
1209
1274
  # @option params [required, String] :job_id
1210
1275
  # Request to describe Job log job ID.
1211
1276
  #
@@ -1225,6 +1290,7 @@ module Aws::Mgn
1225
1290
  # @example Request syntax with placeholder values
1226
1291
  #
1227
1292
  # resp = client.describe_job_log_items({
1293
+ # account_id: "AccountID",
1228
1294
  # job_id: "JobID", # required
1229
1295
  # max_results: 1,
1230
1296
  # next_token: "PaginationToken",
@@ -1258,6 +1324,9 @@ module Aws::Mgn
1258
1324
  # which are APIs available only to *Support* and only used in response
1259
1325
  # to relevant support tickets.
1260
1326
  #
1327
+ # @option params [String] :account_id
1328
+ # Request to describe job log items by Account ID.
1329
+ #
1261
1330
  # @option params [Types::DescribeJobsRequestFilters] :filters
1262
1331
  # Request to describe Job log filters.
1263
1332
  #
@@ -1277,6 +1346,7 @@ module Aws::Mgn
1277
1346
  # @example Request syntax with placeholder values
1278
1347
  #
1279
1348
  # resp = client.describe_jobs({
1349
+ # account_id: "AccountID",
1280
1350
  # filters: {
1281
1351
  # from_date: "ISO8601DatetimeString",
1282
1352
  # job_i_ds: ["JobID"],
@@ -1458,6 +1528,7 @@ module Aws::Mgn
1458
1528
  # resp.items[0].tags #=> Hash
1459
1529
  # resp.items[0].tags["TagKey"] #=> String
1460
1530
  # resp.items[0].use_dedicated_replication_server #=> Boolean
1531
+ # resp.items[0].use_fips_endpoint #=> Boolean
1461
1532
  # resp.next_token #=> String
1462
1533
  #
1463
1534
  # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeReplicationConfigurationTemplates AWS API Documentation
@@ -1471,6 +1542,9 @@ module Aws::Mgn
1471
1542
 
1472
1543
  # Retrieves all SourceServers or multiple SourceServers by ID.
1473
1544
  #
1545
+ # @option params [String] :account_id
1546
+ # Request to filter Source Servers list by Accoun ID.
1547
+ #
1474
1548
  # @option params [Types::DescribeSourceServersRequestFilters] :filters
1475
1549
  # Request to filter Source Servers list.
1476
1550
  #
@@ -1490,6 +1564,7 @@ module Aws::Mgn
1490
1564
  # @example Request syntax with placeholder values
1491
1565
  #
1492
1566
  # resp = client.describe_source_servers({
1567
+ # account_id: "AccountID",
1493
1568
  # filters: {
1494
1569
  # application_i_ds: ["ApplicationID"],
1495
1570
  # is_archived: false,
@@ -1626,6 +1701,9 @@ module Aws::Mgn
1626
1701
 
1627
1702
  # Disassociate applications from wave.
1628
1703
  #
1704
+ # @option params [String] :account_id
1705
+ # Account ID.
1706
+ #
1629
1707
  # @option params [required, Array<String>] :application_i_ds
1630
1708
  # Application IDs list.
1631
1709
  #
@@ -1637,6 +1715,7 @@ module Aws::Mgn
1637
1715
  # @example Request syntax with placeholder values
1638
1716
  #
1639
1717
  # resp = client.disassociate_applications({
1718
+ # account_id: "AccountID",
1640
1719
  # application_i_ds: ["ApplicationID"], # required
1641
1720
  # wave_id: "WaveID", # required
1642
1721
  # })
@@ -1652,6 +1731,9 @@ module Aws::Mgn
1652
1731
 
1653
1732
  # Disassociate source servers from application.
1654
1733
  #
1734
+ # @option params [String] :account_id
1735
+ # Account ID.
1736
+ #
1655
1737
  # @option params [required, String] :application_id
1656
1738
  # Application ID.
1657
1739
  #
@@ -1663,6 +1745,7 @@ module Aws::Mgn
1663
1745
  # @example Request syntax with placeholder values
1664
1746
  #
1665
1747
  # resp = client.disassociate_source_servers({
1748
+ # account_id: "AccountID",
1666
1749
  # application_id: "ApplicationID", # required
1667
1750
  # source_server_i_ds: ["SourceServerID"], # required
1668
1751
  # })
@@ -1691,6 +1774,9 @@ module Aws::Mgn
1691
1774
  # dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration
1692
1775
  # will be nullified.
1693
1776
  #
1777
+ # @option params [String] :account_id
1778
+ # Request to disconnect Source Server from service by Account ID.
1779
+ #
1694
1780
  # @option params [required, String] :source_server_id
1695
1781
  # Request to disconnect Source Server from service by Server ID.
1696
1782
  #
@@ -1713,6 +1799,7 @@ module Aws::Mgn
1713
1799
  # @example Request syntax with placeholder values
1714
1800
  #
1715
1801
  # resp = client.disconnect_from_service({
1802
+ # account_id: "AccountID",
1716
1803
  # source_server_id: "SourceServerID", # required
1717
1804
  # })
1718
1805
  #
@@ -1805,6 +1892,9 @@ module Aws::Mgn
1805
1892
  # dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration
1806
1893
  # will be nullified.
1807
1894
  #
1895
+ # @option params [String] :account_id
1896
+ # Request to finalize Cutover by Source Account ID.
1897
+ #
1808
1898
  # @option params [required, String] :source_server_id
1809
1899
  # Request to finalize Cutover by Source Server ID.
1810
1900
  #
@@ -1827,6 +1917,7 @@ module Aws::Mgn
1827
1917
  # @example Request syntax with placeholder values
1828
1918
  #
1829
1919
  # resp = client.finalize_cutover({
1920
+ # account_id: "AccountID",
1830
1921
  # source_server_id: "SourceServerID", # required
1831
1922
  # })
1832
1923
  #
@@ -1908,6 +1999,9 @@ module Aws::Mgn
1908
1999
  # Lists all LaunchConfigurations available, filtered by Source Server
1909
2000
  # IDs.
1910
2001
  #
2002
+ # @option params [String] :account_id
2003
+ # Request to get Launch Configuration information by Account ID.
2004
+ #
1911
2005
  # @option params [required, String] :source_server_id
1912
2006
  # Request to get Launch Configuration information by Source Server ID.
1913
2007
  #
@@ -1929,6 +2023,7 @@ module Aws::Mgn
1929
2023
  # @example Request syntax with placeholder values
1930
2024
  #
1931
2025
  # resp = client.get_launch_configuration({
2026
+ # account_id: "AccountID",
1932
2027
  # source_server_id: "SourceServerID", # required
1933
2028
  # })
1934
2029
  #
@@ -1972,6 +2067,9 @@ module Aws::Mgn
1972
2067
 
1973
2068
  # Lists all ReplicationConfigurations, filtered by Source Server ID.
1974
2069
  #
2070
+ # @option params [String] :account_id
2071
+ # Request to get Replication Configuration by Account ID.
2072
+ #
1975
2073
  # @option params [required, String] :source_server_id
1976
2074
  # Request to get Replication Configuration by Source Server ID.
1977
2075
  #
@@ -1992,10 +2090,12 @@ module Aws::Mgn
1992
2090
  # * {Types::ReplicationConfiguration#staging_area_subnet_id #staging_area_subnet_id} => String
1993
2091
  # * {Types::ReplicationConfiguration#staging_area_tags #staging_area_tags} => Hash&lt;String,String&gt;
1994
2092
  # * {Types::ReplicationConfiguration#use_dedicated_replication_server #use_dedicated_replication_server} => Boolean
2093
+ # * {Types::ReplicationConfiguration#use_fips_endpoint #use_fips_endpoint} => Boolean
1995
2094
  #
1996
2095
  # @example Request syntax with placeholder values
1997
2096
  #
1998
2097
  # resp = client.get_replication_configuration({
2098
+ # account_id: "AccountID",
1999
2099
  # source_server_id: "SourceServerID", # required
2000
2100
  # })
2001
2101
  #
@@ -2023,6 +2123,7 @@ module Aws::Mgn
2023
2123
  # resp.staging_area_tags #=> Hash
2024
2124
  # resp.staging_area_tags["TagKey"] #=> String
2025
2125
  # resp.use_dedicated_replication_server #=> Boolean
2126
+ # resp.use_fips_endpoint #=> Boolean
2026
2127
  #
2027
2128
  # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/GetReplicationConfiguration AWS API Documentation
2028
2129
  #
@@ -2048,6 +2149,9 @@ module Aws::Mgn
2048
2149
 
2049
2150
  # Retrieves all applications or multiple applications by ID.
2050
2151
  #
2152
+ # @option params [String] :account_id
2153
+ # Applications list Account ID.
2154
+ #
2051
2155
  # @option params [Types::ListApplicationsRequestFilters] :filters
2052
2156
  # Applications list filters.
2053
2157
  #
@@ -2067,6 +2171,7 @@ module Aws::Mgn
2067
2171
  # @example Request syntax with placeholder values
2068
2172
  #
2069
2173
  # resp = client.list_applications({
2174
+ # account_id: "AccountID",
2070
2175
  # filters: {
2071
2176
  # application_i_ds: ["ApplicationID"],
2072
2177
  # is_archived: false,
@@ -2228,6 +2333,7 @@ module Aws::Mgn
2228
2333
  # @example Response structure
2229
2334
  #
2230
2335
  # resp.items #=> Array
2336
+ # resp.items[0].error_data.account_id #=> String
2231
2337
  # resp.items[0].error_data.application_id #=> String
2232
2338
  # resp.items[0].error_data.ec2_launch_template_id #=> String
2233
2339
  # resp.items[0].error_data.raw_error #=> String
@@ -2303,8 +2409,49 @@ module Aws::Mgn
2303
2409
  req.send_request(options)
2304
2410
  end
2305
2411
 
2412
+ # List Managed Accounts.
2413
+ #
2414
+ # @option params [Integer] :max_results
2415
+ # List managed accounts request max results.
2416
+ #
2417
+ # @option params [String] :next_token
2418
+ # List managed accounts request next token.
2419
+ #
2420
+ # @return [Types::ListManagedAccountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2421
+ #
2422
+ # * {Types::ListManagedAccountsResponse#items #items} => Array&lt;Types::ManagedAccount&gt;
2423
+ # * {Types::ListManagedAccountsResponse#next_token #next_token} => String
2424
+ #
2425
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2426
+ #
2427
+ # @example Request syntax with placeholder values
2428
+ #
2429
+ # resp = client.list_managed_accounts({
2430
+ # max_results: 1,
2431
+ # next_token: "PaginationToken",
2432
+ # })
2433
+ #
2434
+ # @example Response structure
2435
+ #
2436
+ # resp.items #=> Array
2437
+ # resp.items[0].account_id #=> String
2438
+ # resp.next_token #=> String
2439
+ #
2440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListManagedAccounts AWS API Documentation
2441
+ #
2442
+ # @overload list_managed_accounts(params = {})
2443
+ # @param [Hash] params ({})
2444
+ def list_managed_accounts(params = {}, options = {})
2445
+ req = build_request(:list_managed_accounts, params)
2446
+ req.send_request(options)
2447
+ end
2448
+
2306
2449
  # List source server post migration custom actions.
2307
2450
  #
2451
+ # @option params [String] :account_id
2452
+ # Account ID to return when listing source server post migration custom
2453
+ # actions.
2454
+ #
2308
2455
  # @option params [Types::SourceServerActionsRequestFilters] :filters
2309
2456
  # Filters to apply when listing source server post migration custom
2310
2457
  # actions.
@@ -2330,6 +2477,7 @@ module Aws::Mgn
2330
2477
  # @example Request syntax with placeholder values
2331
2478
  #
2332
2479
  # resp = client.list_source_server_actions({
2480
+ # account_id: "AccountID",
2333
2481
  # filters: {
2334
2482
  # action_i_ds: ["ActionID"],
2335
2483
  # },
@@ -2463,6 +2611,9 @@ module Aws::Mgn
2463
2611
 
2464
2612
  # Retrieves all waves or multiple waves by ID.
2465
2613
  #
2614
+ # @option params [String] :account_id
2615
+ # Request account ID.
2616
+ #
2466
2617
  # @option params [Types::ListWavesRequestFilters] :filters
2467
2618
  # Waves list filters.
2468
2619
  #
@@ -2482,6 +2633,7 @@ module Aws::Mgn
2482
2633
  # @example Request syntax with placeholder values
2483
2634
  #
2484
2635
  # resp = client.list_waves({
2636
+ # account_id: "AccountID",
2485
2637
  # filters: {
2486
2638
  # is_archived: false,
2487
2639
  # wave_i_ds: ["WaveID"],
@@ -2523,6 +2675,9 @@ module Aws::Mgn
2523
2675
  # by ID. This command only works for SourceServers with a lifecycle.
2524
2676
  # state which equals DISCONNECTED or CUTOVER.
2525
2677
  #
2678
+ # @option params [String] :account_id
2679
+ # Mark as archived by Account ID.
2680
+ #
2526
2681
  # @option params [required, String] :source_server_id
2527
2682
  # Mark as archived by Source Server ID.
2528
2683
  #
@@ -2545,6 +2700,7 @@ module Aws::Mgn
2545
2700
  # @example Request syntax with placeholder values
2546
2701
  #
2547
2702
  # resp = client.mark_as_archived({
2703
+ # account_id: "AccountID",
2548
2704
  # source_server_id: "SourceServerID", # required
2549
2705
  # })
2550
2706
  #
@@ -2623,8 +2779,117 @@ module Aws::Mgn
2623
2779
  req.send_request(options)
2624
2780
  end
2625
2781
 
2782
+ # Pause Replication.
2783
+ #
2784
+ # @option params [String] :account_id
2785
+ # Pause Replication Request account ID.
2786
+ #
2787
+ # @option params [required, String] :source_server_id
2788
+ # Pause Replication Request source server ID.
2789
+ #
2790
+ # @return [Types::SourceServer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2791
+ #
2792
+ # * {Types::SourceServer#application_id #application_id} => String
2793
+ # * {Types::SourceServer#arn #arn} => String
2794
+ # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
2795
+ # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
2796
+ # * {Types::SourceServer#is_archived #is_archived} => Boolean
2797
+ # * {Types::SourceServer#launched_instance #launched_instance} => Types::LaunchedInstance
2798
+ # * {Types::SourceServer#life_cycle #life_cycle} => Types::LifeCycle
2799
+ # * {Types::SourceServer#replication_type #replication_type} => String
2800
+ # * {Types::SourceServer#source_properties #source_properties} => Types::SourceProperties
2801
+ # * {Types::SourceServer#source_server_id #source_server_id} => String
2802
+ # * {Types::SourceServer#tags #tags} => Hash&lt;String,String&gt;
2803
+ # * {Types::SourceServer#user_provided_id #user_provided_id} => String
2804
+ # * {Types::SourceServer#vcenter_client_id #vcenter_client_id} => String
2805
+ #
2806
+ # @example Request syntax with placeholder values
2807
+ #
2808
+ # resp = client.pause_replication({
2809
+ # account_id: "AccountID",
2810
+ # source_server_id: "SourceServerID", # required
2811
+ # })
2812
+ #
2813
+ # @example Response structure
2814
+ #
2815
+ # resp.application_id #=> String
2816
+ # resp.arn #=> String
2817
+ # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
2818
+ # resp.data_replication_info.data_replication_error.raw_error #=> String
2819
+ # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
2820
+ # resp.data_replication_info.data_replication_initiation.start_date_time #=> String
2821
+ # resp.data_replication_info.data_replication_initiation.steps #=> Array
2822
+ # resp.data_replication_info.data_replication_initiation.steps[0].name #=> String, one of "WAIT", "CREATE_SECURITY_GROUP", "LAUNCH_REPLICATION_SERVER", "BOOT_REPLICATION_SERVER", "AUTHENTICATE_WITH_SERVICE", "DOWNLOAD_REPLICATION_SOFTWARE", "CREATE_STAGING_DISKS", "ATTACH_STAGING_DISKS", "PAIR_REPLICATION_SERVER_WITH_AGENT", "CONNECT_AGENT_TO_REPLICATION_SERVER", "START_DATA_TRANSFER"
2823
+ # resp.data_replication_info.data_replication_initiation.steps[0].status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "SKIPPED"
2824
+ # resp.data_replication_info.data_replication_state #=> String, one of "STOPPED", "INITIATING", "INITIAL_SYNC", "BACKLOG", "CREATING_SNAPSHOT", "CONTINUOUS", "PAUSED", "RESCAN", "STALLED", "DISCONNECTED", "PENDING_SNAPSHOT_SHIPPING", "SHIPPING_SNAPSHOT"
2825
+ # resp.data_replication_info.eta_date_time #=> String
2826
+ # resp.data_replication_info.lag_duration #=> String
2827
+ # resp.data_replication_info.last_snapshot_date_time #=> String
2828
+ # resp.data_replication_info.replicated_disks #=> Array
2829
+ # resp.data_replication_info.replicated_disks[0].backlogged_storage_bytes #=> Integer
2830
+ # resp.data_replication_info.replicated_disks[0].device_name #=> String
2831
+ # resp.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
2832
+ # resp.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
2833
+ # resp.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
2834
+ # resp.fqdn_for_action_framework #=> String
2835
+ # resp.is_archived #=> Boolean
2836
+ # resp.launched_instance.ec2_instance_id #=> String
2837
+ # resp.launched_instance.first_boot #=> String, one of "WAITING", "SUCCEEDED", "UNKNOWN", "STOPPED"
2838
+ # resp.launched_instance.job_id #=> String
2839
+ # resp.life_cycle.added_to_service_date_time #=> String
2840
+ # resp.life_cycle.elapsed_replication_duration #=> String
2841
+ # resp.life_cycle.first_byte_date_time #=> String
2842
+ # resp.life_cycle.last_cutover.finalized.api_call_date_time #=> String
2843
+ # resp.life_cycle.last_cutover.initiated.api_call_date_time #=> String
2844
+ # resp.life_cycle.last_cutover.initiated.job_id #=> String
2845
+ # resp.life_cycle.last_cutover.reverted.api_call_date_time #=> String
2846
+ # resp.life_cycle.last_seen_by_service_date_time #=> String
2847
+ # resp.life_cycle.last_test.finalized.api_call_date_time #=> String
2848
+ # resp.life_cycle.last_test.initiated.api_call_date_time #=> String
2849
+ # resp.life_cycle.last_test.initiated.job_id #=> String
2850
+ # resp.life_cycle.last_test.reverted.api_call_date_time #=> String
2851
+ # resp.life_cycle.state #=> String, one of "STOPPED", "NOT_READY", "READY_FOR_TEST", "TESTING", "READY_FOR_CUTOVER", "CUTTING_OVER", "CUTOVER", "DISCONNECTED", "DISCOVERED", "PENDING_INSTALLATION"
2852
+ # resp.replication_type #=> String, one of "AGENT_BASED", "SNAPSHOT_SHIPPING"
2853
+ # resp.source_properties.cpus #=> Array
2854
+ # resp.source_properties.cpus[0].cores #=> Integer
2855
+ # resp.source_properties.cpus[0].model_name #=> String
2856
+ # resp.source_properties.disks #=> Array
2857
+ # resp.source_properties.disks[0].bytes #=> Integer
2858
+ # resp.source_properties.disks[0].device_name #=> String
2859
+ # resp.source_properties.identification_hints.aws_instance_id #=> String
2860
+ # resp.source_properties.identification_hints.fqdn #=> String
2861
+ # resp.source_properties.identification_hints.hostname #=> String
2862
+ # resp.source_properties.identification_hints.vm_path #=> String
2863
+ # resp.source_properties.identification_hints.vm_ware_uuid #=> String
2864
+ # resp.source_properties.last_updated_date_time #=> String
2865
+ # resp.source_properties.network_interfaces #=> Array
2866
+ # resp.source_properties.network_interfaces[0].ips #=> Array
2867
+ # resp.source_properties.network_interfaces[0].ips[0] #=> String
2868
+ # resp.source_properties.network_interfaces[0].is_primary #=> Boolean
2869
+ # resp.source_properties.network_interfaces[0].mac_address #=> String
2870
+ # resp.source_properties.os.full_string #=> String
2871
+ # resp.source_properties.ram_bytes #=> Integer
2872
+ # resp.source_properties.recommended_instance_type #=> String
2873
+ # resp.source_server_id #=> String
2874
+ # resp.tags #=> Hash
2875
+ # resp.tags["TagKey"] #=> String
2876
+ # resp.user_provided_id #=> String
2877
+ # resp.vcenter_client_id #=> String
2878
+ #
2879
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/PauseReplication AWS API Documentation
2880
+ #
2881
+ # @overload pause_replication(params = {})
2882
+ # @param [Hash] params ({})
2883
+ def pause_replication(params = {}, options = {})
2884
+ req = build_request(:pause_replication, params)
2885
+ req.send_request(options)
2886
+ end
2887
+
2626
2888
  # Put source server post migration custom action.
2627
2889
  #
2890
+ # @option params [String] :account_id
2891
+ # Source server post migration custom account ID.
2892
+ #
2628
2893
  # @option params [required, String] :action_id
2629
2894
  # Source server post migration custom action ID.
2630
2895
  #
@@ -2682,6 +2947,7 @@ module Aws::Mgn
2682
2947
  # @example Request syntax with placeholder values
2683
2948
  #
2684
2949
  # resp = client.put_source_server_action({
2950
+ # account_id: "AccountID",
2685
2951
  # action_id: "ActionID", # required
2686
2952
  # action_name: "ActionName", # required
2687
2953
  # active: false,
@@ -2858,6 +3124,9 @@ module Aws::Mgn
2858
3124
 
2859
3125
  # Remove source server post migration custom action.
2860
3126
  #
3127
+ # @option params [String] :account_id
3128
+ # Source server post migration account ID.
3129
+ #
2861
3130
  # @option params [required, String] :action_id
2862
3131
  # Source server post migration custom action ID to remove.
2863
3132
  #
@@ -2869,6 +3138,7 @@ module Aws::Mgn
2869
3138
  # @example Request syntax with placeholder values
2870
3139
  #
2871
3140
  # resp = client.remove_source_server_action({
3141
+ # account_id: "AccountID",
2872
3142
  # action_id: "ActionID", # required
2873
3143
  # source_server_id: "SourceServerID", # required
2874
3144
  # })
@@ -2909,11 +3179,120 @@ module Aws::Mgn
2909
3179
  req.send_request(options)
2910
3180
  end
2911
3181
 
3182
+ # Resume Replication.
3183
+ #
3184
+ # @option params [String] :account_id
3185
+ # Resume Replication Request account ID.
3186
+ #
3187
+ # @option params [required, String] :source_server_id
3188
+ # Resume Replication Request source server ID.
3189
+ #
3190
+ # @return [Types::SourceServer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3191
+ #
3192
+ # * {Types::SourceServer#application_id #application_id} => String
3193
+ # * {Types::SourceServer#arn #arn} => String
3194
+ # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
3195
+ # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
3196
+ # * {Types::SourceServer#is_archived #is_archived} => Boolean
3197
+ # * {Types::SourceServer#launched_instance #launched_instance} => Types::LaunchedInstance
3198
+ # * {Types::SourceServer#life_cycle #life_cycle} => Types::LifeCycle
3199
+ # * {Types::SourceServer#replication_type #replication_type} => String
3200
+ # * {Types::SourceServer#source_properties #source_properties} => Types::SourceProperties
3201
+ # * {Types::SourceServer#source_server_id #source_server_id} => String
3202
+ # * {Types::SourceServer#tags #tags} => Hash&lt;String,String&gt;
3203
+ # * {Types::SourceServer#user_provided_id #user_provided_id} => String
3204
+ # * {Types::SourceServer#vcenter_client_id #vcenter_client_id} => String
3205
+ #
3206
+ # @example Request syntax with placeholder values
3207
+ #
3208
+ # resp = client.resume_replication({
3209
+ # account_id: "AccountID",
3210
+ # source_server_id: "SourceServerID", # required
3211
+ # })
3212
+ #
3213
+ # @example Response structure
3214
+ #
3215
+ # resp.application_id #=> String
3216
+ # resp.arn #=> String
3217
+ # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
3218
+ # resp.data_replication_info.data_replication_error.raw_error #=> String
3219
+ # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
3220
+ # resp.data_replication_info.data_replication_initiation.start_date_time #=> String
3221
+ # resp.data_replication_info.data_replication_initiation.steps #=> Array
3222
+ # resp.data_replication_info.data_replication_initiation.steps[0].name #=> String, one of "WAIT", "CREATE_SECURITY_GROUP", "LAUNCH_REPLICATION_SERVER", "BOOT_REPLICATION_SERVER", "AUTHENTICATE_WITH_SERVICE", "DOWNLOAD_REPLICATION_SOFTWARE", "CREATE_STAGING_DISKS", "ATTACH_STAGING_DISKS", "PAIR_REPLICATION_SERVER_WITH_AGENT", "CONNECT_AGENT_TO_REPLICATION_SERVER", "START_DATA_TRANSFER"
3223
+ # resp.data_replication_info.data_replication_initiation.steps[0].status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "SKIPPED"
3224
+ # resp.data_replication_info.data_replication_state #=> String, one of "STOPPED", "INITIATING", "INITIAL_SYNC", "BACKLOG", "CREATING_SNAPSHOT", "CONTINUOUS", "PAUSED", "RESCAN", "STALLED", "DISCONNECTED", "PENDING_SNAPSHOT_SHIPPING", "SHIPPING_SNAPSHOT"
3225
+ # resp.data_replication_info.eta_date_time #=> String
3226
+ # resp.data_replication_info.lag_duration #=> String
3227
+ # resp.data_replication_info.last_snapshot_date_time #=> String
3228
+ # resp.data_replication_info.replicated_disks #=> Array
3229
+ # resp.data_replication_info.replicated_disks[0].backlogged_storage_bytes #=> Integer
3230
+ # resp.data_replication_info.replicated_disks[0].device_name #=> String
3231
+ # resp.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
3232
+ # resp.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
3233
+ # resp.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
3234
+ # resp.fqdn_for_action_framework #=> String
3235
+ # resp.is_archived #=> Boolean
3236
+ # resp.launched_instance.ec2_instance_id #=> String
3237
+ # resp.launched_instance.first_boot #=> String, one of "WAITING", "SUCCEEDED", "UNKNOWN", "STOPPED"
3238
+ # resp.launched_instance.job_id #=> String
3239
+ # resp.life_cycle.added_to_service_date_time #=> String
3240
+ # resp.life_cycle.elapsed_replication_duration #=> String
3241
+ # resp.life_cycle.first_byte_date_time #=> String
3242
+ # resp.life_cycle.last_cutover.finalized.api_call_date_time #=> String
3243
+ # resp.life_cycle.last_cutover.initiated.api_call_date_time #=> String
3244
+ # resp.life_cycle.last_cutover.initiated.job_id #=> String
3245
+ # resp.life_cycle.last_cutover.reverted.api_call_date_time #=> String
3246
+ # resp.life_cycle.last_seen_by_service_date_time #=> String
3247
+ # resp.life_cycle.last_test.finalized.api_call_date_time #=> String
3248
+ # resp.life_cycle.last_test.initiated.api_call_date_time #=> String
3249
+ # resp.life_cycle.last_test.initiated.job_id #=> String
3250
+ # resp.life_cycle.last_test.reverted.api_call_date_time #=> String
3251
+ # resp.life_cycle.state #=> String, one of "STOPPED", "NOT_READY", "READY_FOR_TEST", "TESTING", "READY_FOR_CUTOVER", "CUTTING_OVER", "CUTOVER", "DISCONNECTED", "DISCOVERED", "PENDING_INSTALLATION"
3252
+ # resp.replication_type #=> String, one of "AGENT_BASED", "SNAPSHOT_SHIPPING"
3253
+ # resp.source_properties.cpus #=> Array
3254
+ # resp.source_properties.cpus[0].cores #=> Integer
3255
+ # resp.source_properties.cpus[0].model_name #=> String
3256
+ # resp.source_properties.disks #=> Array
3257
+ # resp.source_properties.disks[0].bytes #=> Integer
3258
+ # resp.source_properties.disks[0].device_name #=> String
3259
+ # resp.source_properties.identification_hints.aws_instance_id #=> String
3260
+ # resp.source_properties.identification_hints.fqdn #=> String
3261
+ # resp.source_properties.identification_hints.hostname #=> String
3262
+ # resp.source_properties.identification_hints.vm_path #=> String
3263
+ # resp.source_properties.identification_hints.vm_ware_uuid #=> String
3264
+ # resp.source_properties.last_updated_date_time #=> String
3265
+ # resp.source_properties.network_interfaces #=> Array
3266
+ # resp.source_properties.network_interfaces[0].ips #=> Array
3267
+ # resp.source_properties.network_interfaces[0].ips[0] #=> String
3268
+ # resp.source_properties.network_interfaces[0].is_primary #=> Boolean
3269
+ # resp.source_properties.network_interfaces[0].mac_address #=> String
3270
+ # resp.source_properties.os.full_string #=> String
3271
+ # resp.source_properties.ram_bytes #=> Integer
3272
+ # resp.source_properties.recommended_instance_type #=> String
3273
+ # resp.source_server_id #=> String
3274
+ # resp.tags #=> Hash
3275
+ # resp.tags["TagKey"] #=> String
3276
+ # resp.user_provided_id #=> String
3277
+ # resp.vcenter_client_id #=> String
3278
+ #
3279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ResumeReplication AWS API Documentation
3280
+ #
3281
+ # @overload resume_replication(params = {})
3282
+ # @param [Hash] params ({})
3283
+ def resume_replication(params = {}, options = {})
3284
+ req = build_request(:resume_replication, params)
3285
+ req.send_request(options)
3286
+ end
3287
+
2912
3288
  # Causes the data replication initiation sequence to begin immediately
2913
3289
  # upon next Handshake for specified SourceServer IDs, regardless of when
2914
3290
  # the previous initiation started. This command will not work if the
2915
3291
  # SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.
2916
3292
  #
3293
+ # @option params [String] :account_id
3294
+ # Retry data replication for Account ID.
3295
+ #
2917
3296
  # @option params [required, String] :source_server_id
2918
3297
  # Retry data replication for Source Server ID.
2919
3298
  #
@@ -2936,6 +3315,7 @@ module Aws::Mgn
2936
3315
  # @example Request syntax with placeholder values
2937
3316
  #
2938
3317
  # resp = client.retry_data_replication({
3318
+ # account_id: "AccountID",
2939
3319
  # source_server_id: "SourceServerID", # required
2940
3320
  # })
2941
3321
  #
@@ -3018,6 +3398,9 @@ module Aws::Mgn
3018
3398
  # starts a LAUNCH job whose initiatedBy property is StartCutover and
3019
3399
  # changes the SourceServer.lifeCycle.state property to CUTTING\_OVER.
3020
3400
  #
3401
+ # @option params [String] :account_id
3402
+ # Start Cutover by Account IDs
3403
+ #
3021
3404
  # @option params [required, Array<String>] :source_server_i_ds
3022
3405
  # Start Cutover by Source Server IDs.
3023
3406
  #
@@ -3031,6 +3414,7 @@ module Aws::Mgn
3031
3414
  # @example Request syntax with placeholder values
3032
3415
  #
3033
3416
  # resp = client.start_cutover({
3417
+ # account_id: "AccountID",
3034
3418
  # source_server_i_ds: ["SourceServerID"], # required
3035
3419
  # tags: {
3036
3420
  # "TagKey" => "TagValue",
@@ -3178,6 +3562,9 @@ module Aws::Mgn
3178
3562
 
3179
3563
  # Starts replication for SNAPSHOT\_SHIPPING agents.
3180
3564
  #
3565
+ # @option params [String] :account_id
3566
+ # Account ID on which to start replication.
3567
+ #
3181
3568
  # @option params [required, String] :source_server_id
3182
3569
  # ID of source server on which to start replication.
3183
3570
  #
@@ -3200,6 +3587,7 @@ module Aws::Mgn
3200
3587
  # @example Request syntax with placeholder values
3201
3588
  #
3202
3589
  # resp = client.start_replication({
3590
+ # account_id: "AccountID",
3203
3591
  # source_server_id: "SourceServerID", # required
3204
3592
  # })
3205
3593
  #
@@ -3282,6 +3670,9 @@ module Aws::Mgn
3282
3670
  # starts a LAUNCH job whose initiatedBy property is StartTest and
3283
3671
  # changes the SourceServer.lifeCycle.state property to TESTING.
3284
3672
  #
3673
+ # @option params [String] :account_id
3674
+ # Start Test for Account ID.
3675
+ #
3285
3676
  # @option params [required, Array<String>] :source_server_i_ds
3286
3677
  # Start Test for Source Server IDs.
3287
3678
  #
@@ -3295,6 +3686,7 @@ module Aws::Mgn
3295
3686
  # @example Request syntax with placeholder values
3296
3687
  #
3297
3688
  # resp = client.start_test({
3689
+ # account_id: "AccountID",
3298
3690
  # source_server_i_ds: ["SourceServerID"], # required
3299
3691
  # tags: {
3300
3692
  # "TagKey" => "TagValue",
@@ -3342,6 +3734,112 @@ module Aws::Mgn
3342
3734
  req.send_request(options)
3343
3735
  end
3344
3736
 
3737
+ # Stop Replication.
3738
+ #
3739
+ # @option params [String] :account_id
3740
+ # Stop Replication Request account ID.
3741
+ #
3742
+ # @option params [required, String] :source_server_id
3743
+ # Stop Replication Request source server ID.
3744
+ #
3745
+ # @return [Types::SourceServer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3746
+ #
3747
+ # * {Types::SourceServer#application_id #application_id} => String
3748
+ # * {Types::SourceServer#arn #arn} => String
3749
+ # * {Types::SourceServer#data_replication_info #data_replication_info} => Types::DataReplicationInfo
3750
+ # * {Types::SourceServer#fqdn_for_action_framework #fqdn_for_action_framework} => String
3751
+ # * {Types::SourceServer#is_archived #is_archived} => Boolean
3752
+ # * {Types::SourceServer#launched_instance #launched_instance} => Types::LaunchedInstance
3753
+ # * {Types::SourceServer#life_cycle #life_cycle} => Types::LifeCycle
3754
+ # * {Types::SourceServer#replication_type #replication_type} => String
3755
+ # * {Types::SourceServer#source_properties #source_properties} => Types::SourceProperties
3756
+ # * {Types::SourceServer#source_server_id #source_server_id} => String
3757
+ # * {Types::SourceServer#tags #tags} => Hash&lt;String,String&gt;
3758
+ # * {Types::SourceServer#user_provided_id #user_provided_id} => String
3759
+ # * {Types::SourceServer#vcenter_client_id #vcenter_client_id} => String
3760
+ #
3761
+ # @example Request syntax with placeholder values
3762
+ #
3763
+ # resp = client.stop_replication({
3764
+ # account_id: "AccountID",
3765
+ # source_server_id: "SourceServerID", # required
3766
+ # })
3767
+ #
3768
+ # @example Response structure
3769
+ #
3770
+ # resp.application_id #=> String
3771
+ # resp.arn #=> String
3772
+ # resp.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER", "UNSUPPORTED_VM_CONFIGURATION", "LAST_SNAPSHOT_JOB_FAILED"
3773
+ # resp.data_replication_info.data_replication_error.raw_error #=> String
3774
+ # resp.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
3775
+ # resp.data_replication_info.data_replication_initiation.start_date_time #=> String
3776
+ # resp.data_replication_info.data_replication_initiation.steps #=> Array
3777
+ # resp.data_replication_info.data_replication_initiation.steps[0].name #=> String, one of "WAIT", "CREATE_SECURITY_GROUP", "LAUNCH_REPLICATION_SERVER", "BOOT_REPLICATION_SERVER", "AUTHENTICATE_WITH_SERVICE", "DOWNLOAD_REPLICATION_SOFTWARE", "CREATE_STAGING_DISKS", "ATTACH_STAGING_DISKS", "PAIR_REPLICATION_SERVER_WITH_AGENT", "CONNECT_AGENT_TO_REPLICATION_SERVER", "START_DATA_TRANSFER"
3778
+ # resp.data_replication_info.data_replication_initiation.steps[0].status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "SKIPPED"
3779
+ # resp.data_replication_info.data_replication_state #=> String, one of "STOPPED", "INITIATING", "INITIAL_SYNC", "BACKLOG", "CREATING_SNAPSHOT", "CONTINUOUS", "PAUSED", "RESCAN", "STALLED", "DISCONNECTED", "PENDING_SNAPSHOT_SHIPPING", "SHIPPING_SNAPSHOT"
3780
+ # resp.data_replication_info.eta_date_time #=> String
3781
+ # resp.data_replication_info.lag_duration #=> String
3782
+ # resp.data_replication_info.last_snapshot_date_time #=> String
3783
+ # resp.data_replication_info.replicated_disks #=> Array
3784
+ # resp.data_replication_info.replicated_disks[0].backlogged_storage_bytes #=> Integer
3785
+ # resp.data_replication_info.replicated_disks[0].device_name #=> String
3786
+ # resp.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
3787
+ # resp.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
3788
+ # resp.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
3789
+ # resp.fqdn_for_action_framework #=> String
3790
+ # resp.is_archived #=> Boolean
3791
+ # resp.launched_instance.ec2_instance_id #=> String
3792
+ # resp.launched_instance.first_boot #=> String, one of "WAITING", "SUCCEEDED", "UNKNOWN", "STOPPED"
3793
+ # resp.launched_instance.job_id #=> String
3794
+ # resp.life_cycle.added_to_service_date_time #=> String
3795
+ # resp.life_cycle.elapsed_replication_duration #=> String
3796
+ # resp.life_cycle.first_byte_date_time #=> String
3797
+ # resp.life_cycle.last_cutover.finalized.api_call_date_time #=> String
3798
+ # resp.life_cycle.last_cutover.initiated.api_call_date_time #=> String
3799
+ # resp.life_cycle.last_cutover.initiated.job_id #=> String
3800
+ # resp.life_cycle.last_cutover.reverted.api_call_date_time #=> String
3801
+ # resp.life_cycle.last_seen_by_service_date_time #=> String
3802
+ # resp.life_cycle.last_test.finalized.api_call_date_time #=> String
3803
+ # resp.life_cycle.last_test.initiated.api_call_date_time #=> String
3804
+ # resp.life_cycle.last_test.initiated.job_id #=> String
3805
+ # resp.life_cycle.last_test.reverted.api_call_date_time #=> String
3806
+ # resp.life_cycle.state #=> String, one of "STOPPED", "NOT_READY", "READY_FOR_TEST", "TESTING", "READY_FOR_CUTOVER", "CUTTING_OVER", "CUTOVER", "DISCONNECTED", "DISCOVERED", "PENDING_INSTALLATION"
3807
+ # resp.replication_type #=> String, one of "AGENT_BASED", "SNAPSHOT_SHIPPING"
3808
+ # resp.source_properties.cpus #=> Array
3809
+ # resp.source_properties.cpus[0].cores #=> Integer
3810
+ # resp.source_properties.cpus[0].model_name #=> String
3811
+ # resp.source_properties.disks #=> Array
3812
+ # resp.source_properties.disks[0].bytes #=> Integer
3813
+ # resp.source_properties.disks[0].device_name #=> String
3814
+ # resp.source_properties.identification_hints.aws_instance_id #=> String
3815
+ # resp.source_properties.identification_hints.fqdn #=> String
3816
+ # resp.source_properties.identification_hints.hostname #=> String
3817
+ # resp.source_properties.identification_hints.vm_path #=> String
3818
+ # resp.source_properties.identification_hints.vm_ware_uuid #=> String
3819
+ # resp.source_properties.last_updated_date_time #=> String
3820
+ # resp.source_properties.network_interfaces #=> Array
3821
+ # resp.source_properties.network_interfaces[0].ips #=> Array
3822
+ # resp.source_properties.network_interfaces[0].ips[0] #=> String
3823
+ # resp.source_properties.network_interfaces[0].is_primary #=> Boolean
3824
+ # resp.source_properties.network_interfaces[0].mac_address #=> String
3825
+ # resp.source_properties.os.full_string #=> String
3826
+ # resp.source_properties.ram_bytes #=> Integer
3827
+ # resp.source_properties.recommended_instance_type #=> String
3828
+ # resp.source_server_id #=> String
3829
+ # resp.tags #=> Hash
3830
+ # resp.tags["TagKey"] #=> String
3831
+ # resp.user_provided_id #=> String
3832
+ # resp.vcenter_client_id #=> String
3833
+ #
3834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StopReplication AWS API Documentation
3835
+ #
3836
+ # @overload stop_replication(params = {})
3837
+ # @param [Hash] params ({})
3838
+ def stop_replication(params = {}, options = {})
3839
+ req = build_request(:stop_replication, params)
3840
+ req.send_request(options)
3841
+ end
3842
+
3345
3843
  # Adds or overwrites only the specified tags for the specified
3346
3844
  # Application Migration Service resource or resources. When you specify
3347
3845
  # an existing tag key, the value is overwritten with the new value. Each
@@ -3378,6 +3876,9 @@ module Aws::Mgn
3378
3876
  # instances. This command will not work for any Source Server with a
3379
3877
  # lifecycle.state of TESTING, CUTTING\_OVER, or CUTOVER.
3380
3878
  #
3879
+ # @option params [String] :account_id
3880
+ # Terminate Target instance by Account ID
3881
+ #
3381
3882
  # @option params [required, Array<String>] :source_server_i_ds
3382
3883
  # Terminate Target instance by Source Server IDs.
3383
3884
  #
@@ -3391,6 +3892,7 @@ module Aws::Mgn
3391
3892
  # @example Request syntax with placeholder values
3392
3893
  #
3393
3894
  # resp = client.terminate_target_instances({
3895
+ # account_id: "AccountID",
3394
3896
  # source_server_i_ds: ["SourceServerID"], # required
3395
3897
  # tags: {
3396
3898
  # "TagKey" => "TagValue",
@@ -3440,6 +3942,9 @@ module Aws::Mgn
3440
3942
 
3441
3943
  # Unarchive application.
3442
3944
  #
3945
+ # @option params [String] :account_id
3946
+ # Account ID.
3947
+ #
3443
3948
  # @option params [required, String] :application_id
3444
3949
  # Application ID.
3445
3950
  #
@@ -3459,6 +3964,7 @@ module Aws::Mgn
3459
3964
  # @example Request syntax with placeholder values
3460
3965
  #
3461
3966
  # resp = client.unarchive_application({
3967
+ # account_id: "AccountID",
3462
3968
  # application_id: "ApplicationID", # required
3463
3969
  # })
3464
3970
  #
@@ -3490,6 +3996,9 @@ module Aws::Mgn
3490
3996
 
3491
3997
  # Unarchive wave.
3492
3998
  #
3999
+ # @option params [String] :account_id
4000
+ # Account ID.
4001
+ #
3493
4002
  # @option params [required, String] :wave_id
3494
4003
  # Wave ID.
3495
4004
  #
@@ -3508,6 +4017,7 @@ module Aws::Mgn
3508
4017
  # @example Request syntax with placeholder values
3509
4018
  #
3510
4019
  # resp = client.unarchive_wave({
4020
+ # account_id: "AccountID",
3511
4021
  # wave_id: "WaveID", # required
3512
4022
  # })
3513
4023
  #
@@ -3566,6 +4076,9 @@ module Aws::Mgn
3566
4076
 
3567
4077
  # Update application.
3568
4078
  #
4079
+ # @option params [String] :account_id
4080
+ # Account ID.
4081
+ #
3569
4082
  # @option params [required, String] :application_id
3570
4083
  # Application ID.
3571
4084
  #
@@ -3591,6 +4104,7 @@ module Aws::Mgn
3591
4104
  # @example Request syntax with placeholder values
3592
4105
  #
3593
4106
  # resp = client.update_application({
4107
+ # account_id: "AccountID",
3594
4108
  # application_id: "ApplicationID", # required
3595
4109
  # description: "ApplicationDescription",
3596
4110
  # name: "ApplicationName",
@@ -3624,6 +4138,9 @@ module Aws::Mgn
3624
4138
 
3625
4139
  # Updates multiple LaunchConfigurations by Source Server ID.
3626
4140
  #
4141
+ # @option params [String] :account_id
4142
+ # Update Launch configuration Account ID.
4143
+ #
3627
4144
  # @option params [String] :boot_mode
3628
4145
  # Update Launch configuration boot mode request.
3629
4146
  #
@@ -3675,6 +4192,7 @@ module Aws::Mgn
3675
4192
  # @example Request syntax with placeholder values
3676
4193
  #
3677
4194
  # resp = client.update_launch_configuration({
4195
+ # account_id: "AccountID",
3678
4196
  # boot_mode: "LEGACY_BIOS", # accepts LEGACY_BIOS, UEFI
3679
4197
  # copy_private_ip: false,
3680
4198
  # copy_tags: false,
@@ -3924,6 +4442,9 @@ module Aws::Mgn
3924
4442
  # Allows you to update multiple ReplicationConfigurations by Source
3925
4443
  # Server ID.
3926
4444
  #
4445
+ # @option params [String] :account_id
4446
+ # Update replication configuration Account ID request.
4447
+ #
3927
4448
  # @option params [Boolean] :associate_default_security_group
3928
4449
  # Update replication configuration associate default Application
3929
4450
  # Migration Service Security group request.
@@ -3974,6 +4495,9 @@ module Aws::Mgn
3974
4495
  # Update replication configuration use dedicated Replication Server
3975
4496
  # request.
3976
4497
  #
4498
+ # @option params [Boolean] :use_fips_endpoint
4499
+ # Update replication configuration use Fips Endpoint.
4500
+ #
3977
4501
  # @return [Types::ReplicationConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3978
4502
  #
3979
4503
  # * {Types::ReplicationConfiguration#associate_default_security_group #associate_default_security_group} => Boolean
@@ -3991,10 +4515,12 @@ module Aws::Mgn
3991
4515
  # * {Types::ReplicationConfiguration#staging_area_subnet_id #staging_area_subnet_id} => String
3992
4516
  # * {Types::ReplicationConfiguration#staging_area_tags #staging_area_tags} => Hash&lt;String,String&gt;
3993
4517
  # * {Types::ReplicationConfiguration#use_dedicated_replication_server #use_dedicated_replication_server} => Boolean
4518
+ # * {Types::ReplicationConfiguration#use_fips_endpoint #use_fips_endpoint} => Boolean
3994
4519
  #
3995
4520
  # @example Request syntax with placeholder values
3996
4521
  #
3997
4522
  # resp = client.update_replication_configuration({
4523
+ # account_id: "AccountID",
3998
4524
  # associate_default_security_group: false,
3999
4525
  # bandwidth_throttling: 1,
4000
4526
  # create_public_ip: false,
@@ -4020,6 +4546,7 @@ module Aws::Mgn
4020
4546
  # "TagKey" => "TagValue",
4021
4547
  # },
4022
4548
  # use_dedicated_replication_server: false,
4549
+ # use_fips_endpoint: false,
4023
4550
  # })
4024
4551
  #
4025
4552
  # @example Response structure
@@ -4046,6 +4573,7 @@ module Aws::Mgn
4046
4573
  # resp.staging_area_tags #=> Hash
4047
4574
  # resp.staging_area_tags["TagKey"] #=> String
4048
4575
  # resp.use_dedicated_replication_server #=> Boolean
4576
+ # resp.use_fips_endpoint #=> Boolean
4049
4577
  #
4050
4578
  # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfiguration AWS API Documentation
4051
4579
  #
@@ -4108,6 +4636,9 @@ module Aws::Mgn
4108
4636
  # Update replication configuration template use dedicated Replication
4109
4637
  # Server request.
4110
4638
  #
4639
+ # @option params [Boolean] :use_fips_endpoint
4640
+ # Update replication configuration template use Fips Endpoint request.
4641
+ #
4111
4642
  # @return [Types::ReplicationConfigurationTemplate] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4112
4643
  #
4113
4644
  # * {Types::ReplicationConfigurationTemplate#arn #arn} => String
@@ -4125,6 +4656,7 @@ module Aws::Mgn
4125
4656
  # * {Types::ReplicationConfigurationTemplate#staging_area_tags #staging_area_tags} => Hash&lt;String,String&gt;
4126
4657
  # * {Types::ReplicationConfigurationTemplate#tags #tags} => Hash&lt;String,String&gt;
4127
4658
  # * {Types::ReplicationConfigurationTemplate#use_dedicated_replication_server #use_dedicated_replication_server} => Boolean
4659
+ # * {Types::ReplicationConfigurationTemplate#use_fips_endpoint #use_fips_endpoint} => Boolean
4128
4660
  #
4129
4661
  # @example Request syntax with placeholder values
4130
4662
  #
@@ -4145,6 +4677,7 @@ module Aws::Mgn
4145
4677
  # "TagKey" => "TagValue",
4146
4678
  # },
4147
4679
  # use_dedicated_replication_server: false,
4680
+ # use_fips_endpoint: false,
4148
4681
  # })
4149
4682
  #
4150
4683
  # @example Response structure
@@ -4167,6 +4700,7 @@ module Aws::Mgn
4167
4700
  # resp.tags #=> Hash
4168
4701
  # resp.tags["TagKey"] #=> String
4169
4702
  # resp.use_dedicated_replication_server #=> Boolean
4703
+ # resp.use_fips_endpoint #=> Boolean
4170
4704
  #
4171
4705
  # @see http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfigurationTemplate AWS API Documentation
4172
4706
  #
@@ -4180,6 +4714,9 @@ module Aws::Mgn
4180
4714
  # Allows you to change between the AGENT\_BASED replication type and the
4181
4715
  # SNAPSHOT\_SHIPPING replication type.
4182
4716
  #
4717
+ # @option params [String] :account_id
4718
+ # Account ID on which to update replication type.
4719
+ #
4183
4720
  # @option params [required, String] :replication_type
4184
4721
  # Replication type to which to update source server.
4185
4722
  #
@@ -4205,6 +4742,7 @@ module Aws::Mgn
4205
4742
  # @example Request syntax with placeholder values
4206
4743
  #
4207
4744
  # resp = client.update_source_server_replication_type({
4745
+ # account_id: "AccountID",
4208
4746
  # replication_type: "AGENT_BASED", # required, accepts AGENT_BASED, SNAPSHOT_SHIPPING
4209
4747
  # source_server_id: "SourceServerID", # required
4210
4748
  # })
@@ -4286,6 +4824,9 @@ module Aws::Mgn
4286
4824
 
4287
4825
  # Update wave.
4288
4826
  #
4827
+ # @option params [String] :account_id
4828
+ # Account ID.
4829
+ #
4289
4830
  # @option params [String] :description
4290
4831
  # Wave description.
4291
4832
  #
@@ -4310,6 +4851,7 @@ module Aws::Mgn
4310
4851
  # @example Request syntax with placeholder values
4311
4852
  #
4312
4853
  # resp = client.update_wave({
4854
+ # account_id: "AccountID",
4313
4855
  # description: "WaveDescription",
4314
4856
  # name: "WaveName",
4315
4857
  # wave_id: "WaveID", # required
@@ -4354,7 +4896,7 @@ module Aws::Mgn
4354
4896
  params: params,
4355
4897
  config: config)
4356
4898
  context[:gem_name] = 'aws-sdk-mgn'
4357
- context[:gem_version] = '1.21.0'
4899
+ context[:gem_version] = '1.23.0'
4358
4900
  Seahorse::Client::Request.new(handlers, context)
4359
4901
  end
4360
4902