aws-sdk-drs 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-drs/client.rb +15 -1
- data/lib/aws-sdk-drs/client_api.rb +4 -0
- data/lib/aws-sdk-drs/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-drs/types.rb +25 -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: 34cfb845c4e151b6de8e68b273aace81d5524ce09c4d344158e3ed3af835c79d
|
4
|
+
data.tar.gz: 051bd8cc3570475f979ee0709745a7d6b4747e97f2851f25f7c08e7d9286ff9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8774b29a28b2bc7bc168c7199ed1fb9b515e7dacdc65e370492c310b04f44fd08ea54b3db77ad108402d16a78206d47b7ea3c790a774ce722de0cef215f44a38
|
7
|
+
data.tar.gz: 03710410746bec411a6dc08925ebc07f2ce9190c37ab77094c63da9414979534da2199e90e4150f4c79f0a0249c3f5b432c37ffb13705997280065348f591f65
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.0 (2023-02-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.10.0 (2023-01-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.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"
|
@@ -853,6 +855,7 @@ module Aws::Drs
|
|
853
855
|
# resp.items[0].data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
854
856
|
# resp.items[0].data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
855
857
|
# resp.items[0].data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
858
|
+
# resp.items[0].data_replication_info.staging_availability_zone #=> String
|
856
859
|
# resp.items[0].ec2_instance_id #=> String
|
857
860
|
# resp.items[0].ec2_instance_state #=> String, one of "PENDING", "RUNNING", "STOPPING", "STOPPED", "SHUTTING-DOWN", "TERMINATED", "NOT_FOUND"
|
858
861
|
# resp.items[0].failback.agent_last_seen_by_service_date_time #=> String
|
@@ -867,6 +870,7 @@ module Aws::Drs
|
|
867
870
|
# 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
871
|
# resp.items[0].is_drill #=> Boolean
|
869
872
|
# resp.items[0].job_id #=> String
|
873
|
+
# resp.items[0].origin_availability_zone #=> String
|
870
874
|
# resp.items[0].origin_environment #=> String, one of "ON_PREMISES", "AWS"
|
871
875
|
# resp.items[0].point_in_time_snapshot_date_time #=> String
|
872
876
|
# resp.items[0].recovery_instance_id #=> String
|
@@ -1076,6 +1080,7 @@ module Aws::Drs
|
|
1076
1080
|
# resp.items[0].data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
1077
1081
|
# resp.items[0].data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
1078
1082
|
# resp.items[0].data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
1083
|
+
# resp.items[0].data_replication_info.staging_availability_zone #=> String
|
1079
1084
|
# resp.items[0].last_launch_result #=> String, one of "NOT_STARTED", "PENDING", "SUCCEEDED", "FAILED"
|
1080
1085
|
# resp.items[0].life_cycle.added_to_service_date_time #=> String
|
1081
1086
|
# resp.items[0].life_cycle.elapsed_replication_duration #=> String
|
@@ -1083,6 +1088,7 @@ module Aws::Drs
|
|
1083
1088
|
# resp.items[0].life_cycle.last_launch.initiated.api_call_date_time #=> String
|
1084
1089
|
# resp.items[0].life_cycle.last_launch.initiated.job_id #=> String
|
1085
1090
|
# resp.items[0].life_cycle.last_launch.initiated.type #=> String, one of "RECOVERY", "DRILL"
|
1091
|
+
# resp.items[0].life_cycle.last_launch.status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1086
1092
|
# resp.items[0].life_cycle.last_seen_by_service_date_time #=> String
|
1087
1093
|
# resp.items[0].recovery_instance_id #=> String
|
1088
1094
|
# resp.items[0].replication_direction #=> String, one of "FAILOVER", "FAILBACK"
|
@@ -1219,6 +1225,7 @@ module Aws::Drs
|
|
1219
1225
|
# resp.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
1220
1226
|
# resp.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
1221
1227
|
# resp.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
1228
|
+
# resp.data_replication_info.staging_availability_zone #=> String
|
1222
1229
|
# resp.last_launch_result #=> String, one of "NOT_STARTED", "PENDING", "SUCCEEDED", "FAILED"
|
1223
1230
|
# resp.life_cycle.added_to_service_date_time #=> String
|
1224
1231
|
# resp.life_cycle.elapsed_replication_duration #=> String
|
@@ -1226,6 +1233,7 @@ module Aws::Drs
|
|
1226
1233
|
# resp.life_cycle.last_launch.initiated.api_call_date_time #=> String
|
1227
1234
|
# resp.life_cycle.last_launch.initiated.job_id #=> String
|
1228
1235
|
# resp.life_cycle.last_launch.initiated.type #=> String, one of "RECOVERY", "DRILL"
|
1236
|
+
# resp.life_cycle.last_launch.status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1229
1237
|
# resp.life_cycle.last_seen_by_service_date_time #=> String
|
1230
1238
|
# resp.recovery_instance_id #=> String
|
1231
1239
|
# resp.replication_direction #=> String, one of "FAILOVER", "FAILBACK"
|
@@ -1595,6 +1603,7 @@ module Aws::Drs
|
|
1595
1603
|
# resp.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
1596
1604
|
# resp.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
1597
1605
|
# resp.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
1606
|
+
# resp.data_replication_info.staging_availability_zone #=> String
|
1598
1607
|
# resp.last_launch_result #=> String, one of "NOT_STARTED", "PENDING", "SUCCEEDED", "FAILED"
|
1599
1608
|
# resp.life_cycle.added_to_service_date_time #=> String
|
1600
1609
|
# resp.life_cycle.elapsed_replication_duration #=> String
|
@@ -1602,6 +1611,7 @@ module Aws::Drs
|
|
1602
1611
|
# resp.life_cycle.last_launch.initiated.api_call_date_time #=> String
|
1603
1612
|
# resp.life_cycle.last_launch.initiated.job_id #=> String
|
1604
1613
|
# resp.life_cycle.last_launch.initiated.type #=> String, one of "RECOVERY", "DRILL"
|
1614
|
+
# resp.life_cycle.last_launch.status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1605
1615
|
# resp.life_cycle.last_seen_by_service_date_time #=> String
|
1606
1616
|
# resp.recovery_instance_id #=> String
|
1607
1617
|
# resp.replication_direction #=> String, one of "FAILOVER", "FAILBACK"
|
@@ -1820,6 +1830,7 @@ module Aws::Drs
|
|
1820
1830
|
# resp.source_server.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
1821
1831
|
# resp.source_server.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
1822
1832
|
# resp.source_server.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
1833
|
+
# resp.source_server.data_replication_info.staging_availability_zone #=> String
|
1823
1834
|
# resp.source_server.last_launch_result #=> String, one of "NOT_STARTED", "PENDING", "SUCCEEDED", "FAILED"
|
1824
1835
|
# resp.source_server.life_cycle.added_to_service_date_time #=> String
|
1825
1836
|
# resp.source_server.life_cycle.elapsed_replication_duration #=> String
|
@@ -1827,6 +1838,7 @@ module Aws::Drs
|
|
1827
1838
|
# resp.source_server.life_cycle.last_launch.initiated.api_call_date_time #=> String
|
1828
1839
|
# resp.source_server.life_cycle.last_launch.initiated.job_id #=> String
|
1829
1840
|
# resp.source_server.life_cycle.last_launch.initiated.type #=> String, one of "RECOVERY", "DRILL"
|
1841
|
+
# resp.source_server.life_cycle.last_launch.status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1830
1842
|
# resp.source_server.life_cycle.last_seen_by_service_date_time #=> String
|
1831
1843
|
# resp.source_server.recovery_instance_id #=> String
|
1832
1844
|
# resp.source_server.replication_direction #=> String, one of "FAILOVER", "FAILBACK"
|
@@ -1930,6 +1942,7 @@ module Aws::Drs
|
|
1930
1942
|
# resp.source_server.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
|
1931
1943
|
# resp.source_server.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
|
1932
1944
|
# resp.source_server.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
|
1945
|
+
# resp.source_server.data_replication_info.staging_availability_zone #=> String
|
1933
1946
|
# resp.source_server.last_launch_result #=> String, one of "NOT_STARTED", "PENDING", "SUCCEEDED", "FAILED"
|
1934
1947
|
# resp.source_server.life_cycle.added_to_service_date_time #=> String
|
1935
1948
|
# resp.source_server.life_cycle.elapsed_replication_duration #=> String
|
@@ -1937,6 +1950,7 @@ module Aws::Drs
|
|
1937
1950
|
# resp.source_server.life_cycle.last_launch.initiated.api_call_date_time #=> String
|
1938
1951
|
# resp.source_server.life_cycle.last_launch.initiated.job_id #=> String
|
1939
1952
|
# resp.source_server.life_cycle.last_launch.initiated.type #=> String, one of "RECOVERY", "DRILL"
|
1953
|
+
# resp.source_server.life_cycle.last_launch.status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1940
1954
|
# resp.source_server.life_cycle.last_seen_by_service_date_time #=> String
|
1941
1955
|
# resp.source_server.recovery_instance_id #=> String
|
1942
1956
|
# resp.source_server.replication_direction #=> String, one of "FAILOVER", "FAILBACK"
|
@@ -2499,7 +2513,7 @@ module Aws::Drs
|
|
2499
2513
|
params: params,
|
2500
2514
|
config: config)
|
2501
2515
|
context[:gem_name] = 'aws-sdk-drs'
|
2502
|
-
context[:gem_version] = '1.
|
2516
|
+
context[:gem_version] = '1.11.0'
|
2503
2517
|
Seahorse::Client::Request.new(handlers, context)
|
2504
2518
|
end
|
2505
2519
|
|
@@ -286,6 +286,7 @@ module Aws::Drs
|
|
286
286
|
DataReplicationInfo.add_member(:eta_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "etaDateTime"))
|
287
287
|
DataReplicationInfo.add_member(:lag_duration, Shapes::ShapeRef.new(shape: ISO8601DurationString, location_name: "lagDuration"))
|
288
288
|
DataReplicationInfo.add_member(:replicated_disks, Shapes::ShapeRef.new(shape: DataReplicationInfoReplicatedDisks, location_name: "replicatedDisks"))
|
289
|
+
DataReplicationInfo.add_member(:staging_availability_zone, Shapes::ShapeRef.new(shape: AwsAvailabilityZone, location_name: "stagingAvailabilityZone"))
|
289
290
|
DataReplicationInfo.struct_class = Types::DataReplicationInfo
|
290
291
|
|
291
292
|
DataReplicationInfoReplicatedDisk.add_member(:backlogged_storage_bytes, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "backloggedStorageBytes"))
|
@@ -499,6 +500,7 @@ module Aws::Drs
|
|
499
500
|
LifeCycle.struct_class = Types::LifeCycle
|
500
501
|
|
501
502
|
LifeCycleLastLaunch.add_member(:initiated, Shapes::ShapeRef.new(shape: LifeCycleLastLaunchInitiated, location_name: "initiated"))
|
503
|
+
LifeCycleLastLaunch.add_member(:status, Shapes::ShapeRef.new(shape: LaunchStatus, location_name: "status"))
|
502
504
|
LifeCycleLastLaunch.struct_class = Types::LifeCycleLastLaunch
|
503
505
|
|
504
506
|
LifeCycleLastLaunchInitiated.add_member(:api_call_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "apiCallDateTime"))
|
@@ -562,6 +564,7 @@ module Aws::Drs
|
|
562
564
|
RecoveryInstance.add_member(:failback, Shapes::ShapeRef.new(shape: RecoveryInstanceFailback, location_name: "failback"))
|
563
565
|
RecoveryInstance.add_member(:is_drill, Shapes::ShapeRef.new(shape: Boolean, location_name: "isDrill"))
|
564
566
|
RecoveryInstance.add_member(:job_id, Shapes::ShapeRef.new(shape: JobID, location_name: "jobID"))
|
567
|
+
RecoveryInstance.add_member(:origin_availability_zone, Shapes::ShapeRef.new(shape: AwsAvailabilityZone, location_name: "originAvailabilityZone"))
|
565
568
|
RecoveryInstance.add_member(:origin_environment, Shapes::ShapeRef.new(shape: OriginEnvironment, location_name: "originEnvironment"))
|
566
569
|
RecoveryInstance.add_member(:point_in_time_snapshot_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "pointInTimeSnapshotDateTime"))
|
567
570
|
RecoveryInstance.add_member(:recovery_instance_id, Shapes::ShapeRef.new(shape: RecoveryInstanceID, location_name: "recoveryInstanceID"))
|
@@ -580,6 +583,7 @@ module Aws::Drs
|
|
580
583
|
RecoveryInstanceDataReplicationInfo.add_member(:eta_date_time, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "etaDateTime"))
|
581
584
|
RecoveryInstanceDataReplicationInfo.add_member(:lag_duration, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "lagDuration"))
|
582
585
|
RecoveryInstanceDataReplicationInfo.add_member(:replicated_disks, Shapes::ShapeRef.new(shape: RecoveryInstanceDataReplicationInfoReplicatedDisks, location_name: "replicatedDisks"))
|
586
|
+
RecoveryInstanceDataReplicationInfo.add_member(:staging_availability_zone, Shapes::ShapeRef.new(shape: AwsAvailabilityZone, location_name: "stagingAvailabilityZone"))
|
583
587
|
RecoveryInstanceDataReplicationInfo.struct_class = Types::RecoveryInstanceDataReplicationInfo
|
584
588
|
|
585
589
|
RecoveryInstanceDataReplicationInfoReplicatedDisk.add_member(:backlogged_storage_bytes, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "backloggedStorageBytes"))
|
@@ -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
@@ -282,6 +282,10 @@ module Aws::Drs
|
|
282
282
|
# The disks that should be replicated.
|
283
283
|
# @return [Array<Types::DataReplicationInfoReplicatedDisk>]
|
284
284
|
#
|
285
|
+
# @!attribute [rw] staging_availability_zone
|
286
|
+
# AWS Availability zone into which data is being replicated.
|
287
|
+
# @return [String]
|
288
|
+
#
|
285
289
|
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DataReplicationInfo AWS API Documentation
|
286
290
|
#
|
287
291
|
class DataReplicationInfo < Struct.new(
|
@@ -290,7 +294,8 @@ module Aws::Drs
|
|
290
294
|
:data_replication_state,
|
291
295
|
:eta_date_time,
|
292
296
|
:lag_duration,
|
293
|
-
:replicated_disks
|
297
|
+
:replicated_disks,
|
298
|
+
:staging_availability_zone)
|
294
299
|
SENSITIVE = []
|
295
300
|
include Aws::Structure
|
296
301
|
end
|
@@ -1165,10 +1170,15 @@ module Aws::Drs
|
|
1165
1170
|
# last launch of a Source Server.
|
1166
1171
|
# @return [Types::LifeCycleLastLaunchInitiated]
|
1167
1172
|
#
|
1173
|
+
# @!attribute [rw] status
|
1174
|
+
# Status of Source Server's last launch.
|
1175
|
+
# @return [String]
|
1176
|
+
#
|
1168
1177
|
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/LifeCycleLastLaunch AWS API Documentation
|
1169
1178
|
#
|
1170
1179
|
class LifeCycleLastLaunch < Struct.new(
|
1171
|
-
:initiated
|
1180
|
+
:initiated,
|
1181
|
+
:status)
|
1172
1182
|
SENSITIVE = []
|
1173
1183
|
include Aws::Structure
|
1174
1184
|
end
|
@@ -1425,6 +1435,10 @@ module Aws::Drs
|
|
1425
1435
|
# The ID of the Job that created the Recovery Instance.
|
1426
1436
|
# @return [String]
|
1427
1437
|
#
|
1438
|
+
# @!attribute [rw] origin_availability_zone
|
1439
|
+
# AWS availability zone associated with the recovery instance.
|
1440
|
+
# @return [String]
|
1441
|
+
#
|
1428
1442
|
# @!attribute [rw] origin_environment
|
1429
1443
|
# Environment (On Premises / AWS) of the instance that the recovery
|
1430
1444
|
# instance originated from.
|
@@ -1461,6 +1475,7 @@ module Aws::Drs
|
|
1461
1475
|
:failback,
|
1462
1476
|
:is_drill,
|
1463
1477
|
:job_id,
|
1478
|
+
:origin_availability_zone,
|
1464
1479
|
:origin_environment,
|
1465
1480
|
:point_in_time_snapshot_date_time,
|
1466
1481
|
:recovery_instance_id,
|
@@ -1516,6 +1531,10 @@ module Aws::Drs
|
|
1516
1531
|
# The disks that should be replicated.
|
1517
1532
|
# @return [Array<Types::RecoveryInstanceDataReplicationInfoReplicatedDisk>]
|
1518
1533
|
#
|
1534
|
+
# @!attribute [rw] staging_availability_zone
|
1535
|
+
# AWS Availability zone into which data is being replicated.
|
1536
|
+
# @return [String]
|
1537
|
+
#
|
1519
1538
|
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryInstanceDataReplicationInfo AWS API Documentation
|
1520
1539
|
#
|
1521
1540
|
class RecoveryInstanceDataReplicationInfo < Struct.new(
|
@@ -1524,7 +1543,8 @@ module Aws::Drs
|
|
1524
1543
|
:data_replication_state,
|
1525
1544
|
:eta_date_time,
|
1526
1545
|
:lag_duration,
|
1527
|
-
:replicated_disks
|
1546
|
+
:replicated_disks,
|
1547
|
+
:staging_availability_zone)
|
1528
1548
|
SENSITIVE = []
|
1529
1549
|
include Aws::Structure
|
1530
1550
|
end
|
@@ -1883,9 +1903,8 @@ module Aws::Drs
|
|
1883
1903
|
# @return [Boolean]
|
1884
1904
|
#
|
1885
1905
|
# @!attribute [rw] optimized_staging_disk_type
|
1886
|
-
#
|
1887
|
-
#
|
1888
|
-
# service. This is a read-only field.
|
1906
|
+
# The Staging Disk EBS volume type to be used during replication when
|
1907
|
+
# `stagingDiskType` is set to Auto. This is a read-only field.
|
1889
1908
|
# @return [String]
|
1890
1909
|
#
|
1891
1910
|
# @!attribute [rw] staging_disk_type
|
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.11.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-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|