aws-sdk-drs 1.14.0 → 1.15.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-drs/client.rb +394 -14
- data/lib/aws-sdk-drs/client_api.rb +270 -0
- data/lib/aws-sdk-drs/endpoints.rb +112 -0
- data/lib/aws-sdk-drs/plugins/endpoints.rb +16 -0
- data/lib/aws-sdk-drs/types.rb +492 -0
- data/lib/aws-sdk-drs.rb +2 -2
- metadata +2 -2
data/lib/aws-sdk-drs/types.rb
CHANGED
@@ -41,6 +41,35 @@ module Aws::Drs
|
|
41
41
|
include Aws::Structure
|
42
42
|
end
|
43
43
|
|
44
|
+
# @!attribute [rw] cfn_stack_name
|
45
|
+
# CloudFormation template to associate with a Source Network.
|
46
|
+
# @return [String]
|
47
|
+
#
|
48
|
+
# @!attribute [rw] source_network_id
|
49
|
+
# The Source Network ID to associate with CloudFormation template.
|
50
|
+
# @return [String]
|
51
|
+
#
|
52
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/AssociateSourceNetworkStackRequest AWS API Documentation
|
53
|
+
#
|
54
|
+
class AssociateSourceNetworkStackRequest < Struct.new(
|
55
|
+
:cfn_stack_name,
|
56
|
+
:source_network_id)
|
57
|
+
SENSITIVE = [:cfn_stack_name]
|
58
|
+
include Aws::Structure
|
59
|
+
end
|
60
|
+
|
61
|
+
# @!attribute [rw] job
|
62
|
+
# The Source Network association Job.
|
63
|
+
# @return [Types::Job]
|
64
|
+
#
|
65
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/AssociateSourceNetworkStackResponse AWS API Documentation
|
66
|
+
#
|
67
|
+
class AssociateSourceNetworkStackResponse < Struct.new(
|
68
|
+
:job)
|
69
|
+
SENSITIVE = []
|
70
|
+
include Aws::Structure
|
71
|
+
end
|
72
|
+
|
44
73
|
# Information about a server's CPU.
|
45
74
|
#
|
46
75
|
# @!attribute [rw] cores
|
@@ -161,6 +190,10 @@ module Aws::Drs
|
|
161
190
|
# Copy tags.
|
162
191
|
# @return [Boolean]
|
163
192
|
#
|
193
|
+
# @!attribute [rw] export_bucket_arn
|
194
|
+
# S3 bucket ARN to export Source Network templates.
|
195
|
+
# @return [String]
|
196
|
+
#
|
164
197
|
# @!attribute [rw] launch_disposition
|
165
198
|
# Launch disposition.
|
166
199
|
# @return [String]
|
@@ -183,6 +216,7 @@ module Aws::Drs
|
|
183
216
|
class CreateLaunchConfigurationTemplateRequest < Struct.new(
|
184
217
|
:copy_private_ip,
|
185
218
|
:copy_tags,
|
219
|
+
:export_bucket_arn,
|
186
220
|
:launch_disposition,
|
187
221
|
:licensing,
|
188
222
|
:tags,
|
@@ -293,6 +327,45 @@ module Aws::Drs
|
|
293
327
|
include Aws::Structure
|
294
328
|
end
|
295
329
|
|
330
|
+
# @!attribute [rw] origin_account_id
|
331
|
+
# Account containing the VPC to protect.
|
332
|
+
# @return [String]
|
333
|
+
#
|
334
|
+
# @!attribute [rw] origin_region
|
335
|
+
# Region containing the VPC to protect.
|
336
|
+
# @return [String]
|
337
|
+
#
|
338
|
+
# @!attribute [rw] tags
|
339
|
+
# A set of tags to be associated with the Source Network resource.
|
340
|
+
# @return [Hash<String,String>]
|
341
|
+
#
|
342
|
+
# @!attribute [rw] vpc_id
|
343
|
+
# Which VPC ID to protect.
|
344
|
+
# @return [String]
|
345
|
+
#
|
346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateSourceNetworkRequest AWS API Documentation
|
347
|
+
#
|
348
|
+
class CreateSourceNetworkRequest < Struct.new(
|
349
|
+
:origin_account_id,
|
350
|
+
:origin_region,
|
351
|
+
:tags,
|
352
|
+
:vpc_id)
|
353
|
+
SENSITIVE = [:tags]
|
354
|
+
include Aws::Structure
|
355
|
+
end
|
356
|
+
|
357
|
+
# @!attribute [rw] source_network_id
|
358
|
+
# ID of the created Source Network.
|
359
|
+
# @return [String]
|
360
|
+
#
|
361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateSourceNetworkResponse AWS API Documentation
|
362
|
+
#
|
363
|
+
class CreateSourceNetworkResponse < Struct.new(
|
364
|
+
:source_network_id)
|
365
|
+
SENSITIVE = []
|
366
|
+
include Aws::Structure
|
367
|
+
end
|
368
|
+
|
296
369
|
# Error in data replication.
|
297
370
|
#
|
298
371
|
# @!attribute [rw] error
|
@@ -494,6 +567,22 @@ module Aws::Drs
|
|
494
567
|
#
|
495
568
|
class DeleteReplicationConfigurationTemplateResponse < Aws::EmptyStructure; end
|
496
569
|
|
570
|
+
# @!attribute [rw] source_network_id
|
571
|
+
# ID of the Source Network to delete.
|
572
|
+
# @return [String]
|
573
|
+
#
|
574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteSourceNetworkRequest AWS API Documentation
|
575
|
+
#
|
576
|
+
class DeleteSourceNetworkRequest < Struct.new(
|
577
|
+
:source_network_id)
|
578
|
+
SENSITIVE = []
|
579
|
+
include Aws::Structure
|
580
|
+
end
|
581
|
+
|
582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteSourceNetworkResponse AWS API Documentation
|
583
|
+
#
|
584
|
+
class DeleteSourceNetworkResponse < Aws::EmptyStructure; end
|
585
|
+
|
497
586
|
# @!attribute [rw] source_server_id
|
498
587
|
# The ID of the Source Server to be deleted.
|
499
588
|
# @return [String]
|
@@ -824,6 +913,70 @@ module Aws::Drs
|
|
824
913
|
include Aws::Structure
|
825
914
|
end
|
826
915
|
|
916
|
+
# @!attribute [rw] filters
|
917
|
+
# A set of filters by which to return Source Networks.
|
918
|
+
# @return [Types::DescribeSourceNetworksRequestFilters]
|
919
|
+
#
|
920
|
+
# @!attribute [rw] max_results
|
921
|
+
# Maximum number of Source Networks to retrieve.
|
922
|
+
# @return [Integer]
|
923
|
+
#
|
924
|
+
# @!attribute [rw] next_token
|
925
|
+
# The token of the next Source Networks to retrieve.
|
926
|
+
# @return [String]
|
927
|
+
#
|
928
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeSourceNetworksRequest AWS API Documentation
|
929
|
+
#
|
930
|
+
class DescribeSourceNetworksRequest < Struct.new(
|
931
|
+
:filters,
|
932
|
+
:max_results,
|
933
|
+
:next_token)
|
934
|
+
SENSITIVE = []
|
935
|
+
include Aws::Structure
|
936
|
+
end
|
937
|
+
|
938
|
+
# A set of filters by which to return Source Networks.
|
939
|
+
#
|
940
|
+
# @!attribute [rw] origin_account_id
|
941
|
+
# Filter Source Networks by account ID containing the protected VPCs.
|
942
|
+
# @return [String]
|
943
|
+
#
|
944
|
+
# @!attribute [rw] origin_region
|
945
|
+
# Filter Source Networks by the region containing the protected VPCs.
|
946
|
+
# @return [String]
|
947
|
+
#
|
948
|
+
# @!attribute [rw] source_network_i_ds
|
949
|
+
# An array of Source Network IDs that should be returned. An empty
|
950
|
+
# array means all Source Networks.
|
951
|
+
# @return [Array<String>]
|
952
|
+
#
|
953
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeSourceNetworksRequestFilters AWS API Documentation
|
954
|
+
#
|
955
|
+
class DescribeSourceNetworksRequestFilters < Struct.new(
|
956
|
+
:origin_account_id,
|
957
|
+
:origin_region,
|
958
|
+
:source_network_i_ds)
|
959
|
+
SENSITIVE = []
|
960
|
+
include Aws::Structure
|
961
|
+
end
|
962
|
+
|
963
|
+
# @!attribute [rw] items
|
964
|
+
# An array of Source Networks.
|
965
|
+
# @return [Array<Types::SourceNetwork>]
|
966
|
+
#
|
967
|
+
# @!attribute [rw] next_token
|
968
|
+
# The token of the next Source Networks to retrieve.
|
969
|
+
# @return [String]
|
970
|
+
#
|
971
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeSourceNetworksResponse AWS API Documentation
|
972
|
+
#
|
973
|
+
class DescribeSourceNetworksResponse < Struct.new(
|
974
|
+
:items,
|
975
|
+
:next_token)
|
976
|
+
SENSITIVE = []
|
977
|
+
include Aws::Structure
|
978
|
+
end
|
979
|
+
|
827
980
|
# @!attribute [rw] filters
|
828
981
|
# A set of filters by which to return Source Servers.
|
829
982
|
# @return [Types::DescribeSourceServersRequestFilters]
|
@@ -933,6 +1086,53 @@ module Aws::Drs
|
|
933
1086
|
include Aws::Structure
|
934
1087
|
end
|
935
1088
|
|
1089
|
+
# Properties of resource related to a job event.
|
1090
|
+
#
|
1091
|
+
# @note EventResourceData is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EventResourceData corresponding to the set member.
|
1092
|
+
#
|
1093
|
+
# @!attribute [rw] source_network_data
|
1094
|
+
# Source Network properties.
|
1095
|
+
# @return [Types::SourceNetworkData]
|
1096
|
+
#
|
1097
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/EventResourceData AWS API Documentation
|
1098
|
+
#
|
1099
|
+
class EventResourceData < Struct.new(
|
1100
|
+
:source_network_data,
|
1101
|
+
:unknown)
|
1102
|
+
SENSITIVE = []
|
1103
|
+
include Aws::Structure
|
1104
|
+
include Aws::Structure::Union
|
1105
|
+
|
1106
|
+
class SourceNetworkData < EventResourceData; end
|
1107
|
+
class Unknown < EventResourceData; end
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
# @!attribute [rw] source_network_id
|
1111
|
+
# The Source Network ID to export its CloudFormation template to an S3
|
1112
|
+
# bucket.
|
1113
|
+
# @return [String]
|
1114
|
+
#
|
1115
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ExportSourceNetworkCfnTemplateRequest AWS API Documentation
|
1116
|
+
#
|
1117
|
+
class ExportSourceNetworkCfnTemplateRequest < Struct.new(
|
1118
|
+
:source_network_id)
|
1119
|
+
SENSITIVE = []
|
1120
|
+
include Aws::Structure
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
# @!attribute [rw] s3_destination_url
|
1124
|
+
# S3 bucket URL where the Source Network CloudFormation template was
|
1125
|
+
# exported to.
|
1126
|
+
# @return [String]
|
1127
|
+
#
|
1128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ExportSourceNetworkCfnTemplateResponse AWS API Documentation
|
1129
|
+
#
|
1130
|
+
class ExportSourceNetworkCfnTemplateResponse < Struct.new(
|
1131
|
+
:s3_destination_url)
|
1132
|
+
SENSITIVE = []
|
1133
|
+
include Aws::Structure
|
1134
|
+
end
|
1135
|
+
|
936
1136
|
# @!attribute [rw] recovery_instance_id
|
937
1137
|
# The ID of the Recovery Instance whose failback replication
|
938
1138
|
# configuration should be returned.
|
@@ -1081,6 +1281,10 @@ module Aws::Drs
|
|
1081
1281
|
# The ID of the Job.
|
1082
1282
|
# @return [String]
|
1083
1283
|
#
|
1284
|
+
# @!attribute [rw] participating_resources
|
1285
|
+
# A list of resources that the Job is acting upon.
|
1286
|
+
# @return [Array<Types::ParticipatingResource>]
|
1287
|
+
#
|
1084
1288
|
# @!attribute [rw] participating_servers
|
1085
1289
|
# A list of servers that the Job is acting upon.
|
1086
1290
|
# @return [Array<Types::ParticipatingServer>]
|
@@ -1105,6 +1309,7 @@ module Aws::Drs
|
|
1105
1309
|
:end_date_time,
|
1106
1310
|
:initiated_by,
|
1107
1311
|
:job_id,
|
1312
|
+
:participating_resources,
|
1108
1313
|
:participating_servers,
|
1109
1314
|
:status,
|
1110
1315
|
:tags,
|
@@ -1147,6 +1352,10 @@ module Aws::Drs
|
|
1147
1352
|
# The ID of a conversion server.
|
1148
1353
|
# @return [String]
|
1149
1354
|
#
|
1355
|
+
# @!attribute [rw] event_resource_data
|
1356
|
+
# Properties of resource related to a job event.
|
1357
|
+
# @return [Types::EventResourceData]
|
1358
|
+
#
|
1150
1359
|
# @!attribute [rw] raw_error
|
1151
1360
|
# A string representing a job error.
|
1152
1361
|
# @return [String]
|
@@ -1164,6 +1373,7 @@ module Aws::Drs
|
|
1164
1373
|
class JobLogEventData < Struct.new(
|
1165
1374
|
:conversion_properties,
|
1166
1375
|
:conversion_server_id,
|
1376
|
+
:event_resource_data,
|
1167
1377
|
:raw_error,
|
1168
1378
|
:source_server_id,
|
1169
1379
|
:target_instance_id)
|
@@ -1238,6 +1448,10 @@ module Aws::Drs
|
|
1238
1448
|
# Copy tags.
|
1239
1449
|
# @return [Boolean]
|
1240
1450
|
#
|
1451
|
+
# @!attribute [rw] export_bucket_arn
|
1452
|
+
# S3 bucket ARN to export Source Network templates.
|
1453
|
+
# @return [String]
|
1454
|
+
#
|
1241
1455
|
# @!attribute [rw] launch_configuration_template_id
|
1242
1456
|
# ID of the Launch Configuration Template.
|
1243
1457
|
# @return [String]
|
@@ -1264,6 +1478,7 @@ module Aws::Drs
|
|
1264
1478
|
:arn,
|
1265
1479
|
:copy_private_ip,
|
1266
1480
|
:copy_tags,
|
1481
|
+
:export_bucket_arn,
|
1267
1482
|
:launch_configuration_template_id,
|
1268
1483
|
:launch_disposition,
|
1269
1484
|
:licensing,
|
@@ -1541,6 +1756,46 @@ module Aws::Drs
|
|
1541
1756
|
include Aws::Structure
|
1542
1757
|
end
|
1543
1758
|
|
1759
|
+
# Represents a resource participating in an asynchronous Job.
|
1760
|
+
#
|
1761
|
+
# @!attribute [rw] launch_status
|
1762
|
+
# The launch status of a participating resource.
|
1763
|
+
# @return [String]
|
1764
|
+
#
|
1765
|
+
# @!attribute [rw] participating_resource_id
|
1766
|
+
# The ID of a participating resource.
|
1767
|
+
# @return [Types::ParticipatingResourceID]
|
1768
|
+
#
|
1769
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ParticipatingResource AWS API Documentation
|
1770
|
+
#
|
1771
|
+
class ParticipatingResource < Struct.new(
|
1772
|
+
:launch_status,
|
1773
|
+
:participating_resource_id)
|
1774
|
+
SENSITIVE = []
|
1775
|
+
include Aws::Structure
|
1776
|
+
end
|
1777
|
+
|
1778
|
+
# ID of a resource participating in an asynchronous Job.
|
1779
|
+
#
|
1780
|
+
# @note ParticipatingResourceID is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ParticipatingResourceID corresponding to the set member.
|
1781
|
+
#
|
1782
|
+
# @!attribute [rw] source_network_id
|
1783
|
+
# Source Network ID.
|
1784
|
+
# @return [String]
|
1785
|
+
#
|
1786
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ParticipatingResourceID AWS API Documentation
|
1787
|
+
#
|
1788
|
+
class ParticipatingResourceID < Struct.new(
|
1789
|
+
:source_network_id,
|
1790
|
+
:unknown)
|
1791
|
+
SENSITIVE = []
|
1792
|
+
include Aws::Structure
|
1793
|
+
include Aws::Structure::Union
|
1794
|
+
|
1795
|
+
class SourceNetworkId < ParticipatingResourceID; end
|
1796
|
+
class Unknown < ParticipatingResourceID; end
|
1797
|
+
end
|
1798
|
+
|
1544
1799
|
# Represents a server participating in an asynchronous Job.
|
1545
1800
|
#
|
1546
1801
|
# @!attribute [rw] launch_status
|
@@ -1922,6 +2177,30 @@ module Aws::Drs
|
|
1922
2177
|
include Aws::Structure
|
1923
2178
|
end
|
1924
2179
|
|
2180
|
+
# An object representing the Source Network recovery Lifecycle.
|
2181
|
+
#
|
2182
|
+
# @!attribute [rw] api_call_date_time
|
2183
|
+
# The date and time the last Source Network recovery was initiated.
|
2184
|
+
# @return [Time]
|
2185
|
+
#
|
2186
|
+
# @!attribute [rw] job_id
|
2187
|
+
# The ID of the Job that was used to last recover the Source Network.
|
2188
|
+
# @return [String]
|
2189
|
+
#
|
2190
|
+
# @!attribute [rw] last_recovery_result
|
2191
|
+
# The status of the last recovery status of this Source Network.
|
2192
|
+
# @return [String]
|
2193
|
+
#
|
2194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryLifeCycle AWS API Documentation
|
2195
|
+
#
|
2196
|
+
class RecoveryLifeCycle < Struct.new(
|
2197
|
+
:api_call_date_time,
|
2198
|
+
:job_id,
|
2199
|
+
:last_recovery_result)
|
2200
|
+
SENSITIVE = []
|
2201
|
+
include Aws::Structure
|
2202
|
+
end
|
2203
|
+
|
1925
2204
|
# A snapshot of a Source Server used during recovery.
|
1926
2205
|
#
|
1927
2206
|
# @!attribute [rw] ebs_snapshots
|
@@ -2325,6 +2604,106 @@ module Aws::Drs
|
|
2325
2604
|
include Aws::Structure
|
2326
2605
|
end
|
2327
2606
|
|
2607
|
+
# The ARN of the Source Network.
|
2608
|
+
#
|
2609
|
+
# @!attribute [rw] arn
|
2610
|
+
# The ARN of the Source Network.
|
2611
|
+
# @return [String]
|
2612
|
+
#
|
2613
|
+
# @!attribute [rw] cfn_stack_name
|
2614
|
+
# CloudFormation stack name that was deployed for recovering the
|
2615
|
+
# Source Network.
|
2616
|
+
# @return [String]
|
2617
|
+
#
|
2618
|
+
# @!attribute [rw] last_recovery
|
2619
|
+
# An object containing information regarding the last recovery of the
|
2620
|
+
# Source Network.
|
2621
|
+
# @return [Types::RecoveryLifeCycle]
|
2622
|
+
#
|
2623
|
+
# @!attribute [rw] launched_vpc_id
|
2624
|
+
# ID of the recovered VPC following Source Network recovery.
|
2625
|
+
# @return [String]
|
2626
|
+
#
|
2627
|
+
# @!attribute [rw] replication_status
|
2628
|
+
# Status of Source Network Replication. Possible values: (a) STOPPED -
|
2629
|
+
# Source Network is not replicating. (b) IN\_PROGRESS - Source Network
|
2630
|
+
# is being replicated. (c) PROTECTED - Source Network was replicated
|
2631
|
+
# successfully and is being synchronized for changes. (d) ERROR -
|
2632
|
+
# Source Network replication has failed
|
2633
|
+
# @return [String]
|
2634
|
+
#
|
2635
|
+
# @!attribute [rw] replication_status_details
|
2636
|
+
# Error details in case Source Network replication status is ERROR.
|
2637
|
+
# @return [String]
|
2638
|
+
#
|
2639
|
+
# @!attribute [rw] source_account_id
|
2640
|
+
# Account ID containing the VPC protected by the Source Network.
|
2641
|
+
# @return [String]
|
2642
|
+
#
|
2643
|
+
# @!attribute [rw] source_network_id
|
2644
|
+
# Source Network ID.
|
2645
|
+
# @return [String]
|
2646
|
+
#
|
2647
|
+
# @!attribute [rw] source_region
|
2648
|
+
# Region containing the VPC protected by the Source Network.
|
2649
|
+
# @return [String]
|
2650
|
+
#
|
2651
|
+
# @!attribute [rw] source_vpc_id
|
2652
|
+
# VPC ID protected by the Source Network.
|
2653
|
+
# @return [String]
|
2654
|
+
#
|
2655
|
+
# @!attribute [rw] tags
|
2656
|
+
# A list of tags associated with the Source Network.
|
2657
|
+
# @return [Hash<String,String>]
|
2658
|
+
#
|
2659
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/SourceNetwork AWS API Documentation
|
2660
|
+
#
|
2661
|
+
class SourceNetwork < Struct.new(
|
2662
|
+
:arn,
|
2663
|
+
:cfn_stack_name,
|
2664
|
+
:last_recovery,
|
2665
|
+
:launched_vpc_id,
|
2666
|
+
:replication_status,
|
2667
|
+
:replication_status_details,
|
2668
|
+
:source_account_id,
|
2669
|
+
:source_network_id,
|
2670
|
+
:source_region,
|
2671
|
+
:source_vpc_id,
|
2672
|
+
:tags)
|
2673
|
+
SENSITIVE = [:cfn_stack_name, :replication_status_details, :tags]
|
2674
|
+
include Aws::Structure
|
2675
|
+
end
|
2676
|
+
|
2677
|
+
# Properties of Source Network related to a job event.
|
2678
|
+
#
|
2679
|
+
# @!attribute [rw] source_network_id
|
2680
|
+
# Source Network ID.
|
2681
|
+
# @return [String]
|
2682
|
+
#
|
2683
|
+
# @!attribute [rw] source_vpc
|
2684
|
+
# VPC ID protected by the Source Network.
|
2685
|
+
# @return [String]
|
2686
|
+
#
|
2687
|
+
# @!attribute [rw] stack_name
|
2688
|
+
# CloudFormation stack name that was deployed for recovering the
|
2689
|
+
# Source Network.
|
2690
|
+
# @return [String]
|
2691
|
+
#
|
2692
|
+
# @!attribute [rw] target_vpc
|
2693
|
+
# ID of the recovered VPC following Source Network recovery.
|
2694
|
+
# @return [String]
|
2695
|
+
#
|
2696
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/SourceNetworkData AWS API Documentation
|
2697
|
+
#
|
2698
|
+
class SourceNetworkData < Struct.new(
|
2699
|
+
:source_network_id,
|
2700
|
+
:source_vpc,
|
2701
|
+
:stack_name,
|
2702
|
+
:target_vpc)
|
2703
|
+
SENSITIVE = []
|
2704
|
+
include Aws::Structure
|
2705
|
+
end
|
2706
|
+
|
2328
2707
|
# Properties of the Source Server machine.
|
2329
2708
|
#
|
2330
2709
|
# @!attribute [rw] cpus
|
@@ -2415,6 +2794,11 @@ module Aws::Drs
|
|
2415
2794
|
# Source cloud properties of the Source Server.
|
2416
2795
|
# @return [Types::SourceCloudProperties]
|
2417
2796
|
#
|
2797
|
+
# @!attribute [rw] source_network_id
|
2798
|
+
# ID of the Source Network which is protecting this Source Server's
|
2799
|
+
# network.
|
2800
|
+
# @return [String]
|
2801
|
+
#
|
2418
2802
|
# @!attribute [rw] source_properties
|
2419
2803
|
# The source properties of the Source Server.
|
2420
2804
|
# @return [Types::SourceProperties]
|
@@ -2442,6 +2826,7 @@ module Aws::Drs
|
|
2442
2826
|
:replication_direction,
|
2443
2827
|
:reversed_direction_source_server_arn,
|
2444
2828
|
:source_cloud_properties,
|
2829
|
+
:source_network_id,
|
2445
2830
|
:source_properties,
|
2446
2831
|
:source_server_id,
|
2447
2832
|
:staging_area,
|
@@ -2624,6 +3009,84 @@ module Aws::Drs
|
|
2624
3009
|
include Aws::Structure
|
2625
3010
|
end
|
2626
3011
|
|
3012
|
+
# @!attribute [rw] deploy_as_new
|
3013
|
+
# Don't update existing CloudFormation Stack, recover the network
|
3014
|
+
# using a new stack.
|
3015
|
+
# @return [Boolean]
|
3016
|
+
#
|
3017
|
+
# @!attribute [rw] source_networks
|
3018
|
+
# The Source Networks that we want to start a Recovery Job for.
|
3019
|
+
# @return [Array<Types::StartSourceNetworkRecoveryRequestNetworkEntry>]
|
3020
|
+
#
|
3021
|
+
# @!attribute [rw] tags
|
3022
|
+
# The tags to be associated with the Source Network recovery Job.
|
3023
|
+
# @return [Hash<String,String>]
|
3024
|
+
#
|
3025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartSourceNetworkRecoveryRequest AWS API Documentation
|
3026
|
+
#
|
3027
|
+
class StartSourceNetworkRecoveryRequest < Struct.new(
|
3028
|
+
:deploy_as_new,
|
3029
|
+
:source_networks,
|
3030
|
+
:tags)
|
3031
|
+
SENSITIVE = [:tags]
|
3032
|
+
include Aws::Structure
|
3033
|
+
end
|
3034
|
+
|
3035
|
+
# An object representing the Source Network to recover.
|
3036
|
+
#
|
3037
|
+
# @!attribute [rw] cfn_stack_name
|
3038
|
+
# CloudFormation stack name to be used for recovering the network.
|
3039
|
+
# @return [String]
|
3040
|
+
#
|
3041
|
+
# @!attribute [rw] source_network_id
|
3042
|
+
# The ID of the Source Network you want to recover.
|
3043
|
+
# @return [String]
|
3044
|
+
#
|
3045
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartSourceNetworkRecoveryRequestNetworkEntry AWS API Documentation
|
3046
|
+
#
|
3047
|
+
class StartSourceNetworkRecoveryRequestNetworkEntry < Struct.new(
|
3048
|
+
:cfn_stack_name,
|
3049
|
+
:source_network_id)
|
3050
|
+
SENSITIVE = [:cfn_stack_name]
|
3051
|
+
include Aws::Structure
|
3052
|
+
end
|
3053
|
+
|
3054
|
+
# @!attribute [rw] job
|
3055
|
+
# The Source Network recovery Job.
|
3056
|
+
# @return [Types::Job]
|
3057
|
+
#
|
3058
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartSourceNetworkRecoveryResponse AWS API Documentation
|
3059
|
+
#
|
3060
|
+
class StartSourceNetworkRecoveryResponse < Struct.new(
|
3061
|
+
:job)
|
3062
|
+
SENSITIVE = []
|
3063
|
+
include Aws::Structure
|
3064
|
+
end
|
3065
|
+
|
3066
|
+
# @!attribute [rw] source_network_id
|
3067
|
+
# ID of the Source Network to replicate.
|
3068
|
+
# @return [String]
|
3069
|
+
#
|
3070
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartSourceNetworkReplicationRequest AWS API Documentation
|
3071
|
+
#
|
3072
|
+
class StartSourceNetworkReplicationRequest < Struct.new(
|
3073
|
+
:source_network_id)
|
3074
|
+
SENSITIVE = []
|
3075
|
+
include Aws::Structure
|
3076
|
+
end
|
3077
|
+
|
3078
|
+
# @!attribute [rw] source_network
|
3079
|
+
# Source Network which was requested for replication.
|
3080
|
+
# @return [Types::SourceNetwork]
|
3081
|
+
#
|
3082
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartSourceNetworkReplicationResponse AWS API Documentation
|
3083
|
+
#
|
3084
|
+
class StartSourceNetworkReplicationResponse < Struct.new(
|
3085
|
+
:source_network)
|
3086
|
+
SENSITIVE = []
|
3087
|
+
include Aws::Structure
|
3088
|
+
end
|
3089
|
+
|
2627
3090
|
# @!attribute [rw] recovery_instance_id
|
2628
3091
|
# The ID of the Recovery Instance we want to stop failback for.
|
2629
3092
|
# @return [String]
|
@@ -2660,6 +3123,30 @@ module Aws::Drs
|
|
2660
3123
|
include Aws::Structure
|
2661
3124
|
end
|
2662
3125
|
|
3126
|
+
# @!attribute [rw] source_network_id
|
3127
|
+
# ID of the Source Network to stop replication.
|
3128
|
+
# @return [String]
|
3129
|
+
#
|
3130
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StopSourceNetworkReplicationRequest AWS API Documentation
|
3131
|
+
#
|
3132
|
+
class StopSourceNetworkReplicationRequest < Struct.new(
|
3133
|
+
:source_network_id)
|
3134
|
+
SENSITIVE = []
|
3135
|
+
include Aws::Structure
|
3136
|
+
end
|
3137
|
+
|
3138
|
+
# @!attribute [rw] source_network
|
3139
|
+
# Source Network which was requested to stop replication.
|
3140
|
+
# @return [Types::SourceNetwork]
|
3141
|
+
#
|
3142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StopSourceNetworkReplicationResponse AWS API Documentation
|
3143
|
+
#
|
3144
|
+
class StopSourceNetworkReplicationResponse < Struct.new(
|
3145
|
+
:source_network)
|
3146
|
+
SENSITIVE = []
|
3147
|
+
include Aws::Structure
|
3148
|
+
end
|
3149
|
+
|
2663
3150
|
# @!attribute [rw] resource_arn
|
2664
3151
|
# ARN of the resource for which tags are to be added or updated.
|
2665
3152
|
# @return [String]
|
@@ -2850,6 +3337,10 @@ module Aws::Drs
|
|
2850
3337
|
# Copy tags.
|
2851
3338
|
# @return [Boolean]
|
2852
3339
|
#
|
3340
|
+
# @!attribute [rw] export_bucket_arn
|
3341
|
+
# S3 bucket ARN to export Source Network templates.
|
3342
|
+
# @return [String]
|
3343
|
+
#
|
2853
3344
|
# @!attribute [rw] launch_configuration_template_id
|
2854
3345
|
# Launch Configuration Template ID.
|
2855
3346
|
# @return [String]
|
@@ -2871,6 +3362,7 @@ module Aws::Drs
|
|
2871
3362
|
class UpdateLaunchConfigurationTemplateRequest < Struct.new(
|
2872
3363
|
:copy_private_ip,
|
2873
3364
|
:copy_tags,
|
3365
|
+
:export_bucket_arn,
|
2874
3366
|
:launch_configuration_template_id,
|
2875
3367
|
:launch_disposition,
|
2876
3368
|
:licensing,
|
data/lib/aws-sdk-drs.rb
CHANGED
@@ -32,7 +32,7 @@ require_relative 'aws-sdk-drs/customizations'
|
|
32
32
|
# structure.
|
33
33
|
#
|
34
34
|
# drs = Aws::Drs::Client.new
|
35
|
-
# resp = drs.
|
35
|
+
# resp = drs.associate_source_network_stack(params)
|
36
36
|
#
|
37
37
|
# See {Client} for more information.
|
38
38
|
#
|
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-drs/customizations'
|
|
52
52
|
# @!group service
|
53
53
|
module Aws::Drs
|
54
54
|
|
55
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.15.0'
|
56
56
|
|
57
57
|
end
|
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.15.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-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|