aws-sdk-drs 1.8.0 → 1.10.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 +237 -5
- data/lib/aws-sdk-drs/client_api.rb +81 -0
- data/lib/aws-sdk-drs/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-drs/endpoints.rb +42 -0
- data/lib/aws-sdk-drs/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-drs/types.rb +126 -431
- data/lib/aws-sdk-drs.rb +1 -1
- metadata +2 -2
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.
|
@@ -415,13 +373,6 @@ module Aws::Drs
|
|
415
373
|
include Aws::Structure
|
416
374
|
end
|
417
375
|
|
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
376
|
# @!attribute [rw] job_id
|
426
377
|
# The ID of the Job to be deleted.
|
427
378
|
# @return [String]
|
@@ -438,13 +389,6 @@ module Aws::Drs
|
|
438
389
|
#
|
439
390
|
class DeleteJobResponse < Aws::EmptyStructure; end
|
440
391
|
|
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
392
|
# @!attribute [rw] recovery_instance_id
|
449
393
|
# The ID of the Recovery Instance to be deleted.
|
450
394
|
# @return [String]
|
@@ -457,13 +401,6 @@ module Aws::Drs
|
|
457
401
|
include Aws::Structure
|
458
402
|
end
|
459
403
|
|
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
404
|
# @!attribute [rw] replication_configuration_template_id
|
468
405
|
# The ID of the Replication Configuration Template to be deleted.
|
469
406
|
# @return [String]
|
@@ -480,13 +417,6 @@ module Aws::Drs
|
|
480
417
|
#
|
481
418
|
class DeleteReplicationConfigurationTemplateResponse < Aws::EmptyStructure; end
|
482
419
|
|
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
420
|
# @!attribute [rw] source_server_id
|
491
421
|
# The ID of the Source Server to be deleted.
|
492
422
|
# @return [String]
|
@@ -503,15 +433,6 @@ module Aws::Drs
|
|
503
433
|
#
|
504
434
|
class DeleteSourceServerResponse < Aws::EmptyStructure; end
|
505
435
|
|
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
436
|
# @!attribute [rw] job_id
|
516
437
|
# The ID of the Job for which Job log items will be retrieved.
|
517
438
|
# @return [String]
|
@@ -551,19 +472,6 @@ module Aws::Drs
|
|
551
472
|
include Aws::Structure
|
552
473
|
end
|
553
474
|
|
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
475
|
# @!attribute [rw] filters
|
568
476
|
# A set of filters by which to return Jobs.
|
569
477
|
# @return [Types::DescribeJobsRequestFilters]
|
@@ -588,15 +496,6 @@ module Aws::Drs
|
|
588
496
|
|
589
497
|
# A set of filters by which to return Jobs.
|
590
498
|
#
|
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
499
|
# @!attribute [rw] from_date
|
601
500
|
# The start date in a date range query.
|
602
501
|
# @return [String]
|
@@ -637,18 +536,6 @@ module Aws::Drs
|
|
637
536
|
include Aws::Structure
|
638
537
|
end
|
639
538
|
|
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
539
|
# @!attribute [rw] filters
|
653
540
|
# A set of filters by which to return Recovery Instances.
|
654
541
|
# @return [Types::DescribeRecoveryInstancesRequestFilters]
|
@@ -673,14 +560,6 @@ module Aws::Drs
|
|
673
560
|
|
674
561
|
# A set of filters by which to return Recovery Instances.
|
675
562
|
#
|
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
563
|
# @!attribute [rw] recovery_instance_i_ds
|
685
564
|
# An array of Recovery Instance IDs that should be returned. An empty
|
686
565
|
# array means all Recovery Instances.
|
@@ -717,20 +596,6 @@ module Aws::Drs
|
|
717
596
|
include Aws::Structure
|
718
597
|
end
|
719
598
|
|
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
599
|
# @!attribute [rw] filters
|
735
600
|
# A set of filters by which to return Recovery Snapshots.
|
736
601
|
# @return [Types::DescribeRecoverySnapshotsRequestFilters]
|
@@ -765,14 +630,6 @@ module Aws::Drs
|
|
765
630
|
|
766
631
|
# A set of filters by which to return Recovery Snapshots.
|
767
632
|
#
|
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
633
|
# @!attribute [rw] from_date_time
|
777
634
|
# The start date in a date range query.
|
778
635
|
# @return [String]
|
@@ -807,15 +664,6 @@ module Aws::Drs
|
|
807
664
|
include Aws::Structure
|
808
665
|
end
|
809
666
|
|
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
667
|
# @!attribute [rw] max_results
|
820
668
|
# Maximum number of Replication Configuration Templates to retrieve.
|
821
669
|
# @return [Integer]
|
@@ -858,19 +706,6 @@ module Aws::Drs
|
|
858
706
|
include Aws::Structure
|
859
707
|
end
|
860
708
|
|
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
709
|
# @!attribute [rw] filters
|
875
710
|
# A set of filters by which to return Source Servers.
|
876
711
|
# @return [Types::DescribeSourceServersRequestFilters]
|
@@ -895,15 +730,6 @@ module Aws::Drs
|
|
895
730
|
|
896
731
|
# A set of filters by which to return Source Servers.
|
897
732
|
#
|
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
733
|
# @!attribute [rw] hardware_id
|
908
734
|
# An ID that describes the hardware of the Source Server. This is
|
909
735
|
# either an EC2 instance id, a VMware uuid or a mac address.
|
@@ -946,13 +772,6 @@ module Aws::Drs
|
|
946
772
|
include Aws::Structure
|
947
773
|
end
|
948
774
|
|
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
775
|
# @!attribute [rw] recovery_instance_id
|
957
776
|
# The ID of the Recovery Instance to disconnect.
|
958
777
|
# @return [String]
|
@@ -965,13 +784,6 @@ module Aws::Drs
|
|
965
784
|
include Aws::Structure
|
966
785
|
end
|
967
786
|
|
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
787
|
# @!attribute [rw] source_server_id
|
976
788
|
# The ID of the Source Server to disconnect.
|
977
789
|
# @return [String]
|
@@ -1003,13 +815,6 @@ module Aws::Drs
|
|
1003
815
|
include Aws::Structure
|
1004
816
|
end
|
1005
817
|
|
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
818
|
# @!attribute [rw] recovery_instance_id
|
1014
819
|
# The ID of the Recovery Instance whose failback replication
|
1015
820
|
# configuration should be returned.
|
@@ -1052,13 +857,6 @@ module Aws::Drs
|
|
1052
857
|
include Aws::Structure
|
1053
858
|
end
|
1054
859
|
|
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
860
|
# @!attribute [rw] source_server_id
|
1063
861
|
# The ID of the Source Server that we want to retrieve a Launch
|
1064
862
|
# Configuration for.
|
@@ -1072,13 +870,6 @@ module Aws::Drs
|
|
1072
870
|
include Aws::Structure
|
1073
871
|
end
|
1074
872
|
|
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
873
|
# @!attribute [rw] source_server_id
|
1083
874
|
# The ID of the Source Serve for this Replication Configuration.r
|
1084
875
|
# @return [String]
|
@@ -1317,13 +1108,6 @@ module Aws::Drs
|
|
1317
1108
|
|
1318
1109
|
# Configuration of a machine's license.
|
1319
1110
|
#
|
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
1111
|
# @!attribute [rw] os_byol
|
1328
1112
|
# Whether to enable "Bring your own license" or not.
|
1329
1113
|
# @return [Boolean]
|
@@ -1414,15 +1198,6 @@ module Aws::Drs
|
|
1414
1198
|
include Aws::Structure
|
1415
1199
|
end
|
1416
1200
|
|
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
1201
|
# @!attribute [rw] max_results
|
1427
1202
|
# The maximum number of extensible source servers to retrieve.
|
1428
1203
|
# @return [Integer]
|
@@ -1463,14 +1238,6 @@ module Aws::Drs
|
|
1463
1238
|
include Aws::Structure
|
1464
1239
|
end
|
1465
1240
|
|
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
1241
|
# @!attribute [rw] max_results
|
1475
1242
|
# The maximum number of staging Accounts to retrieve.
|
1476
1243
|
# @return [Integer]
|
@@ -1505,13 +1272,6 @@ module Aws::Drs
|
|
1505
1272
|
include Aws::Structure
|
1506
1273
|
end
|
1507
1274
|
|
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
1275
|
# @!attribute [rw] resource_arn
|
1516
1276
|
# The ARN of the resource whose tags should be returned.
|
1517
1277
|
# @return [String]
|
@@ -1577,17 +1337,6 @@ module Aws::Drs
|
|
1577
1337
|
# A rule in the Point in Time (PIT) policy representing when to take
|
1578
1338
|
# snapshots and how long to retain them for.
|
1579
1339
|
#
|
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
1340
|
# @!attribute [rw] enabled
|
1592
1341
|
# Whether this rule is enabled or not.
|
1593
1342
|
# @return [Boolean]
|
@@ -1676,6 +1425,11 @@ module Aws::Drs
|
|
1676
1425
|
# The ID of the Job that created the Recovery Instance.
|
1677
1426
|
# @return [String]
|
1678
1427
|
#
|
1428
|
+
# @!attribute [rw] origin_environment
|
1429
|
+
# Environment (On Premises / AWS) of the instance that the recovery
|
1430
|
+
# instance originated from.
|
1431
|
+
# @return [String]
|
1432
|
+
#
|
1679
1433
|
# @!attribute [rw] point_in_time_snapshot_date_time
|
1680
1434
|
# The date and time of the Point in Time (PIT) snapshot that this
|
1681
1435
|
# Recovery Instance was launched from.
|
@@ -1707,6 +1461,7 @@ module Aws::Drs
|
|
1707
1461
|
:failback,
|
1708
1462
|
:is_drill,
|
1709
1463
|
:job_id,
|
1464
|
+
:origin_environment,
|
1710
1465
|
:point_in_time_snapshot_date_time,
|
1711
1466
|
:recovery_instance_id,
|
1712
1467
|
:recovery_instance_properties,
|
@@ -1904,6 +1659,11 @@ module Aws::Drs
|
|
1904
1659
|
# The Job ID of the last failback log for this Recovery Instance.
|
1905
1660
|
# @return [String]
|
1906
1661
|
#
|
1662
|
+
# @!attribute [rw] failback_launch_type
|
1663
|
+
# The launch type (Recovery / Drill) of the last launch for the
|
1664
|
+
# failback replication of this recovery instance.
|
1665
|
+
# @return [String]
|
1666
|
+
#
|
1907
1667
|
# @!attribute [rw] failback_to_original_server
|
1908
1668
|
# Whether we are failing back to the original Source Server for this
|
1909
1669
|
# Recovery Instance.
|
@@ -1927,6 +1687,7 @@ module Aws::Drs
|
|
1927
1687
|
:failback_client_last_seen_by_service_date_time,
|
1928
1688
|
:failback_initiation_time,
|
1929
1689
|
:failback_job_id,
|
1690
|
+
:failback_launch_type,
|
1930
1691
|
:failback_to_original_server,
|
1931
1692
|
:first_byte_date_time,
|
1932
1693
|
:state)
|
@@ -2109,18 +1870,6 @@ module Aws::Drs
|
|
2109
1870
|
|
2110
1871
|
# The configuration of a disk of the Source Server to be replicated.
|
2111
1872
|
#
|
2112
|
-
# @note When making an API call, you may pass ReplicationConfigurationReplicatedDisk
|
2113
|
-
# data as a hash:
|
2114
|
-
#
|
2115
|
-
# {
|
2116
|
-
# device_name: "BoundedString",
|
2117
|
-
# iops: 1,
|
2118
|
-
# is_boot_disk: false,
|
2119
|
-
# optimized_staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
|
2120
|
-
# staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
|
2121
|
-
# throughput: 1,
|
2122
|
-
# }
|
2123
|
-
#
|
2124
1873
|
# @!attribute [rw] device_name
|
2125
1874
|
# The name of the device.
|
2126
1875
|
# @return [String]
|
@@ -2134,8 +1883,9 @@ module Aws::Drs
|
|
2134
1883
|
# @return [Boolean]
|
2135
1884
|
#
|
2136
1885
|
# @!attribute [rw] optimized_staging_disk_type
|
2137
|
-
#
|
2138
|
-
#
|
1886
|
+
# When `stagingDiskType` is set to Auto, this field shows the current
|
1887
|
+
# staging disk EBS volume type as it is constantly updated by the
|
1888
|
+
# service. This is a read-only field.
|
2139
1889
|
# @return [String]
|
2140
1890
|
#
|
2141
1891
|
# @!attribute [rw] staging_disk_type
|
@@ -2281,13 +2031,6 @@ module Aws::Drs
|
|
2281
2031
|
include Aws::Structure
|
2282
2032
|
end
|
2283
2033
|
|
2284
|
-
# @note When making an API call, you may pass RetryDataReplicationRequest
|
2285
|
-
# data as a hash:
|
2286
|
-
#
|
2287
|
-
# {
|
2288
|
-
# source_server_id: "SourceServerID", # required
|
2289
|
-
# }
|
2290
|
-
#
|
2291
2034
|
# @!attribute [rw] source_server_id
|
2292
2035
|
# The ID of the Source Server whose data replication should be
|
2293
2036
|
# retried.
|
@@ -2301,6 +2044,31 @@ module Aws::Drs
|
|
2301
2044
|
include Aws::Structure
|
2302
2045
|
end
|
2303
2046
|
|
2047
|
+
# @!attribute [rw] recovery_instance_id
|
2048
|
+
# The ID of the Recovery Instance that we want to reverse the
|
2049
|
+
# replication for.
|
2050
|
+
# @return [String]
|
2051
|
+
#
|
2052
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ReverseReplicationRequest AWS API Documentation
|
2053
|
+
#
|
2054
|
+
class ReverseReplicationRequest < Struct.new(
|
2055
|
+
:recovery_instance_id)
|
2056
|
+
SENSITIVE = []
|
2057
|
+
include Aws::Structure
|
2058
|
+
end
|
2059
|
+
|
2060
|
+
# @!attribute [rw] reversed_direction_source_server_arn
|
2061
|
+
# ARN of created SourceServer.
|
2062
|
+
# @return [String]
|
2063
|
+
#
|
2064
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ReverseReplicationResponse AWS API Documentation
|
2065
|
+
#
|
2066
|
+
class ReverseReplicationResponse < Struct.new(
|
2067
|
+
:reversed_direction_source_server_arn)
|
2068
|
+
SENSITIVE = []
|
2069
|
+
include Aws::Structure
|
2070
|
+
end
|
2071
|
+
|
2304
2072
|
# The request could not be completed because its exceeded the service
|
2305
2073
|
# quota.
|
2306
2074
|
#
|
@@ -2339,6 +2107,31 @@ module Aws::Drs
|
|
2339
2107
|
include Aws::Structure
|
2340
2108
|
end
|
2341
2109
|
|
2110
|
+
# Properties of the cloud environment where this Source Server
|
2111
|
+
# originated from.
|
2112
|
+
#
|
2113
|
+
# @!attribute [rw] origin_account_id
|
2114
|
+
# AWS Account ID for an EC2-originated Source Server.
|
2115
|
+
# @return [String]
|
2116
|
+
#
|
2117
|
+
# @!attribute [rw] origin_availability_zone
|
2118
|
+
# AWS Availability Zone for an EC2-originated Source Server.
|
2119
|
+
# @return [String]
|
2120
|
+
#
|
2121
|
+
# @!attribute [rw] origin_region
|
2122
|
+
# AWS Region for an EC2-originated Source Server.
|
2123
|
+
# @return [String]
|
2124
|
+
#
|
2125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/SourceCloudProperties AWS API Documentation
|
2126
|
+
#
|
2127
|
+
class SourceCloudProperties < Struct.new(
|
2128
|
+
:origin_account_id,
|
2129
|
+
:origin_availability_zone,
|
2130
|
+
:origin_region)
|
2131
|
+
SENSITIVE = []
|
2132
|
+
include Aws::Structure
|
2133
|
+
end
|
2134
|
+
|
2342
2135
|
# Properties of the Source Server machine.
|
2343
2136
|
#
|
2344
2137
|
# @!attribute [rw] cpus
|
@@ -2409,6 +2202,20 @@ module Aws::Drs
|
|
2409
2202
|
# The ID of the Recovery Instance associated with this Source Server.
|
2410
2203
|
# @return [String]
|
2411
2204
|
#
|
2205
|
+
# @!attribute [rw] replication_direction
|
2206
|
+
# Replication direction of the Source Server.
|
2207
|
+
# @return [String]
|
2208
|
+
#
|
2209
|
+
# @!attribute [rw] reversed_direction_source_server_arn
|
2210
|
+
# For EC2-originated Source Servers which have been failed over and
|
2211
|
+
# then failed back, this value will mean the ARN of the Source Server
|
2212
|
+
# on the opposite replication direction.
|
2213
|
+
# @return [String]
|
2214
|
+
#
|
2215
|
+
# @!attribute [rw] source_cloud_properties
|
2216
|
+
# Source cloud properties of the Source Server.
|
2217
|
+
# @return [Types::SourceCloudProperties]
|
2218
|
+
#
|
2412
2219
|
# @!attribute [rw] source_properties
|
2413
2220
|
# The source properties of the Source Server.
|
2414
2221
|
# @return [Types::SourceProperties]
|
@@ -2433,6 +2240,9 @@ module Aws::Drs
|
|
2433
2240
|
:last_launch_result,
|
2434
2241
|
:life_cycle,
|
2435
2242
|
:recovery_instance_id,
|
2243
|
+
:replication_direction,
|
2244
|
+
:reversed_direction_source_server_arn,
|
2245
|
+
:source_cloud_properties,
|
2436
2246
|
:source_properties,
|
2437
2247
|
:source_server_id,
|
2438
2248
|
:staging_area,
|
@@ -2506,16 +2316,6 @@ module Aws::Drs
|
|
2506
2316
|
include Aws::Structure
|
2507
2317
|
end
|
2508
2318
|
|
2509
|
-
# @note When making an API call, you may pass StartFailbackLaunchRequest
|
2510
|
-
# data as a hash:
|
2511
|
-
#
|
2512
|
-
# {
|
2513
|
-
# recovery_instance_i_ds: ["RecoveryInstanceID"], # required
|
2514
|
-
# tags: {
|
2515
|
-
# "TagKey" => "TagValue",
|
2516
|
-
# },
|
2517
|
-
# }
|
2518
|
-
#
|
2519
2319
|
# @!attribute [rw] recovery_instance_i_ds
|
2520
2320
|
# The IDs of the Recovery Instance whose failback launch we want to
|
2521
2321
|
# request.
|
@@ -2546,22 +2346,6 @@ module Aws::Drs
|
|
2546
2346
|
include Aws::Structure
|
2547
2347
|
end
|
2548
2348
|
|
2549
|
-
# @note When making an API call, you may pass StartRecoveryRequest
|
2550
|
-
# data as a hash:
|
2551
|
-
#
|
2552
|
-
# {
|
2553
|
-
# is_drill: false,
|
2554
|
-
# source_servers: [ # required
|
2555
|
-
# {
|
2556
|
-
# recovery_snapshot_id: "RecoverySnapshotID",
|
2557
|
-
# source_server_id: "SourceServerID", # required
|
2558
|
-
# },
|
2559
|
-
# ],
|
2560
|
-
# tags: {
|
2561
|
-
# "TagKey" => "TagValue",
|
2562
|
-
# },
|
2563
|
-
# }
|
2564
|
-
#
|
2565
2349
|
# @!attribute [rw] is_drill
|
2566
2350
|
# Whether this Source Server Recovery operation is a drill or not.
|
2567
2351
|
# @return [Boolean]
|
@@ -2586,14 +2370,6 @@ module Aws::Drs
|
|
2586
2370
|
|
2587
2371
|
# An object representing the Source Server to recover.
|
2588
2372
|
#
|
2589
|
-
# @note When making an API call, you may pass StartRecoveryRequestSourceServer
|
2590
|
-
# data as a hash:
|
2591
|
-
#
|
2592
|
-
# {
|
2593
|
-
# recovery_snapshot_id: "RecoverySnapshotID",
|
2594
|
-
# source_server_id: "SourceServerID", # required
|
2595
|
-
# }
|
2596
|
-
#
|
2597
2373
|
# @!attribute [rw] recovery_snapshot_id
|
2598
2374
|
# The ID of a Recovery Snapshot we want to recover from. Omit this
|
2599
2375
|
# field to launch from the latest data by taking an on-demand
|
@@ -2625,13 +2401,30 @@ module Aws::Drs
|
|
2625
2401
|
include Aws::Structure
|
2626
2402
|
end
|
2627
2403
|
|
2628
|
-
#
|
2629
|
-
#
|
2404
|
+
# @!attribute [rw] source_server_id
|
2405
|
+
# The ID of the Source Server to start replication for.
|
2406
|
+
# @return [String]
|
2407
|
+
#
|
2408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartReplicationRequest AWS API Documentation
|
2409
|
+
#
|
2410
|
+
class StartReplicationRequest < Struct.new(
|
2411
|
+
:source_server_id)
|
2412
|
+
SENSITIVE = []
|
2413
|
+
include Aws::Structure
|
2414
|
+
end
|
2415
|
+
|
2416
|
+
# @!attribute [rw] source_server
|
2417
|
+
# The Source Server that this action was targeted on.
|
2418
|
+
# @return [Types::SourceServer]
|
2630
2419
|
#
|
2631
|
-
#
|
2632
|
-
# recovery_instance_id: "RecoveryInstanceID", # required
|
2633
|
-
# }
|
2420
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartReplicationResponse AWS API Documentation
|
2634
2421
|
#
|
2422
|
+
class StartReplicationResponse < Struct.new(
|
2423
|
+
:source_server)
|
2424
|
+
SENSITIVE = []
|
2425
|
+
include Aws::Structure
|
2426
|
+
end
|
2427
|
+
|
2635
2428
|
# @!attribute [rw] recovery_instance_id
|
2636
2429
|
# The ID of the Recovery Instance we want to stop failback for.
|
2637
2430
|
# @return [String]
|
@@ -2644,16 +2437,30 @@ module Aws::Drs
|
|
2644
2437
|
include Aws::Structure
|
2645
2438
|
end
|
2646
2439
|
|
2647
|
-
#
|
2648
|
-
#
|
2440
|
+
# @!attribute [rw] source_server_id
|
2441
|
+
# The ID of the Source Server to stop replication for.
|
2442
|
+
# @return [String]
|
2649
2443
|
#
|
2650
|
-
#
|
2651
|
-
# resource_arn: "ARN", # required
|
2652
|
-
# tags: { # required
|
2653
|
-
# "TagKey" => "TagValue",
|
2654
|
-
# },
|
2655
|
-
# }
|
2444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StopReplicationRequest AWS API Documentation
|
2656
2445
|
#
|
2446
|
+
class StopReplicationRequest < Struct.new(
|
2447
|
+
:source_server_id)
|
2448
|
+
SENSITIVE = []
|
2449
|
+
include Aws::Structure
|
2450
|
+
end
|
2451
|
+
|
2452
|
+
# @!attribute [rw] source_server
|
2453
|
+
# The Source Server that this action was targeted on.
|
2454
|
+
# @return [Types::SourceServer]
|
2455
|
+
#
|
2456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StopReplicationResponse AWS API Documentation
|
2457
|
+
#
|
2458
|
+
class StopReplicationResponse < Struct.new(
|
2459
|
+
:source_server)
|
2460
|
+
SENSITIVE = []
|
2461
|
+
include Aws::Structure
|
2462
|
+
end
|
2463
|
+
|
2657
2464
|
# @!attribute [rw] resource_arn
|
2658
2465
|
# ARN of the resource for which tags are to be added or updated.
|
2659
2466
|
# @return [String]
|
@@ -2671,13 +2478,6 @@ module Aws::Drs
|
|
2671
2478
|
include Aws::Structure
|
2672
2479
|
end
|
2673
2480
|
|
2674
|
-
# @note When making an API call, you may pass TerminateRecoveryInstancesRequest
|
2675
|
-
# data as a hash:
|
2676
|
-
#
|
2677
|
-
# {
|
2678
|
-
# recovery_instance_i_ds: ["RecoveryInstanceID"], # required
|
2679
|
-
# }
|
2680
|
-
#
|
2681
2481
|
# @!attribute [rw] recovery_instance_i_ds
|
2682
2482
|
# The IDs of the Recovery Instances that should be terminated.
|
2683
2483
|
# @return [Array<String>]
|
@@ -2748,14 +2548,6 @@ module Aws::Drs
|
|
2748
2548
|
include Aws::Structure
|
2749
2549
|
end
|
2750
2550
|
|
2751
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
2752
|
-
# data as a hash:
|
2753
|
-
#
|
2754
|
-
# {
|
2755
|
-
# resource_arn: "ARN", # required
|
2756
|
-
# tag_keys: ["TagKey"], # required
|
2757
|
-
# }
|
2758
|
-
#
|
2759
2551
|
# @!attribute [rw] resource_arn
|
2760
2552
|
# ARN of the resource for which tags are to be removed.
|
2761
2553
|
# @return [String]
|
@@ -2773,16 +2565,6 @@ module Aws::Drs
|
|
2773
2565
|
include Aws::Structure
|
2774
2566
|
end
|
2775
2567
|
|
2776
|
-
# @note When making an API call, you may pass UpdateFailbackReplicationConfigurationRequest
|
2777
|
-
# data as a hash:
|
2778
|
-
#
|
2779
|
-
# {
|
2780
|
-
# bandwidth_throttling: 1,
|
2781
|
-
# name: "BoundedString",
|
2782
|
-
# recovery_instance_id: "RecoveryInstanceID", # required
|
2783
|
-
# use_private_ip: false,
|
2784
|
-
# }
|
2785
|
-
#
|
2786
2568
|
# @!attribute [rw] bandwidth_throttling
|
2787
2569
|
# Configure bandwidth throttling for the outbound data transfer rate
|
2788
2570
|
# of the Recovery Instance in Mbps.
|
@@ -2812,21 +2594,6 @@ module Aws::Drs
|
|
2812
2594
|
include Aws::Structure
|
2813
2595
|
end
|
2814
2596
|
|
2815
|
-
# @note When making an API call, you may pass UpdateLaunchConfigurationRequest
|
2816
|
-
# data as a hash:
|
2817
|
-
#
|
2818
|
-
# {
|
2819
|
-
# copy_private_ip: false,
|
2820
|
-
# copy_tags: false,
|
2821
|
-
# launch_disposition: "STOPPED", # accepts STOPPED, STARTED
|
2822
|
-
# licensing: {
|
2823
|
-
# os_byol: false,
|
2824
|
-
# },
|
2825
|
-
# name: "SmallBoundedString",
|
2826
|
-
# source_server_id: "SourceServerID", # required
|
2827
|
-
# target_instance_type_right_sizing_method: "NONE", # accepts NONE, BASIC
|
2828
|
-
# }
|
2829
|
-
#
|
2830
2597
|
# @!attribute [rw] copy_private_ip
|
2831
2598
|
# Whether we should copy the Private IP of the Source Server to the
|
2832
2599
|
# Recovery Instance.
|
@@ -2876,47 +2643,6 @@ module Aws::Drs
|
|
2876
2643
|
include Aws::Structure
|
2877
2644
|
end
|
2878
2645
|
|
2879
|
-
# @note When making an API call, you may pass UpdateReplicationConfigurationRequest
|
2880
|
-
# data as a hash:
|
2881
|
-
#
|
2882
|
-
# {
|
2883
|
-
# associate_default_security_group: false,
|
2884
|
-
# bandwidth_throttling: 1,
|
2885
|
-
# create_public_ip: false,
|
2886
|
-
# data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
|
2887
|
-
# default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1, AUTO
|
2888
|
-
# ebs_encryption: "DEFAULT", # accepts DEFAULT, CUSTOM
|
2889
|
-
# ebs_encryption_key_arn: "ARN",
|
2890
|
-
# name: "SmallBoundedString",
|
2891
|
-
# pit_policy: [
|
2892
|
-
# {
|
2893
|
-
# enabled: false,
|
2894
|
-
# interval: 1, # required
|
2895
|
-
# retention_duration: 1, # required
|
2896
|
-
# rule_id: 1,
|
2897
|
-
# units: "MINUTE", # required, accepts MINUTE, HOUR, DAY
|
2898
|
-
# },
|
2899
|
-
# ],
|
2900
|
-
# replicated_disks: [
|
2901
|
-
# {
|
2902
|
-
# device_name: "BoundedString",
|
2903
|
-
# iops: 1,
|
2904
|
-
# is_boot_disk: false,
|
2905
|
-
# optimized_staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
|
2906
|
-
# staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
|
2907
|
-
# throughput: 1,
|
2908
|
-
# },
|
2909
|
-
# ],
|
2910
|
-
# replication_server_instance_type: "EC2InstanceType",
|
2911
|
-
# replication_servers_security_groups_i_ds: ["SecurityGroupID"],
|
2912
|
-
# source_server_id: "SourceServerID", # required
|
2913
|
-
# staging_area_subnet_id: "SubnetID",
|
2914
|
-
# staging_area_tags: {
|
2915
|
-
# "TagKey" => "TagValue",
|
2916
|
-
# },
|
2917
|
-
# use_dedicated_replication_server: false,
|
2918
|
-
# }
|
2919
|
-
#
|
2920
2646
|
# @!attribute [rw] associate_default_security_group
|
2921
2647
|
# Whether to associate the default Elastic Disaster Recovery Security
|
2922
2648
|
# group with the Replication Configuration.
|
@@ -3011,37 +2737,6 @@ module Aws::Drs
|
|
3011
2737
|
include Aws::Structure
|
3012
2738
|
end
|
3013
2739
|
|
3014
|
-
# @note When making an API call, you may pass UpdateReplicationConfigurationTemplateRequest
|
3015
|
-
# data as a hash:
|
3016
|
-
#
|
3017
|
-
# {
|
3018
|
-
# arn: "ARN",
|
3019
|
-
# associate_default_security_group: false,
|
3020
|
-
# bandwidth_throttling: 1,
|
3021
|
-
# create_public_ip: false,
|
3022
|
-
# data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
|
3023
|
-
# default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1, AUTO
|
3024
|
-
# ebs_encryption: "DEFAULT", # accepts DEFAULT, CUSTOM
|
3025
|
-
# ebs_encryption_key_arn: "ARN",
|
3026
|
-
# pit_policy: [
|
3027
|
-
# {
|
3028
|
-
# enabled: false,
|
3029
|
-
# interval: 1, # required
|
3030
|
-
# retention_duration: 1, # required
|
3031
|
-
# rule_id: 1,
|
3032
|
-
# units: "MINUTE", # required, accepts MINUTE, HOUR, DAY
|
3033
|
-
# },
|
3034
|
-
# ],
|
3035
|
-
# replication_configuration_template_id: "ReplicationConfigurationTemplateID", # required
|
3036
|
-
# replication_server_instance_type: "EC2InstanceType",
|
3037
|
-
# replication_servers_security_groups_i_ds: ["SecurityGroupID"],
|
3038
|
-
# staging_area_subnet_id: "SubnetID",
|
3039
|
-
# staging_area_tags: {
|
3040
|
-
# "TagKey" => "TagValue",
|
3041
|
-
# },
|
3042
|
-
# use_dedicated_replication_server: false,
|
3043
|
-
# }
|
3044
|
-
#
|
3045
2740
|
# @!attribute [rw] arn
|
3046
2741
|
# The Replication Configuration Template ARN.
|
3047
2742
|
# @return [String]
|