aws-sdk-drs 1.10.0 → 1.12.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-drs/client.rb +45 -6
- data/lib/aws-sdk-drs/client_api.rb +14 -4
- data/lib/aws-sdk-drs/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-drs/types.rb +55 -6
- data/lib/aws-sdk-drs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52ed499d49a7c0c5228c52201a14ab18decf29cc6abc68b41613d4d758120d9f
|
4
|
+
data.tar.gz: dc28c3ec3f515aeea0bf21a5fc12dab3e32999169b0e909ccd16da0ef4c1e651
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76e028dd7d15f08acc07f11a22252139106718b03eba4641bba1734dff69848ba0a6d9222abc5a27f781637d0972eb7cc080fcfd00ed204eeb2b4057d51f162e
|
7
|
+
data.tar.gz: 1dd7a2ad9fd990515dec5d277eeda5e12c08360445ca0c5d5a704069673447e617e6247794e6a11bf8527c143a326a13e6e25c1cfb9e557719ff256271b202d1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.12.0 (2023-03-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding a field to the replication configuration APIs to support the auto replicate new disks feature. We also deprecated RetryDataReplication.
|
8
|
+
|
9
|
+
1.11.0 (2023-02-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - New fields were added to reflect availability zone data in source server and recovery instance description commands responses, as well as source server launch status.
|
13
|
+
|
4
14
|
1.10.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.0
|
data/lib/aws-sdk-drs/client.rb
CHANGED
@@ -410,6 +410,7 @@ module Aws::Drs
|
|
410
410
|
# resp.source_server.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
411
411
|
# resp.source_server.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
412
412
|
# resp.source_server.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
413
|
+
# resp.source_server.data_replication_info.staging_availability_zone #=> String
|
413
414
|
# resp.source_server.last_launch_result #=> String, one of "NOT_STARTED", "PENDING", "SUCCEEDED", "FAILED"
|
414
415
|
# resp.source_server.life_cycle.added_to_service_date_time #=> String
|
415
416
|
# resp.source_server.life_cycle.elapsed_replication_duration #=> String
|
@@ -417,6 +418,7 @@ module Aws::Drs
|
|
417
418
|
# resp.source_server.life_cycle.last_launch.initiated.api_call_date_time #=> String
|
418
419
|
# resp.source_server.life_cycle.last_launch.initiated.job_id #=> String
|
419
420
|
# resp.source_server.life_cycle.last_launch.initiated.type #=> String, one of "RECOVERY", "DRILL"
|
421
|
+
# resp.source_server.life_cycle.last_launch.status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
420
422
|
# resp.source_server.life_cycle.last_seen_by_service_date_time #=> String
|
421
423
|
# resp.source_server.recovery_instance_id #=> String
|
422
424
|
# resp.source_server.replication_direction #=> String, one of "FAILOVER", "FAILBACK"
|
@@ -466,6 +468,10 @@ module Aws::Drs
|
|
466
468
|
# Whether to associate the default Elastic Disaster Recovery Security
|
467
469
|
# group with the Replication Configuration Template.
|
468
470
|
#
|
471
|
+
# @option params [Boolean] :auto_replicate_new_disks
|
472
|
+
# Whether to allow the AWS replication agent to automatically replicate
|
473
|
+
# newly added disks.
|
474
|
+
#
|
469
475
|
# @option params [required, Integer] :bandwidth_throttling
|
470
476
|
# Configure bandwidth throttling for the outbound data transfer rate of
|
471
477
|
# the Source Server in Mbps.
|
@@ -515,6 +521,7 @@ module Aws::Drs
|
|
515
521
|
#
|
516
522
|
# * {Types::ReplicationConfigurationTemplate#arn #arn} => String
|
517
523
|
# * {Types::ReplicationConfigurationTemplate#associate_default_security_group #associate_default_security_group} => Boolean
|
524
|
+
# * {Types::ReplicationConfigurationTemplate#auto_replicate_new_disks #auto_replicate_new_disks} => Boolean
|
518
525
|
# * {Types::ReplicationConfigurationTemplate#bandwidth_throttling #bandwidth_throttling} => Integer
|
519
526
|
# * {Types::ReplicationConfigurationTemplate#create_public_ip #create_public_ip} => Boolean
|
520
527
|
# * {Types::ReplicationConfigurationTemplate#data_plane_routing #data_plane_routing} => String
|
@@ -534,6 +541,7 @@ module Aws::Drs
|
|
534
541
|
#
|
535
542
|
# resp = client.create_replication_configuration_template({
|
536
543
|
# associate_default_security_group: false, # required
|
544
|
+
# auto_replicate_new_disks: false,
|
537
545
|
# bandwidth_throttling: 1, # required
|
538
546
|
# create_public_ip: false, # required
|
539
547
|
# data_plane_routing: "PRIVATE_IP", # required, accepts PRIVATE_IP, PUBLIC_IP
|
@@ -565,6 +573,7 @@ module Aws::Drs
|
|
565
573
|
#
|
566
574
|
# resp.arn #=> String
|
567
575
|
# resp.associate_default_security_group #=> Boolean
|
576
|
+
# resp.auto_replicate_new_disks #=> Boolean
|
568
577
|
# resp.bandwidth_throttling #=> Integer
|
569
578
|
# resp.create_public_ip #=> Boolean
|
570
579
|
# resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
@@ -723,7 +732,7 @@ module Aws::Drs
|
|
723
732
|
# resp.items[0].event_data.conversion_properties.root_volume_name #=> String
|
724
733
|
# resp.items[0].event_data.conversion_properties.volume_to_conversion_map #=> Hash
|
725
734
|
# resp.items[0].event_data.conversion_properties.volume_to_conversion_map["LargeBoundedString"] #=> Hash
|
726
|
-
# resp.items[0].event_data.conversion_properties.volume_to_conversion_map["LargeBoundedString"]["
|
735
|
+
# resp.items[0].event_data.conversion_properties.volume_to_conversion_map["LargeBoundedString"]["EbsSnapshot"] #=> String
|
727
736
|
# resp.items[0].event_data.conversion_properties.volume_to_volume_size #=> Hash
|
728
737
|
# resp.items[0].event_data.conversion_properties.volume_to_volume_size["LargeBoundedString"] #=> Integer
|
729
738
|
# resp.items[0].event_data.conversion_server_id #=> String
|
@@ -853,6 +862,7 @@ module Aws::Drs
|
|
853
862
|
# resp.items[0].data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
854
863
|
# resp.items[0].data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
855
864
|
# resp.items[0].data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
865
|
+
# resp.items[0].data_replication_info.staging_availability_zone #=> String
|
856
866
|
# resp.items[0].ec2_instance_id #=> String
|
857
867
|
# resp.items[0].ec2_instance_state #=> String, one of "PENDING", "RUNNING", "STOPPING", "STOPPED", "SHUTTING-DOWN", "TERMINATED", "NOT_FOUND"
|
858
868
|
# resp.items[0].failback.agent_last_seen_by_service_date_time #=> String
|
@@ -867,6 +877,7 @@ module Aws::Drs
|
|
867
877
|
# resp.items[0].failback.state #=> String, one of "FAILBACK_NOT_STARTED", "FAILBACK_IN_PROGRESS", "FAILBACK_READY_FOR_LAUNCH", "FAILBACK_COMPLETED", "FAILBACK_ERROR", "FAILBACK_NOT_READY_FOR_LAUNCH", "FAILBACK_LAUNCH_STATE_NOT_AVAILABLE"
|
868
878
|
# resp.items[0].is_drill #=> Boolean
|
869
879
|
# resp.items[0].job_id #=> String
|
880
|
+
# resp.items[0].origin_availability_zone #=> String
|
870
881
|
# resp.items[0].origin_environment #=> String, one of "ON_PREMISES", "AWS"
|
871
882
|
# resp.items[0].point_in_time_snapshot_date_time #=> String
|
872
883
|
# resp.items[0].recovery_instance_id #=> String
|
@@ -993,6 +1004,7 @@ module Aws::Drs
|
|
993
1004
|
# resp.items #=> Array
|
994
1005
|
# resp.items[0].arn #=> String
|
995
1006
|
# resp.items[0].associate_default_security_group #=> Boolean
|
1007
|
+
# resp.items[0].auto_replicate_new_disks #=> Boolean
|
996
1008
|
# resp.items[0].bandwidth_throttling #=> Integer
|
997
1009
|
# resp.items[0].create_public_ip #=> Boolean
|
998
1010
|
# resp.items[0].data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
@@ -1076,6 +1088,7 @@ module Aws::Drs
|
|
1076
1088
|
# resp.items[0].data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
1077
1089
|
# resp.items[0].data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
1078
1090
|
# resp.items[0].data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
1091
|
+
# resp.items[0].data_replication_info.staging_availability_zone #=> String
|
1079
1092
|
# resp.items[0].last_launch_result #=> String, one of "NOT_STARTED", "PENDING", "SUCCEEDED", "FAILED"
|
1080
1093
|
# resp.items[0].life_cycle.added_to_service_date_time #=> String
|
1081
1094
|
# resp.items[0].life_cycle.elapsed_replication_duration #=> String
|
@@ -1083,6 +1096,7 @@ module Aws::Drs
|
|
1083
1096
|
# resp.items[0].life_cycle.last_launch.initiated.api_call_date_time #=> String
|
1084
1097
|
# resp.items[0].life_cycle.last_launch.initiated.job_id #=> String
|
1085
1098
|
# resp.items[0].life_cycle.last_launch.initiated.type #=> String, one of "RECOVERY", "DRILL"
|
1099
|
+
# resp.items[0].life_cycle.last_launch.status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1086
1100
|
# resp.items[0].life_cycle.last_seen_by_service_date_time #=> String
|
1087
1101
|
# resp.items[0].recovery_instance_id #=> String
|
1088
1102
|
# resp.items[0].replication_direction #=> String, one of "FAILOVER", "FAILBACK"
|
@@ -1219,6 +1233,7 @@ module Aws::Drs
|
|
1219
1233
|
# resp.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
1220
1234
|
# resp.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
1221
1235
|
# resp.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
1236
|
+
# resp.data_replication_info.staging_availability_zone #=> String
|
1222
1237
|
# resp.last_launch_result #=> String, one of "NOT_STARTED", "PENDING", "SUCCEEDED", "FAILED"
|
1223
1238
|
# resp.life_cycle.added_to_service_date_time #=> String
|
1224
1239
|
# resp.life_cycle.elapsed_replication_duration #=> String
|
@@ -1226,6 +1241,7 @@ module Aws::Drs
|
|
1226
1241
|
# resp.life_cycle.last_launch.initiated.api_call_date_time #=> String
|
1227
1242
|
# resp.life_cycle.last_launch.initiated.job_id #=> String
|
1228
1243
|
# resp.life_cycle.last_launch.initiated.type #=> String, one of "RECOVERY", "DRILL"
|
1244
|
+
# resp.life_cycle.last_launch.status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1229
1245
|
# resp.life_cycle.last_seen_by_service_date_time #=> String
|
1230
1246
|
# resp.recovery_instance_id #=> String
|
1231
1247
|
# resp.replication_direction #=> String, one of "FAILOVER", "FAILBACK"
|
@@ -1356,6 +1372,7 @@ module Aws::Drs
|
|
1356
1372
|
# @return [Types::ReplicationConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1357
1373
|
#
|
1358
1374
|
# * {Types::ReplicationConfiguration#associate_default_security_group #associate_default_security_group} => Boolean
|
1375
|
+
# * {Types::ReplicationConfiguration#auto_replicate_new_disks #auto_replicate_new_disks} => Boolean
|
1359
1376
|
# * {Types::ReplicationConfiguration#bandwidth_throttling #bandwidth_throttling} => Integer
|
1360
1377
|
# * {Types::ReplicationConfiguration#create_public_ip #create_public_ip} => Boolean
|
1361
1378
|
# * {Types::ReplicationConfiguration#data_plane_routing #data_plane_routing} => String
|
@@ -1381,6 +1398,7 @@ module Aws::Drs
|
|
1381
1398
|
# @example Response structure
|
1382
1399
|
#
|
1383
1400
|
# resp.associate_default_security_group #=> Boolean
|
1401
|
+
# resp.auto_replicate_new_disks #=> Boolean
|
1384
1402
|
# resp.bandwidth_throttling #=> Integer
|
1385
1403
|
# resp.create_public_ip #=> Boolean
|
1386
1404
|
# resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
@@ -1547,10 +1565,11 @@ module Aws::Drs
|
|
1547
1565
|
req.send_request(options)
|
1548
1566
|
end
|
1549
1567
|
|
1550
|
-
#
|
1551
|
-
#
|
1552
|
-
#
|
1553
|
-
#
|
1568
|
+
# WARNING: RetryDataReplication is deprecated. Causes the data
|
1569
|
+
# replication initiation sequence to begin immediately upon next
|
1570
|
+
# Handshake for the specified Source Server ID, regardless of when the
|
1571
|
+
# previous initiation started. This command will work only if the Source
|
1572
|
+
# Server is stalled or is in a DISCONNECTED or STOPPED state.
|
1554
1573
|
#
|
1555
1574
|
# @option params [required, String] :source_server_id
|
1556
1575
|
# The ID of the Source Server whose data replication should be retried.
|
@@ -1595,6 +1614,7 @@ module Aws::Drs
|
|
1595
1614
|
# resp.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
1596
1615
|
# resp.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
1597
1616
|
# resp.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
1617
|
+
# resp.data_replication_info.staging_availability_zone #=> String
|
1598
1618
|
# resp.last_launch_result #=> String, one of "NOT_STARTED", "PENDING", "SUCCEEDED", "FAILED"
|
1599
1619
|
# resp.life_cycle.added_to_service_date_time #=> String
|
1600
1620
|
# resp.life_cycle.elapsed_replication_duration #=> String
|
@@ -1602,6 +1622,7 @@ module Aws::Drs
|
|
1602
1622
|
# resp.life_cycle.last_launch.initiated.api_call_date_time #=> String
|
1603
1623
|
# resp.life_cycle.last_launch.initiated.job_id #=> String
|
1604
1624
|
# resp.life_cycle.last_launch.initiated.type #=> String, one of "RECOVERY", "DRILL"
|
1625
|
+
# resp.life_cycle.last_launch.status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1605
1626
|
# resp.life_cycle.last_seen_by_service_date_time #=> String
|
1606
1627
|
# resp.recovery_instance_id #=> String
|
1607
1628
|
# resp.replication_direction #=> String, one of "FAILOVER", "FAILBACK"
|
@@ -1820,6 +1841,7 @@ module Aws::Drs
|
|
1820
1841
|
# resp.source_server.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
1821
1842
|
# resp.source_server.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
1822
1843
|
# resp.source_server.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
1844
|
+
# resp.source_server.data_replication_info.staging_availability_zone #=> String
|
1823
1845
|
# resp.source_server.last_launch_result #=> String, one of "NOT_STARTED", "PENDING", "SUCCEEDED", "FAILED"
|
1824
1846
|
# resp.source_server.life_cycle.added_to_service_date_time #=> String
|
1825
1847
|
# resp.source_server.life_cycle.elapsed_replication_duration #=> String
|
@@ -1827,6 +1849,7 @@ module Aws::Drs
|
|
1827
1849
|
# resp.source_server.life_cycle.last_launch.initiated.api_call_date_time #=> String
|
1828
1850
|
# resp.source_server.life_cycle.last_launch.initiated.job_id #=> String
|
1829
1851
|
# resp.source_server.life_cycle.last_launch.initiated.type #=> String, one of "RECOVERY", "DRILL"
|
1852
|
+
# resp.source_server.life_cycle.last_launch.status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1830
1853
|
# resp.source_server.life_cycle.last_seen_by_service_date_time #=> String
|
1831
1854
|
# resp.source_server.recovery_instance_id #=> String
|
1832
1855
|
# resp.source_server.replication_direction #=> String, one of "FAILOVER", "FAILBACK"
|
@@ -1930,6 +1953,7 @@ module Aws::Drs
|
|
1930
1953
|
# resp.source_server.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
1931
1954
|
# resp.source_server.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
1932
1955
|
# resp.source_server.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
1956
|
+
# resp.source_server.data_replication_info.staging_availability_zone #=> String
|
1933
1957
|
# resp.source_server.last_launch_result #=> String, one of "NOT_STARTED", "PENDING", "SUCCEEDED", "FAILED"
|
1934
1958
|
# resp.source_server.life_cycle.added_to_service_date_time #=> String
|
1935
1959
|
# resp.source_server.life_cycle.elapsed_replication_duration #=> String
|
@@ -1937,6 +1961,7 @@ module Aws::Drs
|
|
1937
1961
|
# resp.source_server.life_cycle.last_launch.initiated.api_call_date_time #=> String
|
1938
1962
|
# resp.source_server.life_cycle.last_launch.initiated.job_id #=> String
|
1939
1963
|
# resp.source_server.life_cycle.last_launch.initiated.type #=> String, one of "RECOVERY", "DRILL"
|
1964
|
+
# resp.source_server.life_cycle.last_launch.status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1940
1965
|
# resp.source_server.life_cycle.last_seen_by_service_date_time #=> String
|
1941
1966
|
# resp.source_server.recovery_instance_id #=> String
|
1942
1967
|
# resp.source_server.replication_direction #=> String, one of "FAILOVER", "FAILBACK"
|
@@ -2198,6 +2223,10 @@ module Aws::Drs
|
|
2198
2223
|
# Whether to associate the default Elastic Disaster Recovery Security
|
2199
2224
|
# group with the Replication Configuration.
|
2200
2225
|
#
|
2226
|
+
# @option params [Boolean] :auto_replicate_new_disks
|
2227
|
+
# Whether to allow the AWS replication agent to automatically replicate
|
2228
|
+
# newly added disks.
|
2229
|
+
#
|
2201
2230
|
# @option params [Integer] :bandwidth_throttling
|
2202
2231
|
# Configure bandwidth throttling for the outbound data transfer rate of
|
2203
2232
|
# the Source Server in Mbps.
|
@@ -2251,6 +2280,7 @@ module Aws::Drs
|
|
2251
2280
|
# @return [Types::ReplicationConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2252
2281
|
#
|
2253
2282
|
# * {Types::ReplicationConfiguration#associate_default_security_group #associate_default_security_group} => Boolean
|
2283
|
+
# * {Types::ReplicationConfiguration#auto_replicate_new_disks #auto_replicate_new_disks} => Boolean
|
2254
2284
|
# * {Types::ReplicationConfiguration#bandwidth_throttling #bandwidth_throttling} => Integer
|
2255
2285
|
# * {Types::ReplicationConfiguration#create_public_ip #create_public_ip} => Boolean
|
2256
2286
|
# * {Types::ReplicationConfiguration#data_plane_routing #data_plane_routing} => String
|
@@ -2271,6 +2301,7 @@ module Aws::Drs
|
|
2271
2301
|
#
|
2272
2302
|
# resp = client.update_replication_configuration({
|
2273
2303
|
# associate_default_security_group: false,
|
2304
|
+
# auto_replicate_new_disks: false,
|
2274
2305
|
# bandwidth_throttling: 1,
|
2275
2306
|
# create_public_ip: false,
|
2276
2307
|
# data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
|
@@ -2310,6 +2341,7 @@ module Aws::Drs
|
|
2310
2341
|
# @example Response structure
|
2311
2342
|
#
|
2312
2343
|
# resp.associate_default_security_group #=> Boolean
|
2344
|
+
# resp.auto_replicate_new_disks #=> Boolean
|
2313
2345
|
# resp.bandwidth_throttling #=> Integer
|
2314
2346
|
# resp.create_public_ip #=> Boolean
|
2315
2347
|
# resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
@@ -2357,6 +2389,10 @@ module Aws::Drs
|
|
2357
2389
|
# Whether to associate the default Elastic Disaster Recovery Security
|
2358
2390
|
# group with the Replication Configuration Template.
|
2359
2391
|
#
|
2392
|
+
# @option params [Boolean] :auto_replicate_new_disks
|
2393
|
+
# Whether to allow the AWS replication agent to automatically replicate
|
2394
|
+
# newly added disks.
|
2395
|
+
#
|
2360
2396
|
# @option params [Integer] :bandwidth_throttling
|
2361
2397
|
# Configure bandwidth throttling for the outbound data transfer rate of
|
2362
2398
|
# the Source Server in Mbps.
|
@@ -2405,6 +2441,7 @@ module Aws::Drs
|
|
2405
2441
|
#
|
2406
2442
|
# * {Types::ReplicationConfigurationTemplate#arn #arn} => String
|
2407
2443
|
# * {Types::ReplicationConfigurationTemplate#associate_default_security_group #associate_default_security_group} => Boolean
|
2444
|
+
# * {Types::ReplicationConfigurationTemplate#auto_replicate_new_disks #auto_replicate_new_disks} => Boolean
|
2408
2445
|
# * {Types::ReplicationConfigurationTemplate#bandwidth_throttling #bandwidth_throttling} => Integer
|
2409
2446
|
# * {Types::ReplicationConfigurationTemplate#create_public_ip #create_public_ip} => Boolean
|
2410
2447
|
# * {Types::ReplicationConfigurationTemplate#data_plane_routing #data_plane_routing} => String
|
@@ -2425,6 +2462,7 @@ module Aws::Drs
|
|
2425
2462
|
# resp = client.update_replication_configuration_template({
|
2426
2463
|
# arn: "ARN",
|
2427
2464
|
# associate_default_security_group: false,
|
2465
|
+
# auto_replicate_new_disks: false,
|
2428
2466
|
# bandwidth_throttling: 1,
|
2429
2467
|
# create_public_ip: false,
|
2430
2468
|
# data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
|
@@ -2454,6 +2492,7 @@ module Aws::Drs
|
|
2454
2492
|
#
|
2455
2493
|
# resp.arn #=> String
|
2456
2494
|
# resp.associate_default_security_group #=> Boolean
|
2495
|
+
# resp.auto_replicate_new_disks #=> Boolean
|
2457
2496
|
# resp.bandwidth_throttling #=> Integer
|
2458
2497
|
# resp.create_public_ip #=> Boolean
|
2459
2498
|
# resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
@@ -2499,7 +2538,7 @@ module Aws::Drs
|
|
2499
2538
|
params: params,
|
2500
2539
|
config: config)
|
2501
2540
|
context[:gem_name] = 'aws-sdk-drs'
|
2502
|
-
context[:gem_version] = '1.
|
2541
|
+
context[:gem_version] = '1.12.0'
|
2503
2542
|
Seahorse::Client::Request.new(handlers, context)
|
2504
2543
|
end
|
2505
2544
|
|
@@ -75,6 +75,7 @@ module Aws::Drs
|
|
75
75
|
EC2InstanceID = Shapes::StringShape.new(name: 'EC2InstanceID')
|
76
76
|
EC2InstanceState = Shapes::StringShape.new(name: 'EC2InstanceState')
|
77
77
|
EC2InstanceType = Shapes::StringShape.new(name: 'EC2InstanceType')
|
78
|
+
EbsSnapshot = Shapes::StringShape.new(name: 'EbsSnapshot')
|
78
79
|
EbsSnapshotsList = Shapes::ListShape.new(name: 'EbsSnapshotsList')
|
79
80
|
EbsVolumeID = Shapes::StringShape.new(name: 'EbsVolumeID')
|
80
81
|
ExtensionStatus = Shapes::StringShape.new(name: 'ExtensionStatus')
|
@@ -218,7 +219,6 @@ module Aws::Drs
|
|
218
219
|
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
219
220
|
VolumeToConversionMap = Shapes::MapShape.new(name: 'VolumeToConversionMap')
|
220
221
|
VolumeToSizeMap = Shapes::MapShape.new(name: 'VolumeToSizeMap')
|
221
|
-
ebsSnapshot = Shapes::StringShape.new(name: 'ebsSnapshot')
|
222
222
|
|
223
223
|
AccessDeniedException.add_member(:code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "code"))
|
224
224
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "message"))
|
@@ -241,8 +241,8 @@ module Aws::Drs
|
|
241
241
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "resourceType"))
|
242
242
|
ConflictException.struct_class = Types::ConflictException
|
243
243
|
|
244
|
-
ConversionMap.key = Shapes::ShapeRef.new(shape:
|
245
|
-
ConversionMap.value = Shapes::ShapeRef.new(shape:
|
244
|
+
ConversionMap.key = Shapes::ShapeRef.new(shape: EbsSnapshot)
|
245
|
+
ConversionMap.value = Shapes::ShapeRef.new(shape: EbsSnapshot)
|
246
246
|
|
247
247
|
ConversionProperties.add_member(:data_timestamp, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "dataTimestamp"))
|
248
248
|
ConversionProperties.add_member(:force_uefi, Shapes::ShapeRef.new(shape: Boolean, location_name: "forceUefi"))
|
@@ -261,6 +261,7 @@ module Aws::Drs
|
|
261
261
|
CreateExtendedSourceServerResponse.struct_class = Types::CreateExtendedSourceServerResponse
|
262
262
|
|
263
263
|
CreateReplicationConfigurationTemplateRequest.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "associateDefaultSecurityGroup"))
|
264
|
+
CreateReplicationConfigurationTemplateRequest.add_member(:auto_replicate_new_disks, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoReplicateNewDisks"))
|
264
265
|
CreateReplicationConfigurationTemplateRequest.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, required: true, location_name: "bandwidthThrottling"))
|
265
266
|
CreateReplicationConfigurationTemplateRequest.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "createPublicIP"))
|
266
267
|
CreateReplicationConfigurationTemplateRequest.add_member(:data_plane_routing, Shapes::ShapeRef.new(shape: ReplicationConfigurationDataPlaneRouting, required: true, location_name: "dataPlaneRouting"))
|
@@ -286,6 +287,7 @@ module Aws::Drs
|
|
286
287
|
DataReplicationInfo.add_member(:eta_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "etaDateTime"))
|
287
288
|
DataReplicationInfo.add_member(:lag_duration, Shapes::ShapeRef.new(shape: ISO8601DurationString, location_name: "lagDuration"))
|
288
289
|
DataReplicationInfo.add_member(:replicated_disks, Shapes::ShapeRef.new(shape: DataReplicationInfoReplicatedDisks, location_name: "replicatedDisks"))
|
290
|
+
DataReplicationInfo.add_member(:staging_availability_zone, Shapes::ShapeRef.new(shape: AwsAvailabilityZone, location_name: "stagingAvailabilityZone"))
|
289
291
|
DataReplicationInfo.struct_class = Types::DataReplicationInfo
|
290
292
|
|
291
293
|
DataReplicationInfoReplicatedDisk.add_member(:backlogged_storage_bytes, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "backloggedStorageBytes"))
|
@@ -418,7 +420,7 @@ module Aws::Drs
|
|
418
420
|
|
419
421
|
Disks.member = Shapes::ShapeRef.new(shape: Disk)
|
420
422
|
|
421
|
-
EbsSnapshotsList.member = Shapes::ShapeRef.new(shape:
|
423
|
+
EbsSnapshotsList.member = Shapes::ShapeRef.new(shape: EbsSnapshot)
|
422
424
|
|
423
425
|
GetFailbackReplicationConfigurationRequest.add_member(:recovery_instance_id, Shapes::ShapeRef.new(shape: RecoveryInstanceID, required: true, location_name: "recoveryInstanceID"))
|
424
426
|
GetFailbackReplicationConfigurationRequest.struct_class = Types::GetFailbackReplicationConfigurationRequest
|
@@ -499,6 +501,7 @@ module Aws::Drs
|
|
499
501
|
LifeCycle.struct_class = Types::LifeCycle
|
500
502
|
|
501
503
|
LifeCycleLastLaunch.add_member(:initiated, Shapes::ShapeRef.new(shape: LifeCycleLastLaunchInitiated, location_name: "initiated"))
|
504
|
+
LifeCycleLastLaunch.add_member(:status, Shapes::ShapeRef.new(shape: LaunchStatus, location_name: "status"))
|
502
505
|
LifeCycleLastLaunch.struct_class = Types::LifeCycleLastLaunch
|
503
506
|
|
504
507
|
LifeCycleLastLaunchInitiated.add_member(:api_call_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "apiCallDateTime"))
|
@@ -562,6 +565,7 @@ module Aws::Drs
|
|
562
565
|
RecoveryInstance.add_member(:failback, Shapes::ShapeRef.new(shape: RecoveryInstanceFailback, location_name: "failback"))
|
563
566
|
RecoveryInstance.add_member(:is_drill, Shapes::ShapeRef.new(shape: Boolean, location_name: "isDrill"))
|
564
567
|
RecoveryInstance.add_member(:job_id, Shapes::ShapeRef.new(shape: JobID, location_name: "jobID"))
|
568
|
+
RecoveryInstance.add_member(:origin_availability_zone, Shapes::ShapeRef.new(shape: AwsAvailabilityZone, location_name: "originAvailabilityZone"))
|
565
569
|
RecoveryInstance.add_member(:origin_environment, Shapes::ShapeRef.new(shape: OriginEnvironment, location_name: "originEnvironment"))
|
566
570
|
RecoveryInstance.add_member(:point_in_time_snapshot_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "pointInTimeSnapshotDateTime"))
|
567
571
|
RecoveryInstance.add_member(:recovery_instance_id, Shapes::ShapeRef.new(shape: RecoveryInstanceID, location_name: "recoveryInstanceID"))
|
@@ -580,6 +584,7 @@ module Aws::Drs
|
|
580
584
|
RecoveryInstanceDataReplicationInfo.add_member(:eta_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "etaDateTime"))
|
581
585
|
RecoveryInstanceDataReplicationInfo.add_member(:lag_duration, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "lagDuration"))
|
582
586
|
RecoveryInstanceDataReplicationInfo.add_member(:replicated_disks, Shapes::ShapeRef.new(shape: RecoveryInstanceDataReplicationInfoReplicatedDisks, location_name: "replicatedDisks"))
|
587
|
+
RecoveryInstanceDataReplicationInfo.add_member(:staging_availability_zone, Shapes::ShapeRef.new(shape: AwsAvailabilityZone, location_name: "stagingAvailabilityZone"))
|
583
588
|
RecoveryInstanceDataReplicationInfo.struct_class = Types::RecoveryInstanceDataReplicationInfo
|
584
589
|
|
585
590
|
RecoveryInstanceDataReplicationInfoReplicatedDisk.add_member(:backlogged_storage_bytes, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "backloggedStorageBytes"))
|
@@ -643,6 +648,7 @@ module Aws::Drs
|
|
643
648
|
RecoverySnapshotsList.member = Shapes::ShapeRef.new(shape: RecoverySnapshot)
|
644
649
|
|
645
650
|
ReplicationConfiguration.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateDefaultSecurityGroup"))
|
651
|
+
ReplicationConfiguration.add_member(:auto_replicate_new_disks, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoReplicateNewDisks"))
|
646
652
|
ReplicationConfiguration.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "bandwidthThrottling"))
|
647
653
|
ReplicationConfiguration.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "createPublicIP"))
|
648
654
|
ReplicationConfiguration.add_member(:data_plane_routing, Shapes::ShapeRef.new(shape: ReplicationConfigurationDataPlaneRouting, location_name: "dataPlaneRouting"))
|
@@ -672,6 +678,7 @@ module Aws::Drs
|
|
672
678
|
|
673
679
|
ReplicationConfigurationTemplate.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
|
674
680
|
ReplicationConfigurationTemplate.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateDefaultSecurityGroup"))
|
681
|
+
ReplicationConfigurationTemplate.add_member(:auto_replicate_new_disks, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoReplicateNewDisks"))
|
675
682
|
ReplicationConfigurationTemplate.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "bandwidthThrottling"))
|
676
683
|
ReplicationConfigurationTemplate.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "createPublicIP"))
|
677
684
|
ReplicationConfigurationTemplate.add_member(:data_plane_routing, Shapes::ShapeRef.new(shape: ReplicationConfigurationDataPlaneRouting, location_name: "dataPlaneRouting"))
|
@@ -846,6 +853,7 @@ module Aws::Drs
|
|
846
853
|
UpdateLaunchConfigurationRequest.struct_class = Types::UpdateLaunchConfigurationRequest
|
847
854
|
|
848
855
|
UpdateReplicationConfigurationRequest.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateDefaultSecurityGroup"))
|
856
|
+
UpdateReplicationConfigurationRequest.add_member(:auto_replicate_new_disks, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoReplicateNewDisks"))
|
849
857
|
UpdateReplicationConfigurationRequest.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "bandwidthThrottling"))
|
850
858
|
UpdateReplicationConfigurationRequest.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "createPublicIP"))
|
851
859
|
UpdateReplicationConfigurationRequest.add_member(:data_plane_routing, Shapes::ShapeRef.new(shape: ReplicationConfigurationDataPlaneRouting, location_name: "dataPlaneRouting"))
|
@@ -865,6 +873,7 @@ module Aws::Drs
|
|
865
873
|
|
866
874
|
UpdateReplicationConfigurationTemplateRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
|
867
875
|
UpdateReplicationConfigurationTemplateRequest.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateDefaultSecurityGroup"))
|
876
|
+
UpdateReplicationConfigurationTemplateRequest.add_member(:auto_replicate_new_disks, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoReplicateNewDisks"))
|
868
877
|
UpdateReplicationConfigurationTemplateRequest.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "bandwidthThrottling"))
|
869
878
|
UpdateReplicationConfigurationTemplateRequest.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "createPublicIP"))
|
870
879
|
UpdateReplicationConfigurationTemplateRequest.add_member(:data_plane_routing, Shapes::ShapeRef.new(shape: ReplicationConfigurationDataPlaneRouting, location_name: "dataPlaneRouting"))
|
@@ -1239,6 +1248,7 @@ module Aws::Drs
|
|
1239
1248
|
o.name = "RetryDataReplication"
|
1240
1249
|
o.http_method = "POST"
|
1241
1250
|
o.http_request_uri = "/RetryDataReplication"
|
1251
|
+
o.deprecated = true
|
1242
1252
|
o.input = Shapes::ShapeRef.new(shape: RetryDataReplicationRequest)
|
1243
1253
|
o.output = Shapes::ShapeRef.new(shape: SourceServer)
|
1244
1254
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -14,36 +14,39 @@ module Aws::Drs
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://drs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://drs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://drs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://drs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://drs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://drs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://drs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
data/lib/aws-sdk-drs/types.rb
CHANGED
@@ -158,6 +158,11 @@ module Aws::Drs
|
|
158
158
|
# group with the Replication Configuration Template.
|
159
159
|
# @return [Boolean]
|
160
160
|
#
|
161
|
+
# @!attribute [rw] auto_replicate_new_disks
|
162
|
+
# Whether to allow the AWS replication agent to automatically
|
163
|
+
# replicate newly added disks.
|
164
|
+
# @return [Boolean]
|
165
|
+
#
|
161
166
|
# @!attribute [rw] bandwidth_throttling
|
162
167
|
# Configure bandwidth throttling for the outbound data transfer rate
|
163
168
|
# of the Source Server in Mbps.
|
@@ -220,6 +225,7 @@ module Aws::Drs
|
|
220
225
|
#
|
221
226
|
class CreateReplicationConfigurationTemplateRequest < Struct.new(
|
222
227
|
:associate_default_security_group,
|
228
|
+
:auto_replicate_new_disks,
|
223
229
|
:bandwidth_throttling,
|
224
230
|
:create_public_ip,
|
225
231
|
:data_plane_routing,
|
@@ -282,6 +288,10 @@ module Aws::Drs
|
|
282
288
|
# The disks that should be replicated.
|
283
289
|
# @return [Array<Types::DataReplicationInfoReplicatedDisk>]
|
284
290
|
#
|
291
|
+
# @!attribute [rw] staging_availability_zone
|
292
|
+
# AWS Availability zone into which data is being replicated.
|
293
|
+
# @return [String]
|
294
|
+
#
|
285
295
|
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DataReplicationInfo AWS API Documentation
|
286
296
|
#
|
287
297
|
class DataReplicationInfo < Struct.new(
|
@@ -290,7 +300,8 @@ module Aws::Drs
|
|
290
300
|
:data_replication_state,
|
291
301
|
:eta_date_time,
|
292
302
|
:lag_duration,
|
293
|
-
:replicated_disks
|
303
|
+
:replicated_disks,
|
304
|
+
:staging_availability_zone)
|
294
305
|
SENSITIVE = []
|
295
306
|
include Aws::Structure
|
296
307
|
end
|
@@ -1165,10 +1176,15 @@ module Aws::Drs
|
|
1165
1176
|
# last launch of a Source Server.
|
1166
1177
|
# @return [Types::LifeCycleLastLaunchInitiated]
|
1167
1178
|
#
|
1179
|
+
# @!attribute [rw] status
|
1180
|
+
# Status of Source Server's last launch.
|
1181
|
+
# @return [String]
|
1182
|
+
#
|
1168
1183
|
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/LifeCycleLastLaunch AWS API Documentation
|
1169
1184
|
#
|
1170
1185
|
class LifeCycleLastLaunch < Struct.new(
|
1171
|
-
:initiated
|
1186
|
+
:initiated,
|
1187
|
+
:status)
|
1172
1188
|
SENSITIVE = []
|
1173
1189
|
include Aws::Structure
|
1174
1190
|
end
|
@@ -1425,6 +1441,10 @@ module Aws::Drs
|
|
1425
1441
|
# The ID of the Job that created the Recovery Instance.
|
1426
1442
|
# @return [String]
|
1427
1443
|
#
|
1444
|
+
# @!attribute [rw] origin_availability_zone
|
1445
|
+
# AWS availability zone associated with the recovery instance.
|
1446
|
+
# @return [String]
|
1447
|
+
#
|
1428
1448
|
# @!attribute [rw] origin_environment
|
1429
1449
|
# Environment (On Premises / AWS) of the instance that the recovery
|
1430
1450
|
# instance originated from.
|
@@ -1461,6 +1481,7 @@ module Aws::Drs
|
|
1461
1481
|
:failback,
|
1462
1482
|
:is_drill,
|
1463
1483
|
:job_id,
|
1484
|
+
:origin_availability_zone,
|
1464
1485
|
:origin_environment,
|
1465
1486
|
:point_in_time_snapshot_date_time,
|
1466
1487
|
:recovery_instance_id,
|
@@ -1516,6 +1537,10 @@ module Aws::Drs
|
|
1516
1537
|
# The disks that should be replicated.
|
1517
1538
|
# @return [Array<Types::RecoveryInstanceDataReplicationInfoReplicatedDisk>]
|
1518
1539
|
#
|
1540
|
+
# @!attribute [rw] staging_availability_zone
|
1541
|
+
# AWS Availability zone into which data is being replicated.
|
1542
|
+
# @return [String]
|
1543
|
+
#
|
1519
1544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryInstanceDataReplicationInfo AWS API Documentation
|
1520
1545
|
#
|
1521
1546
|
class RecoveryInstanceDataReplicationInfo < Struct.new(
|
@@ -1524,7 +1549,8 @@ module Aws::Drs
|
|
1524
1549
|
:data_replication_state,
|
1525
1550
|
:eta_date_time,
|
1526
1551
|
:lag_duration,
|
1527
|
-
:replicated_disks
|
1552
|
+
:replicated_disks,
|
1553
|
+
:staging_availability_zone)
|
1528
1554
|
SENSITIVE = []
|
1529
1555
|
include Aws::Structure
|
1530
1556
|
end
|
@@ -1779,6 +1805,11 @@ module Aws::Drs
|
|
1779
1805
|
# group with the Replication Configuration.
|
1780
1806
|
# @return [Boolean]
|
1781
1807
|
#
|
1808
|
+
# @!attribute [rw] auto_replicate_new_disks
|
1809
|
+
# Whether to allow the AWS replication agent to automatically
|
1810
|
+
# replicate newly added disks.
|
1811
|
+
# @return [Boolean]
|
1812
|
+
#
|
1782
1813
|
# @!attribute [rw] bandwidth_throttling
|
1783
1814
|
# Configure bandwidth throttling for the outbound data transfer rate
|
1784
1815
|
# of the Source Server in Mbps.
|
@@ -1849,6 +1880,7 @@ module Aws::Drs
|
|
1849
1880
|
#
|
1850
1881
|
class ReplicationConfiguration < Struct.new(
|
1851
1882
|
:associate_default_security_group,
|
1883
|
+
:auto_replicate_new_disks,
|
1852
1884
|
:bandwidth_throttling,
|
1853
1885
|
:create_public_ip,
|
1854
1886
|
:data_plane_routing,
|
@@ -1883,9 +1915,8 @@ module Aws::Drs
|
|
1883
1915
|
# @return [Boolean]
|
1884
1916
|
#
|
1885
1917
|
# @!attribute [rw] optimized_staging_disk_type
|
1886
|
-
#
|
1887
|
-
#
|
1888
|
-
# service. This is a read-only field.
|
1918
|
+
# The Staging Disk EBS volume type to be used during replication when
|
1919
|
+
# `stagingDiskType` is set to Auto. This is a read-only field.
|
1889
1920
|
# @return [String]
|
1890
1921
|
#
|
1891
1922
|
# @!attribute [rw] staging_disk_type
|
@@ -1919,6 +1950,11 @@ module Aws::Drs
|
|
1919
1950
|
# group with the Replication Configuration Template.
|
1920
1951
|
# @return [Boolean]
|
1921
1952
|
#
|
1953
|
+
# @!attribute [rw] auto_replicate_new_disks
|
1954
|
+
# Whether to allow the AWS replication agent to automatically
|
1955
|
+
# replicate newly added disks.
|
1956
|
+
# @return [Boolean]
|
1957
|
+
#
|
1922
1958
|
# @!attribute [rw] bandwidth_throttling
|
1923
1959
|
# Configure bandwidth throttling for the outbound data transfer rate
|
1924
1960
|
# of the Source Server in Mbps.
|
@@ -1986,6 +2022,7 @@ module Aws::Drs
|
|
1986
2022
|
class ReplicationConfigurationTemplate < Struct.new(
|
1987
2023
|
:arn,
|
1988
2024
|
:associate_default_security_group,
|
2025
|
+
:auto_replicate_new_disks,
|
1989
2026
|
:bandwidth_throttling,
|
1990
2027
|
:create_public_ip,
|
1991
2028
|
:data_plane_routing,
|
@@ -2648,6 +2685,11 @@ module Aws::Drs
|
|
2648
2685
|
# group with the Replication Configuration.
|
2649
2686
|
# @return [Boolean]
|
2650
2687
|
#
|
2688
|
+
# @!attribute [rw] auto_replicate_new_disks
|
2689
|
+
# Whether to allow the AWS replication agent to automatically
|
2690
|
+
# replicate newly added disks.
|
2691
|
+
# @return [Boolean]
|
2692
|
+
#
|
2651
2693
|
# @!attribute [rw] bandwidth_throttling
|
2652
2694
|
# Configure bandwidth throttling for the outbound data transfer rate
|
2653
2695
|
# of the Source Server in Mbps.
|
@@ -2718,6 +2760,7 @@ module Aws::Drs
|
|
2718
2760
|
#
|
2719
2761
|
class UpdateReplicationConfigurationRequest < Struct.new(
|
2720
2762
|
:associate_default_security_group,
|
2763
|
+
:auto_replicate_new_disks,
|
2721
2764
|
:bandwidth_throttling,
|
2722
2765
|
:create_public_ip,
|
2723
2766
|
:data_plane_routing,
|
@@ -2746,6 +2789,11 @@ module Aws::Drs
|
|
2746
2789
|
# group with the Replication Configuration Template.
|
2747
2790
|
# @return [Boolean]
|
2748
2791
|
#
|
2792
|
+
# @!attribute [rw] auto_replicate_new_disks
|
2793
|
+
# Whether to allow the AWS replication agent to automatically
|
2794
|
+
# replicate newly added disks.
|
2795
|
+
# @return [Boolean]
|
2796
|
+
#
|
2749
2797
|
# @!attribute [rw] bandwidth_throttling
|
2750
2798
|
# Configure bandwidth throttling for the outbound data transfer rate
|
2751
2799
|
# of the Source Server in Mbps.
|
@@ -2808,6 +2856,7 @@ module Aws::Drs
|
|
2808
2856
|
class UpdateReplicationConfigurationTemplateRequest < Struct.new(
|
2809
2857
|
:arn,
|
2810
2858
|
:associate_default_security_group,
|
2859
|
+
:auto_replicate_new_disks,
|
2811
2860
|
:bandwidth_throttling,
|
2812
2861
|
:create_public_ip,
|
2813
2862
|
:data_plane_routing,
|
data/lib/aws-sdk-drs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-drs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|