aws-sdk-drs 1.3.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ea01e84ee4f93247622ac3d606171f7b2a9ffe9da94f11945e356ea0ef7ad32
4
- data.tar.gz: c011ce87511f7aead2efaf86a9731908b03097b21c95ef9bd3967aaed9681dcb
3
+ metadata.gz: d03afd206d3e550043df1c1bba1fa4a7ab9a979562324870a34c32ae70edc9c0
4
+ data.tar.gz: 031a87d08b289ae64eb053a041206f019b095893d311d7436ce65c53782bb408
5
5
  SHA512:
6
- metadata.gz: dd32344f5d97ffc73082d82ef0e5ff314d6d15f77b5633776706dc75466b68c602c6af10632c09202950bd5d647ea11a2293bccc35030040fa98448a477f05b7
7
- data.tar.gz: 0f655b7848175048ea6df236a13c41adb7ba451073eb37f82a4075e3c7bba97001e03eda86987dd101a3aa331b4de1e9bb9d73c40ea8acdfeed122e5dd98882f
6
+ metadata.gz: 9291053abb85dfadbe75233beb7625d1cb2d1f4fc044bb15e5bb5fc3ae9717b5020b1591ba39b410f4d0ace0fa206c546ff2ae389335c2f2d62500ad1a144aa5
7
+ data.tar.gz: 9170d8e2ca5f5f2c2b5d9bc6fb0cdf7be91a95896af62c2c05d3c0bdb5904e45d914e2b215a308d2edbfe6a94bbf007240fb43055fad97c64e6caca89ddffad6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.6.0 (2022-07-15)
5
+ ------------------
6
+
7
+ * Feature - Changed existing APIs to allow choosing a dynamic volume type for replicating volumes, to reduce costs for customers.
8
+
9
+ 1.5.0 (2022-05-31)
10
+ ------------------
11
+
12
+ * Feature - Changed existing APIs and added new APIs to accommodate using multiple AWS accounts with AWS Elastic Disaster Recovery.
13
+
14
+ 1.4.0 (2022-02-24)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.3.0 (2022-02-03)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.6.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::Drs
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -349,6 +351,93 @@ module Aws::Drs
349
351
 
350
352
  # @!group API Operations
351
353
 
354
+ # Create an extended source server in the target Account based on the
355
+ # source server in staging account.
356
+ #
357
+ # @option params [required, String] :source_server_arn
358
+ # This defines the ARN of the source server in staging Account based on
359
+ # which you want to create an extended source server.
360
+ #
361
+ # @option params [Hash<String,String>] :tags
362
+ # A list of tags associated with the extended source server.
363
+ #
364
+ # @return [Types::CreateExtendedSourceServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
365
+ #
366
+ # * {Types::CreateExtendedSourceServerResponse#source_server #source_server} => Types::SourceServer
367
+ #
368
+ # @example Request syntax with placeholder values
369
+ #
370
+ # resp = client.create_extended_source_server({
371
+ # source_server_arn: "SourceServerARN", # required
372
+ # tags: {
373
+ # "TagKey" => "TagValue",
374
+ # },
375
+ # })
376
+ #
377
+ # @example Response structure
378
+ #
379
+ # resp.source_server.arn #=> String
380
+ # resp.source_server.data_replication_info.data_replication_error.error #=> String, one of "AGENT_NOT_SEEN", "SNAPSHOTS_FAILURE", "NOT_CONVERGING", "UNSTABLE_NETWORK", "FAILED_TO_CREATE_SECURITY_GROUP", "FAILED_TO_LAUNCH_REPLICATION_SERVER", "FAILED_TO_BOOT_REPLICATION_SERVER", "FAILED_TO_AUTHENTICATE_WITH_SERVICE", "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", "FAILED_TO_CREATE_STAGING_DISKS", "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", "FAILED_TO_START_DATA_TRANSFER"
381
+ # resp.source_server.data_replication_info.data_replication_error.raw_error #=> String
382
+ # resp.source_server.data_replication_info.data_replication_initiation.next_attempt_date_time #=> String
383
+ # resp.source_server.data_replication_info.data_replication_initiation.start_date_time #=> String
384
+ # resp.source_server.data_replication_info.data_replication_initiation.steps #=> Array
385
+ # resp.source_server.data_replication_info.data_replication_initiation.steps[0].name #=> String, one of "WAIT", "CREATE_SECURITY_GROUP", "LAUNCH_REPLICATION_SERVER", "BOOT_REPLICATION_SERVER", "AUTHENTICATE_WITH_SERVICE", "DOWNLOAD_REPLICATION_SOFTWARE", "CREATE_STAGING_DISKS", "ATTACH_STAGING_DISKS", "PAIR_REPLICATION_SERVER_WITH_AGENT", "CONNECT_AGENT_TO_REPLICATION_SERVER", "START_DATA_TRANSFER"
386
+ # resp.source_server.data_replication_info.data_replication_initiation.steps[0].status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "SKIPPED"
387
+ # resp.source_server.data_replication_info.data_replication_state #=> String, one of "STOPPED", "INITIATING", "INITIAL_SYNC", "BACKLOG", "CREATING_SNAPSHOT", "CONTINUOUS", "PAUSED", "RESCAN", "STALLED", "DISCONNECTED"
388
+ # resp.source_server.data_replication_info.eta_date_time #=> String
389
+ # resp.source_server.data_replication_info.lag_duration #=> String
390
+ # resp.source_server.data_replication_info.replicated_disks #=> Array
391
+ # resp.source_server.data_replication_info.replicated_disks[0].backlogged_storage_bytes #=> Integer
392
+ # resp.source_server.data_replication_info.replicated_disks[0].device_name #=> String
393
+ # resp.source_server.data_replication_info.replicated_disks[0].replicated_storage_bytes #=> Integer
394
+ # resp.source_server.data_replication_info.replicated_disks[0].rescanned_storage_bytes #=> Integer
395
+ # resp.source_server.data_replication_info.replicated_disks[0].total_storage_bytes #=> Integer
396
+ # resp.source_server.last_launch_result #=> String, one of "NOT_STARTED", "PENDING", "SUCCEEDED", "FAILED"
397
+ # resp.source_server.life_cycle.added_to_service_date_time #=> String
398
+ # resp.source_server.life_cycle.elapsed_replication_duration #=> String
399
+ # resp.source_server.life_cycle.first_byte_date_time #=> String
400
+ # resp.source_server.life_cycle.last_launch.initiated.api_call_date_time #=> String
401
+ # resp.source_server.life_cycle.last_launch.initiated.job_id #=> String
402
+ # resp.source_server.life_cycle.last_launch.initiated.type #=> String, one of "RECOVERY", "DRILL"
403
+ # resp.source_server.life_cycle.last_seen_by_service_date_time #=> String
404
+ # resp.source_server.recovery_instance_id #=> String
405
+ # resp.source_server.source_properties.cpus #=> Array
406
+ # resp.source_server.source_properties.cpus[0].cores #=> Integer
407
+ # resp.source_server.source_properties.cpus[0].model_name #=> String
408
+ # resp.source_server.source_properties.disks #=> Array
409
+ # resp.source_server.source_properties.disks[0].bytes #=> Integer
410
+ # resp.source_server.source_properties.disks[0].device_name #=> String
411
+ # resp.source_server.source_properties.identification_hints.aws_instance_id #=> String
412
+ # resp.source_server.source_properties.identification_hints.fqdn #=> String
413
+ # resp.source_server.source_properties.identification_hints.hostname #=> String
414
+ # resp.source_server.source_properties.identification_hints.vm_ware_uuid #=> String
415
+ # resp.source_server.source_properties.last_updated_date_time #=> String
416
+ # resp.source_server.source_properties.network_interfaces #=> Array
417
+ # resp.source_server.source_properties.network_interfaces[0].ips #=> Array
418
+ # resp.source_server.source_properties.network_interfaces[0].ips[0] #=> String
419
+ # resp.source_server.source_properties.network_interfaces[0].is_primary #=> Boolean
420
+ # resp.source_server.source_properties.network_interfaces[0].mac_address #=> String
421
+ # resp.source_server.source_properties.os.full_string #=> String
422
+ # resp.source_server.source_properties.ram_bytes #=> Integer
423
+ # resp.source_server.source_properties.recommended_instance_type #=> String
424
+ # resp.source_server.source_server_id #=> String
425
+ # resp.source_server.staging_area.error_message #=> String
426
+ # resp.source_server.staging_area.staging_account_id #=> String
427
+ # resp.source_server.staging_area.staging_source_server_arn #=> String
428
+ # resp.source_server.staging_area.status #=> String, one of "EXTENDED", "EXTENSION_ERROR", "NOT_EXTENDED"
429
+ # resp.source_server.tags #=> Hash
430
+ # resp.source_server.tags["TagKey"] #=> String
431
+ #
432
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateExtendedSourceServer AWS API Documentation
433
+ #
434
+ # @overload create_extended_source_server(params = {})
435
+ # @param [Hash] params ({})
436
+ def create_extended_source_server(params = {}, options = {})
437
+ req = build_request(:create_extended_source_server, params)
438
+ req.send_request(options)
439
+ end
440
+
352
441
  # Creates a new ReplicationConfigurationTemplate.
353
442
  #
354
443
  # @option params [required, Boolean] :associate_default_security_group
@@ -426,7 +515,7 @@ module Aws::Drs
426
515
  # bandwidth_throttling: 1, # required
427
516
  # create_public_ip: false, # required
428
517
  # data_plane_routing: "PRIVATE_IP", # required, accepts PRIVATE_IP, PUBLIC_IP
429
- # default_large_staging_disk_type: "GP2", # required, accepts GP2, GP3, ST1
518
+ # default_large_staging_disk_type: "GP2", # required, accepts GP2, GP3, ST1, AUTO
430
519
  # ebs_encryption: "DEFAULT", # required, accepts DEFAULT, CUSTOM
431
520
  # ebs_encryption_key_arn: "ARN",
432
521
  # pit_policy: [ # required
@@ -457,7 +546,7 @@ module Aws::Drs
457
546
  # resp.bandwidth_throttling #=> Integer
458
547
  # resp.create_public_ip #=> Boolean
459
548
  # resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
460
- # resp.default_large_staging_disk_type #=> String, one of "GP2", "GP3", "ST1"
549
+ # resp.default_large_staging_disk_type #=> String, one of "GP2", "GP3", "ST1", "AUTO"
461
550
  # resp.ebs_encryption #=> String, one of "DEFAULT", "CUSTOM"
462
551
  # resp.ebs_encryption_key_arn #=> String
463
552
  # resp.pit_policy #=> Array
@@ -513,7 +602,7 @@ module Aws::Drs
513
602
  # Instance must be disconnected first in order to delete it.
514
603
  #
515
604
  # @option params [required, String] :recovery_instance_id
516
- # RThe ID of the Recovery Instance to be deleted.
605
+ # The ID of the Recovery Instance to be deleted.
517
606
  #
518
607
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
519
608
  #
@@ -607,6 +696,14 @@ module Aws::Drs
607
696
  #
608
697
  # resp.items #=> Array
609
698
  # resp.items[0].event #=> String, one of "JOB_START", "SERVER_SKIPPED", "CLEANUP_START", "CLEANUP_END", "CLEANUP_FAIL", "SNAPSHOT_START", "SNAPSHOT_END", "SNAPSHOT_FAIL", "USING_PREVIOUS_SNAPSHOT", "USING_PREVIOUS_SNAPSHOT_FAILED", "CONVERSION_START", "CONVERSION_END", "CONVERSION_FAIL", "LAUNCH_START", "LAUNCH_FAILED", "JOB_CANCEL", "JOB_END"
699
+ # resp.items[0].event_data.conversion_properties.data_timestamp #=> String
700
+ # resp.items[0].event_data.conversion_properties.force_uefi #=> Boolean
701
+ # resp.items[0].event_data.conversion_properties.root_volume_name #=> String
702
+ # resp.items[0].event_data.conversion_properties.volume_to_conversion_map #=> Hash
703
+ # resp.items[0].event_data.conversion_properties.volume_to_conversion_map["LargeBoundedString"] #=> Hash
704
+ # resp.items[0].event_data.conversion_properties.volume_to_conversion_map["LargeBoundedString"]["ebsSnapshot"] #=> String
705
+ # resp.items[0].event_data.conversion_properties.volume_to_volume_size #=> Hash
706
+ # resp.items[0].event_data.conversion_properties.volume_to_volume_size["LargeBoundedString"] #=> Integer
610
707
  # resp.items[0].event_data.conversion_server_id #=> String
611
708
  # resp.items[0].event_data.raw_error #=> String
612
709
  # resp.items[0].event_data.source_server_id #=> String
@@ -631,7 +728,7 @@ module Aws::Drs
631
728
  # TerminateDiagnosticInstances, which are APIs available only to
632
729
  # *Support* and only used in response to relevant support tickets.
633
730
  #
634
- # @option params [required, Types::DescribeJobsRequestFilters] :filters
731
+ # @option params [Types::DescribeJobsRequestFilters] :filters
635
732
  # A set of filters by which to return Jobs.
636
733
  #
637
734
  # @option params [Integer] :max_results
@@ -650,7 +747,7 @@ module Aws::Drs
650
747
  # @example Request syntax with placeholder values
651
748
  #
652
749
  # resp = client.describe_jobs({
653
- # filters: { # required
750
+ # filters: {
654
751
  # from_date: "ISO8601DatetimeString",
655
752
  # job_i_ds: ["JobID"],
656
753
  # to_date: "ISO8601DatetimeString",
@@ -665,7 +762,7 @@ module Aws::Drs
665
762
  # resp.items[0].arn #=> String
666
763
  # resp.items[0].creation_date_time #=> String
667
764
  # resp.items[0].end_date_time #=> String
668
- # resp.items[0].initiated_by #=> String, one of "START_RECOVERY", "START_DRILL", "FAILBACK", "DIAGNOSTIC", "TERMINATE_RECOVERY_INSTANCES"
765
+ # resp.items[0].initiated_by #=> String, one of "START_RECOVERY", "START_DRILL", "FAILBACK", "DIAGNOSTIC", "TERMINATE_RECOVERY_INSTANCES", "TARGET_ACCOUNT"
669
766
  # resp.items[0].job_id #=> String
670
767
  # resp.items[0].participating_servers #=> Array
671
768
  # resp.items[0].participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
@@ -674,7 +771,7 @@ module Aws::Drs
674
771
  # resp.items[0].status #=> String, one of "PENDING", "STARTED", "COMPLETED"
675
772
  # resp.items[0].tags #=> Hash
676
773
  # resp.items[0].tags["TagKey"] #=> String
677
- # resp.items[0].type #=> String, one of "LAUNCH", "TERMINATE"
774
+ # resp.items[0].type #=> String, one of "LAUNCH", "TERMINATE", "CREATE_CONVERTED_SNAPSHOT"
678
775
  # resp.next_token #=> String
679
776
  #
680
777
  # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeJobs AWS API Documentation
@@ -688,7 +785,7 @@ module Aws::Drs
688
785
 
689
786
  # Lists all Recovery Instances or multiple Recovery Instances by ID.
690
787
  #
691
- # @option params [required, Types::DescribeRecoveryInstancesRequestFilters] :filters
788
+ # @option params [Types::DescribeRecoveryInstancesRequestFilters] :filters
692
789
  # A set of filters by which to return Recovery Instances.
693
790
  #
694
791
  # @option params [Integer] :max_results
@@ -707,7 +804,7 @@ module Aws::Drs
707
804
  # @example Request syntax with placeholder values
708
805
  #
709
806
  # resp = client.describe_recovery_instances({
710
- # filters: { # required
807
+ # filters: {
711
808
  # recovery_instance_i_ds: ["RecoveryInstanceID"],
712
809
  # source_server_i_ds: ["SourceServerID"],
713
810
  # },
@@ -848,7 +945,7 @@ module Aws::Drs
848
945
  # @option params [String] :next_token
849
946
  # The token of the next Replication Configuration Template to retrieve.
850
947
  #
851
- # @option params [required, Array<String>] :replication_configuration_template_i_ds
948
+ # @option params [Array<String>] :replication_configuration_template_i_ds
852
949
  # The IDs of the Replication Configuration Templates to retrieve. An
853
950
  # empty list means all Replication Configuration Templates.
854
951
  #
@@ -864,7 +961,7 @@ module Aws::Drs
864
961
  # resp = client.describe_replication_configuration_templates({
865
962
  # max_results: 1,
866
963
  # next_token: "PaginationToken",
867
- # replication_configuration_template_i_ds: ["ReplicationConfigurationTemplateID"], # required
964
+ # replication_configuration_template_i_ds: ["ReplicationConfigurationTemplateID"],
868
965
  # })
869
966
  #
870
967
  # @example Response structure
@@ -875,7 +972,7 @@ module Aws::Drs
875
972
  # resp.items[0].bandwidth_throttling #=> Integer
876
973
  # resp.items[0].create_public_ip #=> Boolean
877
974
  # resp.items[0].data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
878
- # resp.items[0].default_large_staging_disk_type #=> String, one of "GP2", "GP3", "ST1"
975
+ # resp.items[0].default_large_staging_disk_type #=> String, one of "GP2", "GP3", "ST1", "AUTO"
879
976
  # resp.items[0].ebs_encryption #=> String, one of "DEFAULT", "CUSTOM"
880
977
  # resp.items[0].ebs_encryption_key_arn #=> String
881
978
  # resp.items[0].pit_policy #=> Array
@@ -907,7 +1004,7 @@ module Aws::Drs
907
1004
 
908
1005
  # Lists all Source Servers or multiple Source Servers filtered by ID.
909
1006
  #
910
- # @option params [required, Types::DescribeSourceServersRequestFilters] :filters
1007
+ # @option params [Types::DescribeSourceServersRequestFilters] :filters
911
1008
  # A set of filters by which to return Source Servers.
912
1009
  #
913
1010
  # @option params [Integer] :max_results
@@ -926,9 +1023,10 @@ module Aws::Drs
926
1023
  # @example Request syntax with placeholder values
927
1024
  #
928
1025
  # resp = client.describe_source_servers({
929
- # filters: { # required
1026
+ # filters: {
930
1027
  # hardware_id: "BoundedString",
931
1028
  # source_server_i_ds: ["SourceServerID"],
1029
+ # staging_account_i_ds: ["AccountID"],
932
1030
  # },
933
1031
  # max_results: 1,
934
1032
  # next_token: "PaginationToken",
@@ -983,6 +1081,10 @@ module Aws::Drs
983
1081
  # resp.items[0].source_properties.ram_bytes #=> Integer
984
1082
  # resp.items[0].source_properties.recommended_instance_type #=> String
985
1083
  # resp.items[0].source_server_id #=> String
1084
+ # resp.items[0].staging_area.error_message #=> String
1085
+ # resp.items[0].staging_area.staging_account_id #=> String
1086
+ # resp.items[0].staging_area.staging_source_server_arn #=> String
1087
+ # resp.items[0].staging_area.status #=> String, one of "EXTENDED", "EXTENSION_ERROR", "NOT_EXTENDED"
986
1088
  # resp.items[0].tags #=> Hash
987
1089
  # resp.items[0].tags["TagKey"] #=> String
988
1090
  # resp.next_token #=> String
@@ -1057,6 +1159,7 @@ module Aws::Drs
1057
1159
  # * {Types::SourceServer#recovery_instance_id #recovery_instance_id} => String
1058
1160
  # * {Types::SourceServer#source_properties #source_properties} => Types::SourceProperties
1059
1161
  # * {Types::SourceServer#source_server_id #source_server_id} => String
1162
+ # * {Types::SourceServer#staging_area #staging_area} => Types::StagingArea
1060
1163
  # * {Types::SourceServer#tags #tags} => Hash&lt;String,String&gt;
1061
1164
  #
1062
1165
  # @example Request syntax with placeholder values
@@ -1113,6 +1216,10 @@ module Aws::Drs
1113
1216
  # resp.source_properties.ram_bytes #=> Integer
1114
1217
  # resp.source_properties.recommended_instance_type #=> String
1115
1218
  # resp.source_server_id #=> String
1219
+ # resp.staging_area.error_message #=> String
1220
+ # resp.staging_area.staging_account_id #=> String
1221
+ # resp.staging_area.staging_source_server_arn #=> String
1222
+ # resp.staging_area.status #=> String, one of "EXTENDED", "EXTENSION_ERROR", "NOT_EXTENDED"
1116
1223
  # resp.tags #=> Hash
1117
1224
  # resp.tags["TagKey"] #=> String
1118
1225
  #
@@ -1240,7 +1347,7 @@ module Aws::Drs
1240
1347
  # resp.bandwidth_throttling #=> Integer
1241
1348
  # resp.create_public_ip #=> Boolean
1242
1349
  # resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
1243
- # resp.default_large_staging_disk_type #=> String, one of "GP2", "GP3", "ST1"
1350
+ # resp.default_large_staging_disk_type #=> String, one of "GP2", "GP3", "ST1", "AUTO"
1244
1351
  # resp.ebs_encryption #=> String, one of "DEFAULT", "CUSTOM"
1245
1352
  # resp.ebs_encryption_key_arn #=> String
1246
1353
  # resp.name #=> String
@@ -1254,6 +1361,7 @@ module Aws::Drs
1254
1361
  # resp.replicated_disks[0].device_name #=> String
1255
1362
  # resp.replicated_disks[0].iops #=> Integer
1256
1363
  # resp.replicated_disks[0].is_boot_disk #=> Boolean
1364
+ # resp.replicated_disks[0].optimized_staging_disk_type #=> String, one of "AUTO", "GP2", "GP3", "IO1", "SC1", "ST1", "STANDARD"
1257
1365
  # resp.replicated_disks[0].staging_disk_type #=> String, one of "AUTO", "GP2", "GP3", "IO1", "SC1", "ST1", "STANDARD"
1258
1366
  # resp.replicated_disks[0].throughput #=> Integer
1259
1367
  # resp.replication_server_instance_type #=> String
@@ -1287,6 +1395,92 @@ module Aws::Drs
1287
1395
  req.send_request(options)
1288
1396
  end
1289
1397
 
1398
+ # Returns a list of source servers on a staging account that are
1399
+ # extensible, which means that: a. The source server is not already
1400
+ # extended into this Account. b. The source server on the Account we’re
1401
+ # reading from is not an extension of another source server.
1402
+ #
1403
+ # @option params [Integer] :max_results
1404
+ # The maximum number of extensible source servers to retrieve.
1405
+ #
1406
+ # @option params [String] :next_token
1407
+ # The token of the next extensible source server to retrieve.
1408
+ #
1409
+ # @option params [required, String] :staging_account_id
1410
+ # The Id of the staging Account to retrieve extensible source servers
1411
+ # from.
1412
+ #
1413
+ # @return [Types::ListExtensibleSourceServersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1414
+ #
1415
+ # * {Types::ListExtensibleSourceServersResponse#items #items} => Array&lt;Types::StagingSourceServer&gt;
1416
+ # * {Types::ListExtensibleSourceServersResponse#next_token #next_token} => String
1417
+ #
1418
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1419
+ #
1420
+ # @example Request syntax with placeholder values
1421
+ #
1422
+ # resp = client.list_extensible_source_servers({
1423
+ # max_results: 1,
1424
+ # next_token: "PaginationToken",
1425
+ # staging_account_id: "AccountID", # required
1426
+ # })
1427
+ #
1428
+ # @example Response structure
1429
+ #
1430
+ # resp.items #=> Array
1431
+ # resp.items[0].arn #=> String
1432
+ # resp.items[0].hostname #=> String
1433
+ # resp.items[0].tags #=> Hash
1434
+ # resp.items[0].tags["TagKey"] #=> String
1435
+ # resp.next_token #=> String
1436
+ #
1437
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListExtensibleSourceServers AWS API Documentation
1438
+ #
1439
+ # @overload list_extensible_source_servers(params = {})
1440
+ # @param [Hash] params ({})
1441
+ def list_extensible_source_servers(params = {}, options = {})
1442
+ req = build_request(:list_extensible_source_servers, params)
1443
+ req.send_request(options)
1444
+ end
1445
+
1446
+ # Returns an array of staging accounts for existing extended source
1447
+ # servers.
1448
+ #
1449
+ # @option params [Integer] :max_results
1450
+ # The maximum number of staging Accounts to retrieve.
1451
+ #
1452
+ # @option params [String] :next_token
1453
+ # The token of the next staging Account to retrieve.
1454
+ #
1455
+ # @return [Types::ListStagingAccountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1456
+ #
1457
+ # * {Types::ListStagingAccountsResponse#accounts #accounts} => Array&lt;Types::Account&gt;
1458
+ # * {Types::ListStagingAccountsResponse#next_token #next_token} => String
1459
+ #
1460
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1461
+ #
1462
+ # @example Request syntax with placeholder values
1463
+ #
1464
+ # resp = client.list_staging_accounts({
1465
+ # max_results: 1,
1466
+ # next_token: "PaginationToken",
1467
+ # })
1468
+ #
1469
+ # @example Response structure
1470
+ #
1471
+ # resp.accounts #=> Array
1472
+ # resp.accounts[0].account_id #=> String
1473
+ # resp.next_token #=> String
1474
+ #
1475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListStagingAccounts AWS API Documentation
1476
+ #
1477
+ # @overload list_staging_accounts(params = {})
1478
+ # @param [Hash] params ({})
1479
+ def list_staging_accounts(params = {}, options = {})
1480
+ req = build_request(:list_staging_accounts, params)
1481
+ req.send_request(options)
1482
+ end
1483
+
1290
1484
  # List all tags for your Elastic Disaster Recovery resources.
1291
1485
  #
1292
1486
  # @option params [required, String] :resource_arn
@@ -1333,6 +1527,7 @@ module Aws::Drs
1333
1527
  # * {Types::SourceServer#recovery_instance_id #recovery_instance_id} => String
1334
1528
  # * {Types::SourceServer#source_properties #source_properties} => Types::SourceProperties
1335
1529
  # * {Types::SourceServer#source_server_id #source_server_id} => String
1530
+ # * {Types::SourceServer#staging_area #staging_area} => Types::StagingArea
1336
1531
  # * {Types::SourceServer#tags #tags} => Hash&lt;String,String&gt;
1337
1532
  #
1338
1533
  # @example Request syntax with placeholder values
@@ -1389,6 +1584,10 @@ module Aws::Drs
1389
1584
  # resp.source_properties.ram_bytes #=> Integer
1390
1585
  # resp.source_properties.recommended_instance_type #=> String
1391
1586
  # resp.source_server_id #=> String
1587
+ # resp.staging_area.error_message #=> String
1588
+ # resp.staging_area.staging_account_id #=> String
1589
+ # resp.staging_area.staging_source_server_arn #=> String
1590
+ # resp.staging_area.status #=> String, one of "EXTENDED", "EXTENSION_ERROR", "NOT_EXTENDED"
1392
1591
  # resp.tags #=> Hash
1393
1592
  # resp.tags["TagKey"] #=> String
1394
1593
  #
@@ -1431,7 +1630,7 @@ module Aws::Drs
1431
1630
  # resp.job.arn #=> String
1432
1631
  # resp.job.creation_date_time #=> String
1433
1632
  # resp.job.end_date_time #=> String
1434
- # resp.job.initiated_by #=> String, one of "START_RECOVERY", "START_DRILL", "FAILBACK", "DIAGNOSTIC", "TERMINATE_RECOVERY_INSTANCES"
1633
+ # resp.job.initiated_by #=> String, one of "START_RECOVERY", "START_DRILL", "FAILBACK", "DIAGNOSTIC", "TERMINATE_RECOVERY_INSTANCES", "TARGET_ACCOUNT"
1435
1634
  # resp.job.job_id #=> String
1436
1635
  # resp.job.participating_servers #=> Array
1437
1636
  # resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
@@ -1440,7 +1639,7 @@ module Aws::Drs
1440
1639
  # resp.job.status #=> String, one of "PENDING", "STARTED", "COMPLETED"
1441
1640
  # resp.job.tags #=> Hash
1442
1641
  # resp.job.tags["TagKey"] #=> String
1443
- # resp.job.type #=> String, one of "LAUNCH", "TERMINATE"
1642
+ # resp.job.type #=> String, one of "LAUNCH", "TERMINATE", "CREATE_CONVERTED_SNAPSHOT"
1444
1643
  #
1445
1644
  # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartFailbackLaunch AWS API Documentation
1446
1645
  #
@@ -1488,7 +1687,7 @@ module Aws::Drs
1488
1687
  # resp.job.arn #=> String
1489
1688
  # resp.job.creation_date_time #=> String
1490
1689
  # resp.job.end_date_time #=> String
1491
- # resp.job.initiated_by #=> String, one of "START_RECOVERY", "START_DRILL", "FAILBACK", "DIAGNOSTIC", "TERMINATE_RECOVERY_INSTANCES"
1690
+ # resp.job.initiated_by #=> String, one of "START_RECOVERY", "START_DRILL", "FAILBACK", "DIAGNOSTIC", "TERMINATE_RECOVERY_INSTANCES", "TARGET_ACCOUNT"
1492
1691
  # resp.job.job_id #=> String
1493
1692
  # resp.job.participating_servers #=> Array
1494
1693
  # resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
@@ -1497,7 +1696,7 @@ module Aws::Drs
1497
1696
  # resp.job.status #=> String, one of "PENDING", "STARTED", "COMPLETED"
1498
1697
  # resp.job.tags #=> Hash
1499
1698
  # resp.job.tags["TagKey"] #=> String
1500
- # resp.job.type #=> String, one of "LAUNCH", "TERMINATE"
1699
+ # resp.job.type #=> String, one of "LAUNCH", "TERMINATE", "CREATE_CONVERTED_SNAPSHOT"
1501
1700
  #
1502
1701
  # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartRecovery AWS API Documentation
1503
1702
  #
@@ -1586,7 +1785,7 @@ module Aws::Drs
1586
1785
  # resp.job.arn #=> String
1587
1786
  # resp.job.creation_date_time #=> String
1588
1787
  # resp.job.end_date_time #=> String
1589
- # resp.job.initiated_by #=> String, one of "START_RECOVERY", "START_DRILL", "FAILBACK", "DIAGNOSTIC", "TERMINATE_RECOVERY_INSTANCES"
1788
+ # resp.job.initiated_by #=> String, one of "START_RECOVERY", "START_DRILL", "FAILBACK", "DIAGNOSTIC", "TERMINATE_RECOVERY_INSTANCES", "TARGET_ACCOUNT"
1590
1789
  # resp.job.job_id #=> String
1591
1790
  # resp.job.participating_servers #=> Array
1592
1791
  # resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
@@ -1595,7 +1794,7 @@ module Aws::Drs
1595
1794
  # resp.job.status #=> String, one of "PENDING", "STARTED", "COMPLETED"
1596
1795
  # resp.job.tags #=> Hash
1597
1796
  # resp.job.tags["TagKey"] #=> String
1598
- # resp.job.type #=> String, one of "LAUNCH", "TERMINATE"
1797
+ # resp.job.type #=> String, one of "LAUNCH", "TERMINATE", "CREATE_CONVERTED_SNAPSHOT"
1599
1798
  #
1600
1799
  # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/TerminateRecoveryInstances AWS API Documentation
1601
1800
  #
@@ -1826,7 +2025,7 @@ module Aws::Drs
1826
2025
  # bandwidth_throttling: 1,
1827
2026
  # create_public_ip: false,
1828
2027
  # data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
1829
- # default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1
2028
+ # default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1, AUTO
1830
2029
  # ebs_encryption: "DEFAULT", # accepts DEFAULT, CUSTOM
1831
2030
  # ebs_encryption_key_arn: "ARN",
1832
2031
  # name: "SmallBoundedString",
@@ -1844,6 +2043,7 @@ module Aws::Drs
1844
2043
  # device_name: "BoundedString",
1845
2044
  # iops: 1,
1846
2045
  # is_boot_disk: false,
2046
+ # optimized_staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
1847
2047
  # staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
1848
2048
  # throughput: 1,
1849
2049
  # },
@@ -1864,7 +2064,7 @@ module Aws::Drs
1864
2064
  # resp.bandwidth_throttling #=> Integer
1865
2065
  # resp.create_public_ip #=> Boolean
1866
2066
  # resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
1867
- # resp.default_large_staging_disk_type #=> String, one of "GP2", "GP3", "ST1"
2067
+ # resp.default_large_staging_disk_type #=> String, one of "GP2", "GP3", "ST1", "AUTO"
1868
2068
  # resp.ebs_encryption #=> String, one of "DEFAULT", "CUSTOM"
1869
2069
  # resp.ebs_encryption_key_arn #=> String
1870
2070
  # resp.name #=> String
@@ -1878,6 +2078,7 @@ module Aws::Drs
1878
2078
  # resp.replicated_disks[0].device_name #=> String
1879
2079
  # resp.replicated_disks[0].iops #=> Integer
1880
2080
  # resp.replicated_disks[0].is_boot_disk #=> Boolean
2081
+ # resp.replicated_disks[0].optimized_staging_disk_type #=> String, one of "AUTO", "GP2", "GP3", "IO1", "SC1", "ST1", "STANDARD"
1881
2082
  # resp.replicated_disks[0].staging_disk_type #=> String, one of "AUTO", "GP2", "GP3", "IO1", "SC1", "ST1", "STANDARD"
1882
2083
  # resp.replicated_disks[0].throughput #=> Integer
1883
2084
  # resp.replication_server_instance_type #=> String
@@ -1978,7 +2179,7 @@ module Aws::Drs
1978
2179
  # bandwidth_throttling: 1,
1979
2180
  # create_public_ip: false,
1980
2181
  # data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
1981
- # default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1
2182
+ # default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1, AUTO
1982
2183
  # ebs_encryption: "DEFAULT", # accepts DEFAULT, CUSTOM
1983
2184
  # ebs_encryption_key_arn: "ARN",
1984
2185
  # pit_policy: [
@@ -2007,7 +2208,7 @@ module Aws::Drs
2007
2208
  # resp.bandwidth_throttling #=> Integer
2008
2209
  # resp.create_public_ip #=> Boolean
2009
2210
  # resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
2010
- # resp.default_large_staging_disk_type #=> String, one of "GP2", "GP3", "ST1"
2211
+ # resp.default_large_staging_disk_type #=> String, one of "GP2", "GP3", "ST1", "AUTO"
2011
2212
  # resp.ebs_encryption #=> String, one of "DEFAULT", "CUSTOM"
2012
2213
  # resp.ebs_encryption_key_arn #=> String
2013
2214
  # resp.pit_policy #=> Array
@@ -2049,7 +2250,7 @@ module Aws::Drs
2049
2250
  params: params,
2050
2251
  config: config)
2051
2252
  context[:gem_name] = 'aws-sdk-drs'
2052
- context[:gem_version] = '1.3.0'
2253
+ context[:gem_version] = '1.6.0'
2053
2254
  Seahorse::Client::Request.new(handlers, context)
2054
2255
  end
2055
2256