aws-sdk-drs 1.9.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -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 +38 -95
- data/lib/aws-sdk-drs/types.rb +25 -460
- 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,18 @@
|
|
|
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
|
+
|
|
9
|
+
1.10.0 (2023-01-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
|
15
|
+
|
|
4
16
|
1.9.0 (2022-11-28)
|
|
5
17
|
------------------
|
|
6
18
|
|
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"))
|
|
@@ -9,103 +9,46 @@
|
|
|
9
9
|
|
|
10
10
|
module Aws::Drs
|
|
11
11
|
class EndpointProvider
|
|
12
|
-
def
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
def resolve_endpoint(parameters)
|
|
13
|
+
region = parameters.region
|
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
|
15
|
+
use_fips = parameters.use_fips
|
|
16
|
+
endpoint = parameters.endpoint
|
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
20
|
+
end
|
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
23
|
+
end
|
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
21
25
|
end
|
|
22
|
-
|
|
23
|
-
|
|
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"
|
|
45
|
+
end
|
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://drs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
|
24
51
|
|
|
25
|
-
def resolve_endpoint(parameters)
|
|
26
|
-
@provider.resolve_endpoint(parameters)
|
|
27
52
|
end
|
|
28
|
-
|
|
29
|
-
# @api private
|
|
30
|
-
RULES = <<-JSON
|
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
|
|
41
|
-
UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
|
|
42
|
-
dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ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FsU3RhY2sgaXMgZW5hYmxlZCBi
|
|
103
|
-
dXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2si
|
|
104
|
-
LCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50
|
|
105
|
-
Ijp7InVybCI6Imh0dHBzOi8vZHJzLntSZWdpb259LntQYXJ0aXRpb25SZXN1
|
|
106
|
-
bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0s
|
|
107
|
-
InR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
|
108
|
-
|
|
109
|
-
JSON
|
|
110
53
|
end
|
|
111
54
|
end
|
data/lib/aws-sdk-drs/types.rb
CHANGED
|
@@ -123,16 +123,6 @@ module Aws::Drs
|
|
|
123
123
|
include Aws::Structure
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
-
# @note When making an API call, you may pass CreateExtendedSourceServerRequest
|
|
127
|
-
# data as a hash:
|
|
128
|
-
#
|
|
129
|
-
# {
|
|
130
|
-
# source_server_arn: "SourceServerARN", # required
|
|
131
|
-
# tags: {
|
|
132
|
-
# "TagKey" => "TagValue",
|
|
133
|
-
# },
|
|
134
|
-
# }
|
|
135
|
-
#
|
|
136
126
|
# @!attribute [rw] source_server_arn
|
|
137
127
|
# This defines the ARN of the source server in staging Account based
|
|
138
128
|
# on which you want to create an extended source server.
|
|
@@ -163,38 +153,6 @@ module Aws::Drs
|
|
|
163
153
|
include Aws::Structure
|
|
164
154
|
end
|
|
165
155
|
|
|
166
|
-
# @note When making an API call, you may pass CreateReplicationConfigurationTemplateRequest
|
|
167
|
-
# data as a hash:
|
|
168
|
-
#
|
|
169
|
-
# {
|
|
170
|
-
# associate_default_security_group: false, # required
|
|
171
|
-
# bandwidth_throttling: 1, # required
|
|
172
|
-
# create_public_ip: false, # required
|
|
173
|
-
# data_plane_routing: "PRIVATE_IP", # required, accepts PRIVATE_IP, PUBLIC_IP
|
|
174
|
-
# default_large_staging_disk_type: "GP2", # required, accepts GP2, GP3, ST1, AUTO
|
|
175
|
-
# ebs_encryption: "DEFAULT", # required, accepts DEFAULT, CUSTOM
|
|
176
|
-
# ebs_encryption_key_arn: "ARN",
|
|
177
|
-
# pit_policy: [ # required
|
|
178
|
-
# {
|
|
179
|
-
# enabled: false,
|
|
180
|
-
# interval: 1, # required
|
|
181
|
-
# retention_duration: 1, # required
|
|
182
|
-
# rule_id: 1,
|
|
183
|
-
# units: "MINUTE", # required, accepts MINUTE, HOUR, DAY
|
|
184
|
-
# },
|
|
185
|
-
# ],
|
|
186
|
-
# replication_server_instance_type: "EC2InstanceType", # required
|
|
187
|
-
# replication_servers_security_groups_i_ds: ["SecurityGroupID"], # required
|
|
188
|
-
# staging_area_subnet_id: "SubnetID", # required
|
|
189
|
-
# staging_area_tags: { # required
|
|
190
|
-
# "TagKey" => "TagValue",
|
|
191
|
-
# },
|
|
192
|
-
# tags: {
|
|
193
|
-
# "TagKey" => "TagValue",
|
|
194
|
-
# },
|
|
195
|
-
# use_dedicated_replication_server: false, # required
|
|
196
|
-
# }
|
|
197
|
-
#
|
|
198
156
|
# @!attribute [rw] associate_default_security_group
|
|
199
157
|
# Whether to associate the default Elastic Disaster Recovery Security
|
|
200
158
|
# group with the Replication Configuration Template.
|
|
@@ -324,6 +282,10 @@ module Aws::Drs
|
|
|
324
282
|
# The disks that should be replicated.
|
|
325
283
|
# @return [Array<Types::DataReplicationInfoReplicatedDisk>]
|
|
326
284
|
#
|
|
285
|
+
# @!attribute [rw] staging_availability_zone
|
|
286
|
+
# AWS Availability zone into which data is being replicated.
|
|
287
|
+
# @return [String]
|
|
288
|
+
#
|
|
327
289
|
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DataReplicationInfo AWS API Documentation
|
|
328
290
|
#
|
|
329
291
|
class DataReplicationInfo < Struct.new(
|
|
@@ -332,7 +294,8 @@ module Aws::Drs
|
|
|
332
294
|
:data_replication_state,
|
|
333
295
|
:eta_date_time,
|
|
334
296
|
:lag_duration,
|
|
335
|
-
:replicated_disks
|
|
297
|
+
:replicated_disks,
|
|
298
|
+
:staging_availability_zone)
|
|
336
299
|
SENSITIVE = []
|
|
337
300
|
include Aws::Structure
|
|
338
301
|
end
|
|
@@ -415,13 +378,6 @@ module Aws::Drs
|
|
|
415
378
|
include Aws::Structure
|
|
416
379
|
end
|
|
417
380
|
|
|
418
|
-
# @note When making an API call, you may pass DeleteJobRequest
|
|
419
|
-
# data as a hash:
|
|
420
|
-
#
|
|
421
|
-
# {
|
|
422
|
-
# job_id: "JobID", # required
|
|
423
|
-
# }
|
|
424
|
-
#
|
|
425
381
|
# @!attribute [rw] job_id
|
|
426
382
|
# The ID of the Job to be deleted.
|
|
427
383
|
# @return [String]
|
|
@@ -438,13 +394,6 @@ module Aws::Drs
|
|
|
438
394
|
#
|
|
439
395
|
class DeleteJobResponse < Aws::EmptyStructure; end
|
|
440
396
|
|
|
441
|
-
# @note When making an API call, you may pass DeleteRecoveryInstanceRequest
|
|
442
|
-
# data as a hash:
|
|
443
|
-
#
|
|
444
|
-
# {
|
|
445
|
-
# recovery_instance_id: "RecoveryInstanceID", # required
|
|
446
|
-
# }
|
|
447
|
-
#
|
|
448
397
|
# @!attribute [rw] recovery_instance_id
|
|
449
398
|
# The ID of the Recovery Instance to be deleted.
|
|
450
399
|
# @return [String]
|
|
@@ -457,13 +406,6 @@ module Aws::Drs
|
|
|
457
406
|
include Aws::Structure
|
|
458
407
|
end
|
|
459
408
|
|
|
460
|
-
# @note When making an API call, you may pass DeleteReplicationConfigurationTemplateRequest
|
|
461
|
-
# data as a hash:
|
|
462
|
-
#
|
|
463
|
-
# {
|
|
464
|
-
# replication_configuration_template_id: "ReplicationConfigurationTemplateID", # required
|
|
465
|
-
# }
|
|
466
|
-
#
|
|
467
409
|
# @!attribute [rw] replication_configuration_template_id
|
|
468
410
|
# The ID of the Replication Configuration Template to be deleted.
|
|
469
411
|
# @return [String]
|
|
@@ -480,13 +422,6 @@ module Aws::Drs
|
|
|
480
422
|
#
|
|
481
423
|
class DeleteReplicationConfigurationTemplateResponse < Aws::EmptyStructure; end
|
|
482
424
|
|
|
483
|
-
# @note When making an API call, you may pass DeleteSourceServerRequest
|
|
484
|
-
# data as a hash:
|
|
485
|
-
#
|
|
486
|
-
# {
|
|
487
|
-
# source_server_id: "SourceServerID", # required
|
|
488
|
-
# }
|
|
489
|
-
#
|
|
490
425
|
# @!attribute [rw] source_server_id
|
|
491
426
|
# The ID of the Source Server to be deleted.
|
|
492
427
|
# @return [String]
|
|
@@ -503,15 +438,6 @@ module Aws::Drs
|
|
|
503
438
|
#
|
|
504
439
|
class DeleteSourceServerResponse < Aws::EmptyStructure; end
|
|
505
440
|
|
|
506
|
-
# @note When making an API call, you may pass DescribeJobLogItemsRequest
|
|
507
|
-
# data as a hash:
|
|
508
|
-
#
|
|
509
|
-
# {
|
|
510
|
-
# job_id: "JobID", # required
|
|
511
|
-
# max_results: 1,
|
|
512
|
-
# next_token: "PaginationToken",
|
|
513
|
-
# }
|
|
514
|
-
#
|
|
515
441
|
# @!attribute [rw] job_id
|
|
516
442
|
# The ID of the Job for which Job log items will be retrieved.
|
|
517
443
|
# @return [String]
|
|
@@ -551,19 +477,6 @@ module Aws::Drs
|
|
|
551
477
|
include Aws::Structure
|
|
552
478
|
end
|
|
553
479
|
|
|
554
|
-
# @note When making an API call, you may pass DescribeJobsRequest
|
|
555
|
-
# data as a hash:
|
|
556
|
-
#
|
|
557
|
-
# {
|
|
558
|
-
# filters: {
|
|
559
|
-
# from_date: "ISO8601DatetimeString",
|
|
560
|
-
# job_i_ds: ["JobID"],
|
|
561
|
-
# to_date: "ISO8601DatetimeString",
|
|
562
|
-
# },
|
|
563
|
-
# max_results: 1,
|
|
564
|
-
# next_token: "PaginationToken",
|
|
565
|
-
# }
|
|
566
|
-
#
|
|
567
480
|
# @!attribute [rw] filters
|
|
568
481
|
# A set of filters by which to return Jobs.
|
|
569
482
|
# @return [Types::DescribeJobsRequestFilters]
|
|
@@ -588,15 +501,6 @@ module Aws::Drs
|
|
|
588
501
|
|
|
589
502
|
# A set of filters by which to return Jobs.
|
|
590
503
|
#
|
|
591
|
-
# @note When making an API call, you may pass DescribeJobsRequestFilters
|
|
592
|
-
# data as a hash:
|
|
593
|
-
#
|
|
594
|
-
# {
|
|
595
|
-
# from_date: "ISO8601DatetimeString",
|
|
596
|
-
# job_i_ds: ["JobID"],
|
|
597
|
-
# to_date: "ISO8601DatetimeString",
|
|
598
|
-
# }
|
|
599
|
-
#
|
|
600
504
|
# @!attribute [rw] from_date
|
|
601
505
|
# The start date in a date range query.
|
|
602
506
|
# @return [String]
|
|
@@ -637,18 +541,6 @@ module Aws::Drs
|
|
|
637
541
|
include Aws::Structure
|
|
638
542
|
end
|
|
639
543
|
|
|
640
|
-
# @note When making an API call, you may pass DescribeRecoveryInstancesRequest
|
|
641
|
-
# data as a hash:
|
|
642
|
-
#
|
|
643
|
-
# {
|
|
644
|
-
# filters: {
|
|
645
|
-
# recovery_instance_i_ds: ["RecoveryInstanceID"],
|
|
646
|
-
# source_server_i_ds: ["SourceServerID"],
|
|
647
|
-
# },
|
|
648
|
-
# max_results: 1,
|
|
649
|
-
# next_token: "PaginationToken",
|
|
650
|
-
# }
|
|
651
|
-
#
|
|
652
544
|
# @!attribute [rw] filters
|
|
653
545
|
# A set of filters by which to return Recovery Instances.
|
|
654
546
|
# @return [Types::DescribeRecoveryInstancesRequestFilters]
|
|
@@ -673,14 +565,6 @@ module Aws::Drs
|
|
|
673
565
|
|
|
674
566
|
# A set of filters by which to return Recovery Instances.
|
|
675
567
|
#
|
|
676
|
-
# @note When making an API call, you may pass DescribeRecoveryInstancesRequestFilters
|
|
677
|
-
# data as a hash:
|
|
678
|
-
#
|
|
679
|
-
# {
|
|
680
|
-
# recovery_instance_i_ds: ["RecoveryInstanceID"],
|
|
681
|
-
# source_server_i_ds: ["SourceServerID"],
|
|
682
|
-
# }
|
|
683
|
-
#
|
|
684
568
|
# @!attribute [rw] recovery_instance_i_ds
|
|
685
569
|
# An array of Recovery Instance IDs that should be returned. An empty
|
|
686
570
|
# array means all Recovery Instances.
|
|
@@ -717,20 +601,6 @@ module Aws::Drs
|
|
|
717
601
|
include Aws::Structure
|
|
718
602
|
end
|
|
719
603
|
|
|
720
|
-
# @note When making an API call, you may pass DescribeRecoverySnapshotsRequest
|
|
721
|
-
# data as a hash:
|
|
722
|
-
#
|
|
723
|
-
# {
|
|
724
|
-
# filters: {
|
|
725
|
-
# from_date_time: "ISO8601DatetimeString",
|
|
726
|
-
# to_date_time: "ISO8601DatetimeString",
|
|
727
|
-
# },
|
|
728
|
-
# max_results: 1,
|
|
729
|
-
# next_token: "PaginationToken",
|
|
730
|
-
# order: "ASC", # accepts ASC, DESC
|
|
731
|
-
# source_server_id: "SourceServerID", # required
|
|
732
|
-
# }
|
|
733
|
-
#
|
|
734
604
|
# @!attribute [rw] filters
|
|
735
605
|
# A set of filters by which to return Recovery Snapshots.
|
|
736
606
|
# @return [Types::DescribeRecoverySnapshotsRequestFilters]
|
|
@@ -765,14 +635,6 @@ module Aws::Drs
|
|
|
765
635
|
|
|
766
636
|
# A set of filters by which to return Recovery Snapshots.
|
|
767
637
|
#
|
|
768
|
-
# @note When making an API call, you may pass DescribeRecoverySnapshotsRequestFilters
|
|
769
|
-
# data as a hash:
|
|
770
|
-
#
|
|
771
|
-
# {
|
|
772
|
-
# from_date_time: "ISO8601DatetimeString",
|
|
773
|
-
# to_date_time: "ISO8601DatetimeString",
|
|
774
|
-
# }
|
|
775
|
-
#
|
|
776
638
|
# @!attribute [rw] from_date_time
|
|
777
639
|
# The start date in a date range query.
|
|
778
640
|
# @return [String]
|
|
@@ -807,15 +669,6 @@ module Aws::Drs
|
|
|
807
669
|
include Aws::Structure
|
|
808
670
|
end
|
|
809
671
|
|
|
810
|
-
# @note When making an API call, you may pass DescribeReplicationConfigurationTemplatesRequest
|
|
811
|
-
# data as a hash:
|
|
812
|
-
#
|
|
813
|
-
# {
|
|
814
|
-
# max_results: 1,
|
|
815
|
-
# next_token: "PaginationToken",
|
|
816
|
-
# replication_configuration_template_i_ds: ["ReplicationConfigurationTemplateID"],
|
|
817
|
-
# }
|
|
818
|
-
#
|
|
819
672
|
# @!attribute [rw] max_results
|
|
820
673
|
# Maximum number of Replication Configuration Templates to retrieve.
|
|
821
674
|
# @return [Integer]
|
|
@@ -858,19 +711,6 @@ module Aws::Drs
|
|
|
858
711
|
include Aws::Structure
|
|
859
712
|
end
|
|
860
713
|
|
|
861
|
-
# @note When making an API call, you may pass DescribeSourceServersRequest
|
|
862
|
-
# data as a hash:
|
|
863
|
-
#
|
|
864
|
-
# {
|
|
865
|
-
# filters: {
|
|
866
|
-
# hardware_id: "BoundedString",
|
|
867
|
-
# source_server_i_ds: ["SourceServerID"],
|
|
868
|
-
# staging_account_i_ds: ["AccountID"],
|
|
869
|
-
# },
|
|
870
|
-
# max_results: 1,
|
|
871
|
-
# next_token: "PaginationToken",
|
|
872
|
-
# }
|
|
873
|
-
#
|
|
874
714
|
# @!attribute [rw] filters
|
|
875
715
|
# A set of filters by which to return Source Servers.
|
|
876
716
|
# @return [Types::DescribeSourceServersRequestFilters]
|
|
@@ -895,15 +735,6 @@ module Aws::Drs
|
|
|
895
735
|
|
|
896
736
|
# A set of filters by which to return Source Servers.
|
|
897
737
|
#
|
|
898
|
-
# @note When making an API call, you may pass DescribeSourceServersRequestFilters
|
|
899
|
-
# data as a hash:
|
|
900
|
-
#
|
|
901
|
-
# {
|
|
902
|
-
# hardware_id: "BoundedString",
|
|
903
|
-
# source_server_i_ds: ["SourceServerID"],
|
|
904
|
-
# staging_account_i_ds: ["AccountID"],
|
|
905
|
-
# }
|
|
906
|
-
#
|
|
907
738
|
# @!attribute [rw] hardware_id
|
|
908
739
|
# An ID that describes the hardware of the Source Server. This is
|
|
909
740
|
# either an EC2 instance id, a VMware uuid or a mac address.
|
|
@@ -946,13 +777,6 @@ module Aws::Drs
|
|
|
946
777
|
include Aws::Structure
|
|
947
778
|
end
|
|
948
779
|
|
|
949
|
-
# @note When making an API call, you may pass DisconnectRecoveryInstanceRequest
|
|
950
|
-
# data as a hash:
|
|
951
|
-
#
|
|
952
|
-
# {
|
|
953
|
-
# recovery_instance_id: "RecoveryInstanceID", # required
|
|
954
|
-
# }
|
|
955
|
-
#
|
|
956
780
|
# @!attribute [rw] recovery_instance_id
|
|
957
781
|
# The ID of the Recovery Instance to disconnect.
|
|
958
782
|
# @return [String]
|
|
@@ -965,13 +789,6 @@ module Aws::Drs
|
|
|
965
789
|
include Aws::Structure
|
|
966
790
|
end
|
|
967
791
|
|
|
968
|
-
# @note When making an API call, you may pass DisconnectSourceServerRequest
|
|
969
|
-
# data as a hash:
|
|
970
|
-
#
|
|
971
|
-
# {
|
|
972
|
-
# source_server_id: "SourceServerID", # required
|
|
973
|
-
# }
|
|
974
|
-
#
|
|
975
792
|
# @!attribute [rw] source_server_id
|
|
976
793
|
# The ID of the Source Server to disconnect.
|
|
977
794
|
# @return [String]
|
|
@@ -1003,13 +820,6 @@ module Aws::Drs
|
|
|
1003
820
|
include Aws::Structure
|
|
1004
821
|
end
|
|
1005
822
|
|
|
1006
|
-
# @note When making an API call, you may pass GetFailbackReplicationConfigurationRequest
|
|
1007
|
-
# data as a hash:
|
|
1008
|
-
#
|
|
1009
|
-
# {
|
|
1010
|
-
# recovery_instance_id: "RecoveryInstanceID", # required
|
|
1011
|
-
# }
|
|
1012
|
-
#
|
|
1013
823
|
# @!attribute [rw] recovery_instance_id
|
|
1014
824
|
# The ID of the Recovery Instance whose failback replication
|
|
1015
825
|
# configuration should be returned.
|
|
@@ -1052,13 +862,6 @@ module Aws::Drs
|
|
|
1052
862
|
include Aws::Structure
|
|
1053
863
|
end
|
|
1054
864
|
|
|
1055
|
-
# @note When making an API call, you may pass GetLaunchConfigurationRequest
|
|
1056
|
-
# data as a hash:
|
|
1057
|
-
#
|
|
1058
|
-
# {
|
|
1059
|
-
# source_server_id: "SourceServerID", # required
|
|
1060
|
-
# }
|
|
1061
|
-
#
|
|
1062
865
|
# @!attribute [rw] source_server_id
|
|
1063
866
|
# The ID of the Source Server that we want to retrieve a Launch
|
|
1064
867
|
# Configuration for.
|
|
@@ -1072,13 +875,6 @@ module Aws::Drs
|
|
|
1072
875
|
include Aws::Structure
|
|
1073
876
|
end
|
|
1074
877
|
|
|
1075
|
-
# @note When making an API call, you may pass GetReplicationConfigurationRequest
|
|
1076
|
-
# data as a hash:
|
|
1077
|
-
#
|
|
1078
|
-
# {
|
|
1079
|
-
# source_server_id: "SourceServerID", # required
|
|
1080
|
-
# }
|
|
1081
|
-
#
|
|
1082
878
|
# @!attribute [rw] source_server_id
|
|
1083
879
|
# The ID of the Source Serve for this Replication Configuration.r
|
|
1084
880
|
# @return [String]
|
|
@@ -1317,13 +1113,6 @@ module Aws::Drs
|
|
|
1317
1113
|
|
|
1318
1114
|
# Configuration of a machine's license.
|
|
1319
1115
|
#
|
|
1320
|
-
# @note When making an API call, you may pass Licensing
|
|
1321
|
-
# data as a hash:
|
|
1322
|
-
#
|
|
1323
|
-
# {
|
|
1324
|
-
# os_byol: false,
|
|
1325
|
-
# }
|
|
1326
|
-
#
|
|
1327
1116
|
# @!attribute [rw] os_byol
|
|
1328
1117
|
# Whether to enable "Bring your own license" or not.
|
|
1329
1118
|
# @return [Boolean]
|
|
@@ -1381,10 +1170,15 @@ module Aws::Drs
|
|
|
1381
1170
|
# last launch of a Source Server.
|
|
1382
1171
|
# @return [Types::LifeCycleLastLaunchInitiated]
|
|
1383
1172
|
#
|
|
1173
|
+
# @!attribute [rw] status
|
|
1174
|
+
# Status of Source Server's last launch.
|
|
1175
|
+
# @return [String]
|
|
1176
|
+
#
|
|
1384
1177
|
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/LifeCycleLastLaunch AWS API Documentation
|
|
1385
1178
|
#
|
|
1386
1179
|
class LifeCycleLastLaunch < Struct.new(
|
|
1387
|
-
:initiated
|
|
1180
|
+
:initiated,
|
|
1181
|
+
:status)
|
|
1388
1182
|
SENSITIVE = []
|
|
1389
1183
|
include Aws::Structure
|
|
1390
1184
|
end
|
|
@@ -1414,15 +1208,6 @@ module Aws::Drs
|
|
|
1414
1208
|
include Aws::Structure
|
|
1415
1209
|
end
|
|
1416
1210
|
|
|
1417
|
-
# @note When making an API call, you may pass ListExtensibleSourceServersRequest
|
|
1418
|
-
# data as a hash:
|
|
1419
|
-
#
|
|
1420
|
-
# {
|
|
1421
|
-
# max_results: 1,
|
|
1422
|
-
# next_token: "PaginationToken",
|
|
1423
|
-
# staging_account_id: "AccountID", # required
|
|
1424
|
-
# }
|
|
1425
|
-
#
|
|
1426
1211
|
# @!attribute [rw] max_results
|
|
1427
1212
|
# The maximum number of extensible source servers to retrieve.
|
|
1428
1213
|
# @return [Integer]
|
|
@@ -1463,14 +1248,6 @@ module Aws::Drs
|
|
|
1463
1248
|
include Aws::Structure
|
|
1464
1249
|
end
|
|
1465
1250
|
|
|
1466
|
-
# @note When making an API call, you may pass ListStagingAccountsRequest
|
|
1467
|
-
# data as a hash:
|
|
1468
|
-
#
|
|
1469
|
-
# {
|
|
1470
|
-
# max_results: 1,
|
|
1471
|
-
# next_token: "PaginationToken",
|
|
1472
|
-
# }
|
|
1473
|
-
#
|
|
1474
1251
|
# @!attribute [rw] max_results
|
|
1475
1252
|
# The maximum number of staging Accounts to retrieve.
|
|
1476
1253
|
# @return [Integer]
|
|
@@ -1505,13 +1282,6 @@ module Aws::Drs
|
|
|
1505
1282
|
include Aws::Structure
|
|
1506
1283
|
end
|
|
1507
1284
|
|
|
1508
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
|
1509
|
-
# data as a hash:
|
|
1510
|
-
#
|
|
1511
|
-
# {
|
|
1512
|
-
# resource_arn: "ARN", # required
|
|
1513
|
-
# }
|
|
1514
|
-
#
|
|
1515
1285
|
# @!attribute [rw] resource_arn
|
|
1516
1286
|
# The ARN of the resource whose tags should be returned.
|
|
1517
1287
|
# @return [String]
|
|
@@ -1577,17 +1347,6 @@ module Aws::Drs
|
|
|
1577
1347
|
# A rule in the Point in Time (PIT) policy representing when to take
|
|
1578
1348
|
# snapshots and how long to retain them for.
|
|
1579
1349
|
#
|
|
1580
|
-
# @note When making an API call, you may pass PITPolicyRule
|
|
1581
|
-
# data as a hash:
|
|
1582
|
-
#
|
|
1583
|
-
# {
|
|
1584
|
-
# enabled: false,
|
|
1585
|
-
# interval: 1, # required
|
|
1586
|
-
# retention_duration: 1, # required
|
|
1587
|
-
# rule_id: 1,
|
|
1588
|
-
# units: "MINUTE", # required, accepts MINUTE, HOUR, DAY
|
|
1589
|
-
# }
|
|
1590
|
-
#
|
|
1591
1350
|
# @!attribute [rw] enabled
|
|
1592
1351
|
# Whether this rule is enabled or not.
|
|
1593
1352
|
# @return [Boolean]
|
|
@@ -1676,6 +1435,10 @@ module Aws::Drs
|
|
|
1676
1435
|
# The ID of the Job that created the Recovery Instance.
|
|
1677
1436
|
# @return [String]
|
|
1678
1437
|
#
|
|
1438
|
+
# @!attribute [rw] origin_availability_zone
|
|
1439
|
+
# AWS availability zone associated with the recovery instance.
|
|
1440
|
+
# @return [String]
|
|
1441
|
+
#
|
|
1679
1442
|
# @!attribute [rw] origin_environment
|
|
1680
1443
|
# Environment (On Premises / AWS) of the instance that the recovery
|
|
1681
1444
|
# instance originated from.
|
|
@@ -1712,6 +1475,7 @@ module Aws::Drs
|
|
|
1712
1475
|
:failback,
|
|
1713
1476
|
:is_drill,
|
|
1714
1477
|
:job_id,
|
|
1478
|
+
:origin_availability_zone,
|
|
1715
1479
|
:origin_environment,
|
|
1716
1480
|
:point_in_time_snapshot_date_time,
|
|
1717
1481
|
:recovery_instance_id,
|
|
@@ -1767,6 +1531,10 @@ module Aws::Drs
|
|
|
1767
1531
|
# The disks that should be replicated.
|
|
1768
1532
|
# @return [Array<Types::RecoveryInstanceDataReplicationInfoReplicatedDisk>]
|
|
1769
1533
|
#
|
|
1534
|
+
# @!attribute [rw] staging_availability_zone
|
|
1535
|
+
# AWS Availability zone into which data is being replicated.
|
|
1536
|
+
# @return [String]
|
|
1537
|
+
#
|
|
1770
1538
|
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryInstanceDataReplicationInfo AWS API Documentation
|
|
1771
1539
|
#
|
|
1772
1540
|
class RecoveryInstanceDataReplicationInfo < Struct.new(
|
|
@@ -1775,7 +1543,8 @@ module Aws::Drs
|
|
|
1775
1543
|
:data_replication_state,
|
|
1776
1544
|
:eta_date_time,
|
|
1777
1545
|
:lag_duration,
|
|
1778
|
-
:replicated_disks
|
|
1546
|
+
:replicated_disks,
|
|
1547
|
+
:staging_availability_zone)
|
|
1779
1548
|
SENSITIVE = []
|
|
1780
1549
|
include Aws::Structure
|
|
1781
1550
|
end
|
|
@@ -2121,18 +1890,6 @@ module Aws::Drs
|
|
|
2121
1890
|
|
|
2122
1891
|
# The configuration of a disk of the Source Server to be replicated.
|
|
2123
1892
|
#
|
|
2124
|
-
# @note When making an API call, you may pass ReplicationConfigurationReplicatedDisk
|
|
2125
|
-
# data as a hash:
|
|
2126
|
-
#
|
|
2127
|
-
# {
|
|
2128
|
-
# device_name: "BoundedString",
|
|
2129
|
-
# iops: 1,
|
|
2130
|
-
# is_boot_disk: false,
|
|
2131
|
-
# optimized_staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
|
|
2132
|
-
# staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
|
|
2133
|
-
# throughput: 1,
|
|
2134
|
-
# }
|
|
2135
|
-
#
|
|
2136
1893
|
# @!attribute [rw] device_name
|
|
2137
1894
|
# The name of the device.
|
|
2138
1895
|
# @return [String]
|
|
@@ -2146,9 +1903,8 @@ module Aws::Drs
|
|
|
2146
1903
|
# @return [Boolean]
|
|
2147
1904
|
#
|
|
2148
1905
|
# @!attribute [rw] optimized_staging_disk_type
|
|
2149
|
-
#
|
|
2150
|
-
#
|
|
2151
|
-
# 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.
|
|
2152
1908
|
# @return [String]
|
|
2153
1909
|
#
|
|
2154
1910
|
# @!attribute [rw] staging_disk_type
|
|
@@ -2294,13 +2050,6 @@ module Aws::Drs
|
|
|
2294
2050
|
include Aws::Structure
|
|
2295
2051
|
end
|
|
2296
2052
|
|
|
2297
|
-
# @note When making an API call, you may pass RetryDataReplicationRequest
|
|
2298
|
-
# data as a hash:
|
|
2299
|
-
#
|
|
2300
|
-
# {
|
|
2301
|
-
# source_server_id: "SourceServerID", # required
|
|
2302
|
-
# }
|
|
2303
|
-
#
|
|
2304
2053
|
# @!attribute [rw] source_server_id
|
|
2305
2054
|
# The ID of the Source Server whose data replication should be
|
|
2306
2055
|
# retried.
|
|
@@ -2314,13 +2063,6 @@ module Aws::Drs
|
|
|
2314
2063
|
include Aws::Structure
|
|
2315
2064
|
end
|
|
2316
2065
|
|
|
2317
|
-
# @note When making an API call, you may pass ReverseReplicationRequest
|
|
2318
|
-
# data as a hash:
|
|
2319
|
-
#
|
|
2320
|
-
# {
|
|
2321
|
-
# recovery_instance_id: "RecoveryInstanceID", # required
|
|
2322
|
-
# }
|
|
2323
|
-
#
|
|
2324
2066
|
# @!attribute [rw] recovery_instance_id
|
|
2325
2067
|
# The ID of the Recovery Instance that we want to reverse the
|
|
2326
2068
|
# replication for.
|
|
@@ -2593,16 +2335,6 @@ module Aws::Drs
|
|
|
2593
2335
|
include Aws::Structure
|
|
2594
2336
|
end
|
|
2595
2337
|
|
|
2596
|
-
# @note When making an API call, you may pass StartFailbackLaunchRequest
|
|
2597
|
-
# data as a hash:
|
|
2598
|
-
#
|
|
2599
|
-
# {
|
|
2600
|
-
# recovery_instance_i_ds: ["RecoveryInstanceID"], # required
|
|
2601
|
-
# tags: {
|
|
2602
|
-
# "TagKey" => "TagValue",
|
|
2603
|
-
# },
|
|
2604
|
-
# }
|
|
2605
|
-
#
|
|
2606
2338
|
# @!attribute [rw] recovery_instance_i_ds
|
|
2607
2339
|
# The IDs of the Recovery Instance whose failback launch we want to
|
|
2608
2340
|
# request.
|
|
@@ -2633,22 +2365,6 @@ module Aws::Drs
|
|
|
2633
2365
|
include Aws::Structure
|
|
2634
2366
|
end
|
|
2635
2367
|
|
|
2636
|
-
# @note When making an API call, you may pass StartRecoveryRequest
|
|
2637
|
-
# data as a hash:
|
|
2638
|
-
#
|
|
2639
|
-
# {
|
|
2640
|
-
# is_drill: false,
|
|
2641
|
-
# source_servers: [ # required
|
|
2642
|
-
# {
|
|
2643
|
-
# recovery_snapshot_id: "RecoverySnapshotID",
|
|
2644
|
-
# source_server_id: "SourceServerID", # required
|
|
2645
|
-
# },
|
|
2646
|
-
# ],
|
|
2647
|
-
# tags: {
|
|
2648
|
-
# "TagKey" => "TagValue",
|
|
2649
|
-
# },
|
|
2650
|
-
# }
|
|
2651
|
-
#
|
|
2652
2368
|
# @!attribute [rw] is_drill
|
|
2653
2369
|
# Whether this Source Server Recovery operation is a drill or not.
|
|
2654
2370
|
# @return [Boolean]
|
|
@@ -2673,14 +2389,6 @@ module Aws::Drs
|
|
|
2673
2389
|
|
|
2674
2390
|
# An object representing the Source Server to recover.
|
|
2675
2391
|
#
|
|
2676
|
-
# @note When making an API call, you may pass StartRecoveryRequestSourceServer
|
|
2677
|
-
# data as a hash:
|
|
2678
|
-
#
|
|
2679
|
-
# {
|
|
2680
|
-
# recovery_snapshot_id: "RecoverySnapshotID",
|
|
2681
|
-
# source_server_id: "SourceServerID", # required
|
|
2682
|
-
# }
|
|
2683
|
-
#
|
|
2684
2392
|
# @!attribute [rw] recovery_snapshot_id
|
|
2685
2393
|
# The ID of a Recovery Snapshot we want to recover from. Omit this
|
|
2686
2394
|
# field to launch from the latest data by taking an on-demand
|
|
@@ -2712,13 +2420,6 @@ module Aws::Drs
|
|
|
2712
2420
|
include Aws::Structure
|
|
2713
2421
|
end
|
|
2714
2422
|
|
|
2715
|
-
# @note When making an API call, you may pass StartReplicationRequest
|
|
2716
|
-
# data as a hash:
|
|
2717
|
-
#
|
|
2718
|
-
# {
|
|
2719
|
-
# source_server_id: "SourceServerID", # required
|
|
2720
|
-
# }
|
|
2721
|
-
#
|
|
2722
2423
|
# @!attribute [rw] source_server_id
|
|
2723
2424
|
# The ID of the Source Server to start replication for.
|
|
2724
2425
|
# @return [String]
|
|
@@ -2743,13 +2444,6 @@ module Aws::Drs
|
|
|
2743
2444
|
include Aws::Structure
|
|
2744
2445
|
end
|
|
2745
2446
|
|
|
2746
|
-
# @note When making an API call, you may pass StopFailbackRequest
|
|
2747
|
-
# data as a hash:
|
|
2748
|
-
#
|
|
2749
|
-
# {
|
|
2750
|
-
# recovery_instance_id: "RecoveryInstanceID", # required
|
|
2751
|
-
# }
|
|
2752
|
-
#
|
|
2753
2447
|
# @!attribute [rw] recovery_instance_id
|
|
2754
2448
|
# The ID of the Recovery Instance we want to stop failback for.
|
|
2755
2449
|
# @return [String]
|
|
@@ -2762,13 +2456,6 @@ module Aws::Drs
|
|
|
2762
2456
|
include Aws::Structure
|
|
2763
2457
|
end
|
|
2764
2458
|
|
|
2765
|
-
# @note When making an API call, you may pass StopReplicationRequest
|
|
2766
|
-
# data as a hash:
|
|
2767
|
-
#
|
|
2768
|
-
# {
|
|
2769
|
-
# source_server_id: "SourceServerID", # required
|
|
2770
|
-
# }
|
|
2771
|
-
#
|
|
2772
2459
|
# @!attribute [rw] source_server_id
|
|
2773
2460
|
# The ID of the Source Server to stop replication for.
|
|
2774
2461
|
# @return [String]
|
|
@@ -2793,16 +2480,6 @@ module Aws::Drs
|
|
|
2793
2480
|
include Aws::Structure
|
|
2794
2481
|
end
|
|
2795
2482
|
|
|
2796
|
-
# @note When making an API call, you may pass TagResourceRequest
|
|
2797
|
-
# data as a hash:
|
|
2798
|
-
#
|
|
2799
|
-
# {
|
|
2800
|
-
# resource_arn: "ARN", # required
|
|
2801
|
-
# tags: { # required
|
|
2802
|
-
# "TagKey" => "TagValue",
|
|
2803
|
-
# },
|
|
2804
|
-
# }
|
|
2805
|
-
#
|
|
2806
2483
|
# @!attribute [rw] resource_arn
|
|
2807
2484
|
# ARN of the resource for which tags are to be added or updated.
|
|
2808
2485
|
# @return [String]
|
|
@@ -2820,13 +2497,6 @@ module Aws::Drs
|
|
|
2820
2497
|
include Aws::Structure
|
|
2821
2498
|
end
|
|
2822
2499
|
|
|
2823
|
-
# @note When making an API call, you may pass TerminateRecoveryInstancesRequest
|
|
2824
|
-
# data as a hash:
|
|
2825
|
-
#
|
|
2826
|
-
# {
|
|
2827
|
-
# recovery_instance_i_ds: ["RecoveryInstanceID"], # required
|
|
2828
|
-
# }
|
|
2829
|
-
#
|
|
2830
2500
|
# @!attribute [rw] recovery_instance_i_ds
|
|
2831
2501
|
# The IDs of the Recovery Instances that should be terminated.
|
|
2832
2502
|
# @return [Array<String>]
|
|
@@ -2897,14 +2567,6 @@ module Aws::Drs
|
|
|
2897
2567
|
include Aws::Structure
|
|
2898
2568
|
end
|
|
2899
2569
|
|
|
2900
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
|
2901
|
-
# data as a hash:
|
|
2902
|
-
#
|
|
2903
|
-
# {
|
|
2904
|
-
# resource_arn: "ARN", # required
|
|
2905
|
-
# tag_keys: ["TagKey"], # required
|
|
2906
|
-
# }
|
|
2907
|
-
#
|
|
2908
2570
|
# @!attribute [rw] resource_arn
|
|
2909
2571
|
# ARN of the resource for which tags are to be removed.
|
|
2910
2572
|
# @return [String]
|
|
@@ -2922,16 +2584,6 @@ module Aws::Drs
|
|
|
2922
2584
|
include Aws::Structure
|
|
2923
2585
|
end
|
|
2924
2586
|
|
|
2925
|
-
# @note When making an API call, you may pass UpdateFailbackReplicationConfigurationRequest
|
|
2926
|
-
# data as a hash:
|
|
2927
|
-
#
|
|
2928
|
-
# {
|
|
2929
|
-
# bandwidth_throttling: 1,
|
|
2930
|
-
# name: "BoundedString",
|
|
2931
|
-
# recovery_instance_id: "RecoveryInstanceID", # required
|
|
2932
|
-
# use_private_ip: false,
|
|
2933
|
-
# }
|
|
2934
|
-
#
|
|
2935
2587
|
# @!attribute [rw] bandwidth_throttling
|
|
2936
2588
|
# Configure bandwidth throttling for the outbound data transfer rate
|
|
2937
2589
|
# of the Recovery Instance in Mbps.
|
|
@@ -2961,21 +2613,6 @@ module Aws::Drs
|
|
|
2961
2613
|
include Aws::Structure
|
|
2962
2614
|
end
|
|
2963
2615
|
|
|
2964
|
-
# @note When making an API call, you may pass UpdateLaunchConfigurationRequest
|
|
2965
|
-
# data as a hash:
|
|
2966
|
-
#
|
|
2967
|
-
# {
|
|
2968
|
-
# copy_private_ip: false,
|
|
2969
|
-
# copy_tags: false,
|
|
2970
|
-
# launch_disposition: "STOPPED", # accepts STOPPED, STARTED
|
|
2971
|
-
# licensing: {
|
|
2972
|
-
# os_byol: false,
|
|
2973
|
-
# },
|
|
2974
|
-
# name: "SmallBoundedString",
|
|
2975
|
-
# source_server_id: "SourceServerID", # required
|
|
2976
|
-
# target_instance_type_right_sizing_method: "NONE", # accepts NONE, BASIC
|
|
2977
|
-
# }
|
|
2978
|
-
#
|
|
2979
2616
|
# @!attribute [rw] copy_private_ip
|
|
2980
2617
|
# Whether we should copy the Private IP of the Source Server to the
|
|
2981
2618
|
# Recovery Instance.
|
|
@@ -3025,47 +2662,6 @@ module Aws::Drs
|
|
|
3025
2662
|
include Aws::Structure
|
|
3026
2663
|
end
|
|
3027
2664
|
|
|
3028
|
-
# @note When making an API call, you may pass UpdateReplicationConfigurationRequest
|
|
3029
|
-
# data as a hash:
|
|
3030
|
-
#
|
|
3031
|
-
# {
|
|
3032
|
-
# associate_default_security_group: false,
|
|
3033
|
-
# bandwidth_throttling: 1,
|
|
3034
|
-
# create_public_ip: false,
|
|
3035
|
-
# data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
|
|
3036
|
-
# default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1, AUTO
|
|
3037
|
-
# ebs_encryption: "DEFAULT", # accepts DEFAULT, CUSTOM
|
|
3038
|
-
# ebs_encryption_key_arn: "ARN",
|
|
3039
|
-
# name: "SmallBoundedString",
|
|
3040
|
-
# pit_policy: [
|
|
3041
|
-
# {
|
|
3042
|
-
# enabled: false,
|
|
3043
|
-
# interval: 1, # required
|
|
3044
|
-
# retention_duration: 1, # required
|
|
3045
|
-
# rule_id: 1,
|
|
3046
|
-
# units: "MINUTE", # required, accepts MINUTE, HOUR, DAY
|
|
3047
|
-
# },
|
|
3048
|
-
# ],
|
|
3049
|
-
# replicated_disks: [
|
|
3050
|
-
# {
|
|
3051
|
-
# device_name: "BoundedString",
|
|
3052
|
-
# iops: 1,
|
|
3053
|
-
# is_boot_disk: false,
|
|
3054
|
-
# optimized_staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
|
|
3055
|
-
# staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
|
|
3056
|
-
# throughput: 1,
|
|
3057
|
-
# },
|
|
3058
|
-
# ],
|
|
3059
|
-
# replication_server_instance_type: "EC2InstanceType",
|
|
3060
|
-
# replication_servers_security_groups_i_ds: ["SecurityGroupID"],
|
|
3061
|
-
# source_server_id: "SourceServerID", # required
|
|
3062
|
-
# staging_area_subnet_id: "SubnetID",
|
|
3063
|
-
# staging_area_tags: {
|
|
3064
|
-
# "TagKey" => "TagValue",
|
|
3065
|
-
# },
|
|
3066
|
-
# use_dedicated_replication_server: false,
|
|
3067
|
-
# }
|
|
3068
|
-
#
|
|
3069
2665
|
# @!attribute [rw] associate_default_security_group
|
|
3070
2666
|
# Whether to associate the default Elastic Disaster Recovery Security
|
|
3071
2667
|
# group with the Replication Configuration.
|
|
@@ -3160,37 +2756,6 @@ module Aws::Drs
|
|
|
3160
2756
|
include Aws::Structure
|
|
3161
2757
|
end
|
|
3162
2758
|
|
|
3163
|
-
# @note When making an API call, you may pass UpdateReplicationConfigurationTemplateRequest
|
|
3164
|
-
# data as a hash:
|
|
3165
|
-
#
|
|
3166
|
-
# {
|
|
3167
|
-
# arn: "ARN",
|
|
3168
|
-
# associate_default_security_group: false,
|
|
3169
|
-
# bandwidth_throttling: 1,
|
|
3170
|
-
# create_public_ip: false,
|
|
3171
|
-
# data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
|
|
3172
|
-
# default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1, AUTO
|
|
3173
|
-
# ebs_encryption: "DEFAULT", # accepts DEFAULT, CUSTOM
|
|
3174
|
-
# ebs_encryption_key_arn: "ARN",
|
|
3175
|
-
# pit_policy: [
|
|
3176
|
-
# {
|
|
3177
|
-
# enabled: false,
|
|
3178
|
-
# interval: 1, # required
|
|
3179
|
-
# retention_duration: 1, # required
|
|
3180
|
-
# rule_id: 1,
|
|
3181
|
-
# units: "MINUTE", # required, accepts MINUTE, HOUR, DAY
|
|
3182
|
-
# },
|
|
3183
|
-
# ],
|
|
3184
|
-
# replication_configuration_template_id: "ReplicationConfigurationTemplateID", # required
|
|
3185
|
-
# replication_server_instance_type: "EC2InstanceType",
|
|
3186
|
-
# replication_servers_security_groups_i_ds: ["SecurityGroupID"],
|
|
3187
|
-
# staging_area_subnet_id: "SubnetID",
|
|
3188
|
-
# staging_area_tags: {
|
|
3189
|
-
# "TagKey" => "TagValue",
|
|
3190
|
-
# },
|
|
3191
|
-
# use_dedicated_replication_server: false,
|
|
3192
|
-
# }
|
|
3193
|
-
#
|
|
3194
2759
|
# @!attribute [rw] arn
|
|
3195
2760
|
# The Replication Configuration Template ARN.
|
|
3196
2761
|
# @return [String]
|
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:
|
|
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
|