aws-sdk-drs 1.11.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-drs/client.rb +230 -6
- data/lib/aws-sdk-drs/client_api.rb +134 -4
- data/lib/aws-sdk-drs/endpoints.rb +56 -0
- data/lib/aws-sdk-drs/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-drs/types.rb +242 -1
- data/lib/aws-sdk-drs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99f0bf326d3a81242c22334908832627e14e92b0505433b03b5eda30e3e7b7b8
|
4
|
+
data.tar.gz: f34be4818d80e77a99a9d6ac3625fbb2421b964f1774d96c69855ee840e7d136
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 511a5f2bcb432d7862a440972bd5d3218f97a740723d3d8f9d8cdd1180586c9119001d468e8abc60940be454c1b8e600b3405bcee571d4f4228321315680153b
|
7
|
+
data.tar.gz: cb5b3c00280b0aaf0c0aa748660496b56d0ad1fd395418ed6424690d1eee9436938f3fba1905832c0dfdb9dace6e5c9713039f051c77490f77957c7fe017fefd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.13.0 (2023-04-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Changed existing APIs and added new APIs to support using an account-level launch configuration template with AWS Elastic Disaster Recovery.
|
8
|
+
|
9
|
+
1.12.0 (2023-03-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adding a field to the replication configuration APIs to support the auto replicate new disks feature. We also deprecated RetryDataReplication.
|
13
|
+
|
4
14
|
1.11.0 (2023-02-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.13.0
|
data/lib/aws-sdk-drs/client.rb
CHANGED
@@ -445,6 +445,7 @@ module Aws::Drs
|
|
445
445
|
# resp.source_server.source_properties.os.full_string #=> String
|
446
446
|
# resp.source_server.source_properties.ram_bytes #=> Integer
|
447
447
|
# resp.source_server.source_properties.recommended_instance_type #=> String
|
448
|
+
# resp.source_server.source_properties.supports_nitro_instances #=> Boolean
|
448
449
|
# resp.source_server.source_server_id #=> String
|
449
450
|
# resp.source_server.staging_area.error_message #=> String
|
450
451
|
# resp.source_server.staging_area.staging_account_id #=> String
|
@@ -462,12 +463,77 @@ module Aws::Drs
|
|
462
463
|
req.send_request(options)
|
463
464
|
end
|
464
465
|
|
466
|
+
# Creates a new Launch Configuration Template.
|
467
|
+
#
|
468
|
+
# @option params [Boolean] :copy_private_ip
|
469
|
+
# Copy private IP.
|
470
|
+
#
|
471
|
+
# @option params [Boolean] :copy_tags
|
472
|
+
# Copy tags.
|
473
|
+
#
|
474
|
+
# @option params [String] :launch_disposition
|
475
|
+
# Launch disposition.
|
476
|
+
#
|
477
|
+
# @option params [Types::Licensing] :licensing
|
478
|
+
# Licensing.
|
479
|
+
#
|
480
|
+
# @option params [Hash<String,String>] :tags
|
481
|
+
# Request to associate tags during creation of a Launch Configuration
|
482
|
+
# Template.
|
483
|
+
#
|
484
|
+
# @option params [String] :target_instance_type_right_sizing_method
|
485
|
+
# Target instance type right-sizing method.
|
486
|
+
#
|
487
|
+
# @return [Types::CreateLaunchConfigurationTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
488
|
+
#
|
489
|
+
# * {Types::CreateLaunchConfigurationTemplateResponse#launch_configuration_template #launch_configuration_template} => Types::LaunchConfigurationTemplate
|
490
|
+
#
|
491
|
+
# @example Request syntax with placeholder values
|
492
|
+
#
|
493
|
+
# resp = client.create_launch_configuration_template({
|
494
|
+
# copy_private_ip: false,
|
495
|
+
# copy_tags: false,
|
496
|
+
# launch_disposition: "STOPPED", # accepts STOPPED, STARTED
|
497
|
+
# licensing: {
|
498
|
+
# os_byol: false,
|
499
|
+
# },
|
500
|
+
# tags: {
|
501
|
+
# "TagKey" => "TagValue",
|
502
|
+
# },
|
503
|
+
# target_instance_type_right_sizing_method: "NONE", # accepts NONE, BASIC
|
504
|
+
# })
|
505
|
+
#
|
506
|
+
# @example Response structure
|
507
|
+
#
|
508
|
+
# resp.launch_configuration_template.arn #=> String
|
509
|
+
# resp.launch_configuration_template.copy_private_ip #=> Boolean
|
510
|
+
# resp.launch_configuration_template.copy_tags #=> Boolean
|
511
|
+
# resp.launch_configuration_template.launch_configuration_template_id #=> String
|
512
|
+
# resp.launch_configuration_template.launch_disposition #=> String, one of "STOPPED", "STARTED"
|
513
|
+
# resp.launch_configuration_template.licensing.os_byol #=> Boolean
|
514
|
+
# resp.launch_configuration_template.tags #=> Hash
|
515
|
+
# resp.launch_configuration_template.tags["TagKey"] #=> String
|
516
|
+
# resp.launch_configuration_template.target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC"
|
517
|
+
#
|
518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateLaunchConfigurationTemplate AWS API Documentation
|
519
|
+
#
|
520
|
+
# @overload create_launch_configuration_template(params = {})
|
521
|
+
# @param [Hash] params ({})
|
522
|
+
def create_launch_configuration_template(params = {}, options = {})
|
523
|
+
req = build_request(:create_launch_configuration_template, params)
|
524
|
+
req.send_request(options)
|
525
|
+
end
|
526
|
+
|
465
527
|
# Creates a new ReplicationConfigurationTemplate.
|
466
528
|
#
|
467
529
|
# @option params [required, Boolean] :associate_default_security_group
|
468
530
|
# Whether to associate the default Elastic Disaster Recovery Security
|
469
531
|
# group with the Replication Configuration Template.
|
470
532
|
#
|
533
|
+
# @option params [Boolean] :auto_replicate_new_disks
|
534
|
+
# Whether to allow the AWS replication agent to automatically replicate
|
535
|
+
# newly added disks.
|
536
|
+
#
|
471
537
|
# @option params [required, Integer] :bandwidth_throttling
|
472
538
|
# Configure bandwidth throttling for the outbound data transfer rate of
|
473
539
|
# the Source Server in Mbps.
|
@@ -517,6 +583,7 @@ module Aws::Drs
|
|
517
583
|
#
|
518
584
|
# * {Types::ReplicationConfigurationTemplate#arn #arn} => String
|
519
585
|
# * {Types::ReplicationConfigurationTemplate#associate_default_security_group #associate_default_security_group} => Boolean
|
586
|
+
# * {Types::ReplicationConfigurationTemplate#auto_replicate_new_disks #auto_replicate_new_disks} => Boolean
|
520
587
|
# * {Types::ReplicationConfigurationTemplate#bandwidth_throttling #bandwidth_throttling} => Integer
|
521
588
|
# * {Types::ReplicationConfigurationTemplate#create_public_ip #create_public_ip} => Boolean
|
522
589
|
# * {Types::ReplicationConfigurationTemplate#data_plane_routing #data_plane_routing} => String
|
@@ -536,6 +603,7 @@ module Aws::Drs
|
|
536
603
|
#
|
537
604
|
# resp = client.create_replication_configuration_template({
|
538
605
|
# associate_default_security_group: false, # required
|
606
|
+
# auto_replicate_new_disks: false,
|
539
607
|
# bandwidth_throttling: 1, # required
|
540
608
|
# create_public_ip: false, # required
|
541
609
|
# data_plane_routing: "PRIVATE_IP", # required, accepts PRIVATE_IP, PUBLIC_IP
|
@@ -567,6 +635,7 @@ module Aws::Drs
|
|
567
635
|
#
|
568
636
|
# resp.arn #=> String
|
569
637
|
# resp.associate_default_security_group #=> Boolean
|
638
|
+
# resp.auto_replicate_new_disks #=> Boolean
|
570
639
|
# resp.bandwidth_throttling #=> Integer
|
571
640
|
# resp.create_public_ip #=> Boolean
|
572
641
|
# resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
@@ -621,6 +690,28 @@ module Aws::Drs
|
|
621
690
|
req.send_request(options)
|
622
691
|
end
|
623
692
|
|
693
|
+
# Deletes a single Launch Configuration Template by ID.
|
694
|
+
#
|
695
|
+
# @option params [required, String] :launch_configuration_template_id
|
696
|
+
# The ID of the Launch Configuration Template to be deleted.
|
697
|
+
#
|
698
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
699
|
+
#
|
700
|
+
# @example Request syntax with placeholder values
|
701
|
+
#
|
702
|
+
# resp = client.delete_launch_configuration_template({
|
703
|
+
# launch_configuration_template_id: "LaunchConfigurationTemplateID", # required
|
704
|
+
# })
|
705
|
+
#
|
706
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteLaunchConfigurationTemplate AWS API Documentation
|
707
|
+
#
|
708
|
+
# @overload delete_launch_configuration_template(params = {})
|
709
|
+
# @param [Hash] params ({})
|
710
|
+
def delete_launch_configuration_template(params = {}, options = {})
|
711
|
+
req = build_request(:delete_launch_configuration_template, params)
|
712
|
+
req.send_request(options)
|
713
|
+
end
|
714
|
+
|
624
715
|
# Deletes a single Recovery Instance by ID. This deletes the Recovery
|
625
716
|
# Instance resource from Elastic Disaster Recovery. The Recovery
|
626
717
|
# Instance must be disconnected first in order to delete it.
|
@@ -725,7 +816,7 @@ module Aws::Drs
|
|
725
816
|
# resp.items[0].event_data.conversion_properties.root_volume_name #=> String
|
726
817
|
# resp.items[0].event_data.conversion_properties.volume_to_conversion_map #=> Hash
|
727
818
|
# resp.items[0].event_data.conversion_properties.volume_to_conversion_map["LargeBoundedString"] #=> Hash
|
728
|
-
# resp.items[0].event_data.conversion_properties.volume_to_conversion_map["LargeBoundedString"]["
|
819
|
+
# resp.items[0].event_data.conversion_properties.volume_to_conversion_map["LargeBoundedString"]["EbsSnapshot"] #=> String
|
729
820
|
# resp.items[0].event_data.conversion_properties.volume_to_volume_size #=> Hash
|
730
821
|
# resp.items[0].event_data.conversion_properties.volume_to_volume_size["LargeBoundedString"] #=> Integer
|
731
822
|
# resp.items[0].event_data.conversion_server_id #=> String
|
@@ -807,6 +898,58 @@ module Aws::Drs
|
|
807
898
|
req.send_request(options)
|
808
899
|
end
|
809
900
|
|
901
|
+
# Lists all Launch Configuration Templates, filtered by Launch
|
902
|
+
# Configuration Template IDs
|
903
|
+
#
|
904
|
+
# @option params [Array<String>] :launch_configuration_template_i_ds
|
905
|
+
# Request to filter Launch Configuration Templates list by Launch
|
906
|
+
# Configuration Template ID.
|
907
|
+
#
|
908
|
+
# @option params [Integer] :max_results
|
909
|
+
# Maximum results to be returned in
|
910
|
+
# DescribeLaunchConfigurationTemplates.
|
911
|
+
#
|
912
|
+
# @option params [String] :next_token
|
913
|
+
# The token of the next Launch Configuration Template to retrieve.
|
914
|
+
#
|
915
|
+
# @return [Types::DescribeLaunchConfigurationTemplatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
916
|
+
#
|
917
|
+
# * {Types::DescribeLaunchConfigurationTemplatesResponse#items #items} => Array<Types::LaunchConfigurationTemplate>
|
918
|
+
# * {Types::DescribeLaunchConfigurationTemplatesResponse#next_token #next_token} => String
|
919
|
+
#
|
920
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
921
|
+
#
|
922
|
+
# @example Request syntax with placeholder values
|
923
|
+
#
|
924
|
+
# resp = client.describe_launch_configuration_templates({
|
925
|
+
# launch_configuration_template_i_ds: ["LaunchConfigurationTemplateID"],
|
926
|
+
# max_results: 1,
|
927
|
+
# next_token: "PaginationToken",
|
928
|
+
# })
|
929
|
+
#
|
930
|
+
# @example Response structure
|
931
|
+
#
|
932
|
+
# resp.items #=> Array
|
933
|
+
# resp.items[0].arn #=> String
|
934
|
+
# resp.items[0].copy_private_ip #=> Boolean
|
935
|
+
# resp.items[0].copy_tags #=> Boolean
|
936
|
+
# resp.items[0].launch_configuration_template_id #=> String
|
937
|
+
# resp.items[0].launch_disposition #=> String, one of "STOPPED", "STARTED"
|
938
|
+
# resp.items[0].licensing.os_byol #=> Boolean
|
939
|
+
# resp.items[0].tags #=> Hash
|
940
|
+
# resp.items[0].tags["TagKey"] #=> String
|
941
|
+
# resp.items[0].target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC"
|
942
|
+
# resp.next_token #=> String
|
943
|
+
#
|
944
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeLaunchConfigurationTemplates AWS API Documentation
|
945
|
+
#
|
946
|
+
# @overload describe_launch_configuration_templates(params = {})
|
947
|
+
# @param [Hash] params ({})
|
948
|
+
def describe_launch_configuration_templates(params = {}, options = {})
|
949
|
+
req = build_request(:describe_launch_configuration_templates, params)
|
950
|
+
req.send_request(options)
|
951
|
+
end
|
952
|
+
|
810
953
|
# Lists all Recovery Instances or multiple Recovery Instances by ID.
|
811
954
|
#
|
812
955
|
# @option params [Types::DescribeRecoveryInstancesRequestFilters] :filters
|
@@ -997,6 +1140,7 @@ module Aws::Drs
|
|
997
1140
|
# resp.items #=> Array
|
998
1141
|
# resp.items[0].arn #=> String
|
999
1142
|
# resp.items[0].associate_default_security_group #=> Boolean
|
1143
|
+
# resp.items[0].auto_replicate_new_disks #=> Boolean
|
1000
1144
|
# resp.items[0].bandwidth_throttling #=> Integer
|
1001
1145
|
# resp.items[0].create_public_ip #=> Boolean
|
1002
1146
|
# resp.items[0].data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
@@ -1115,6 +1259,7 @@ module Aws::Drs
|
|
1115
1259
|
# resp.items[0].source_properties.os.full_string #=> String
|
1116
1260
|
# resp.items[0].source_properties.ram_bytes #=> Integer
|
1117
1261
|
# resp.items[0].source_properties.recommended_instance_type #=> String
|
1262
|
+
# resp.items[0].source_properties.supports_nitro_instances #=> Boolean
|
1118
1263
|
# resp.items[0].source_server_id #=> String
|
1119
1264
|
# resp.items[0].staging_area.error_message #=> String
|
1120
1265
|
# resp.items[0].staging_area.staging_account_id #=> String
|
@@ -1260,6 +1405,7 @@ module Aws::Drs
|
|
1260
1405
|
# resp.source_properties.os.full_string #=> String
|
1261
1406
|
# resp.source_properties.ram_bytes #=> Integer
|
1262
1407
|
# resp.source_properties.recommended_instance_type #=> String
|
1408
|
+
# resp.source_properties.supports_nitro_instances #=> Boolean
|
1263
1409
|
# resp.source_server_id #=> String
|
1264
1410
|
# resp.staging_area.error_message #=> String
|
1265
1411
|
# resp.staging_area.staging_account_id #=> String
|
@@ -1364,6 +1510,7 @@ module Aws::Drs
|
|
1364
1510
|
# @return [Types::ReplicationConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1365
1511
|
#
|
1366
1512
|
# * {Types::ReplicationConfiguration#associate_default_security_group #associate_default_security_group} => Boolean
|
1513
|
+
# * {Types::ReplicationConfiguration#auto_replicate_new_disks #auto_replicate_new_disks} => Boolean
|
1367
1514
|
# * {Types::ReplicationConfiguration#bandwidth_throttling #bandwidth_throttling} => Integer
|
1368
1515
|
# * {Types::ReplicationConfiguration#create_public_ip #create_public_ip} => Boolean
|
1369
1516
|
# * {Types::ReplicationConfiguration#data_plane_routing #data_plane_routing} => String
|
@@ -1389,6 +1536,7 @@ module Aws::Drs
|
|
1389
1536
|
# @example Response structure
|
1390
1537
|
#
|
1391
1538
|
# resp.associate_default_security_group #=> Boolean
|
1539
|
+
# resp.auto_replicate_new_disks #=> Boolean
|
1392
1540
|
# resp.bandwidth_throttling #=> Integer
|
1393
1541
|
# resp.create_public_ip #=> Boolean
|
1394
1542
|
# resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
@@ -1555,10 +1703,11 @@ module Aws::Drs
|
|
1555
1703
|
req.send_request(options)
|
1556
1704
|
end
|
1557
1705
|
|
1558
|
-
#
|
1559
|
-
#
|
1560
|
-
#
|
1561
|
-
#
|
1706
|
+
# WARNING: RetryDataReplication is deprecated. Causes the data
|
1707
|
+
# replication initiation sequence to begin immediately upon next
|
1708
|
+
# Handshake for the specified Source Server ID, regardless of when the
|
1709
|
+
# previous initiation started. This command will work only if the Source
|
1710
|
+
# Server is stalled or is in a DISCONNECTED or STOPPED state.
|
1562
1711
|
#
|
1563
1712
|
# @option params [required, String] :source_server_id
|
1564
1713
|
# The ID of the Source Server whose data replication should be retried.
|
@@ -1638,6 +1787,7 @@ module Aws::Drs
|
|
1638
1787
|
# resp.source_properties.os.full_string #=> String
|
1639
1788
|
# resp.source_properties.ram_bytes #=> Integer
|
1640
1789
|
# resp.source_properties.recommended_instance_type #=> String
|
1790
|
+
# resp.source_properties.supports_nitro_instances #=> Boolean
|
1641
1791
|
# resp.source_server_id #=> String
|
1642
1792
|
# resp.staging_area.error_message #=> String
|
1643
1793
|
# resp.staging_area.staging_account_id #=> String
|
@@ -1865,6 +2015,7 @@ module Aws::Drs
|
|
1865
2015
|
# resp.source_server.source_properties.os.full_string #=> String
|
1866
2016
|
# resp.source_server.source_properties.ram_bytes #=> Integer
|
1867
2017
|
# resp.source_server.source_properties.recommended_instance_type #=> String
|
2018
|
+
# resp.source_server.source_properties.supports_nitro_instances #=> Boolean
|
1868
2019
|
# resp.source_server.source_server_id #=> String
|
1869
2020
|
# resp.source_server.staging_area.error_message #=> String
|
1870
2021
|
# resp.source_server.staging_area.staging_account_id #=> String
|
@@ -1977,6 +2128,7 @@ module Aws::Drs
|
|
1977
2128
|
# resp.source_server.source_properties.os.full_string #=> String
|
1978
2129
|
# resp.source_server.source_properties.ram_bytes #=> Integer
|
1979
2130
|
# resp.source_server.source_properties.recommended_instance_type #=> String
|
2131
|
+
# resp.source_server.source_properties.supports_nitro_instances #=> Boolean
|
1980
2132
|
# resp.source_server.source_server_id #=> String
|
1981
2133
|
# resp.source_server.staging_area.error_message #=> String
|
1982
2134
|
# resp.source_server.staging_area.staging_account_id #=> String
|
@@ -2206,12 +2358,74 @@ module Aws::Drs
|
|
2206
2358
|
req.send_request(options)
|
2207
2359
|
end
|
2208
2360
|
|
2361
|
+
# Updates an existing Launch Configuration Template by ID.
|
2362
|
+
#
|
2363
|
+
# @option params [Boolean] :copy_private_ip
|
2364
|
+
# Copy private IP.
|
2365
|
+
#
|
2366
|
+
# @option params [Boolean] :copy_tags
|
2367
|
+
# Copy tags.
|
2368
|
+
#
|
2369
|
+
# @option params [required, String] :launch_configuration_template_id
|
2370
|
+
# Launch Configuration Template ID.
|
2371
|
+
#
|
2372
|
+
# @option params [String] :launch_disposition
|
2373
|
+
# Launch disposition.
|
2374
|
+
#
|
2375
|
+
# @option params [Types::Licensing] :licensing
|
2376
|
+
# Licensing.
|
2377
|
+
#
|
2378
|
+
# @option params [String] :target_instance_type_right_sizing_method
|
2379
|
+
# Target instance type right-sizing method.
|
2380
|
+
#
|
2381
|
+
# @return [Types::UpdateLaunchConfigurationTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2382
|
+
#
|
2383
|
+
# * {Types::UpdateLaunchConfigurationTemplateResponse#launch_configuration_template #launch_configuration_template} => Types::LaunchConfigurationTemplate
|
2384
|
+
#
|
2385
|
+
# @example Request syntax with placeholder values
|
2386
|
+
#
|
2387
|
+
# resp = client.update_launch_configuration_template({
|
2388
|
+
# copy_private_ip: false,
|
2389
|
+
# copy_tags: false,
|
2390
|
+
# launch_configuration_template_id: "LaunchConfigurationTemplateID", # required
|
2391
|
+
# launch_disposition: "STOPPED", # accepts STOPPED, STARTED
|
2392
|
+
# licensing: {
|
2393
|
+
# os_byol: false,
|
2394
|
+
# },
|
2395
|
+
# target_instance_type_right_sizing_method: "NONE", # accepts NONE, BASIC
|
2396
|
+
# })
|
2397
|
+
#
|
2398
|
+
# @example Response structure
|
2399
|
+
#
|
2400
|
+
# resp.launch_configuration_template.arn #=> String
|
2401
|
+
# resp.launch_configuration_template.copy_private_ip #=> Boolean
|
2402
|
+
# resp.launch_configuration_template.copy_tags #=> Boolean
|
2403
|
+
# resp.launch_configuration_template.launch_configuration_template_id #=> String
|
2404
|
+
# resp.launch_configuration_template.launch_disposition #=> String, one of "STOPPED", "STARTED"
|
2405
|
+
# resp.launch_configuration_template.licensing.os_byol #=> Boolean
|
2406
|
+
# resp.launch_configuration_template.tags #=> Hash
|
2407
|
+
# resp.launch_configuration_template.tags["TagKey"] #=> String
|
2408
|
+
# resp.launch_configuration_template.target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC"
|
2409
|
+
#
|
2410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateLaunchConfigurationTemplate AWS API Documentation
|
2411
|
+
#
|
2412
|
+
# @overload update_launch_configuration_template(params = {})
|
2413
|
+
# @param [Hash] params ({})
|
2414
|
+
def update_launch_configuration_template(params = {}, options = {})
|
2415
|
+
req = build_request(:update_launch_configuration_template, params)
|
2416
|
+
req.send_request(options)
|
2417
|
+
end
|
2418
|
+
|
2209
2419
|
# Allows you to update a ReplicationConfiguration by Source Server ID.
|
2210
2420
|
#
|
2211
2421
|
# @option params [Boolean] :associate_default_security_group
|
2212
2422
|
# Whether to associate the default Elastic Disaster Recovery Security
|
2213
2423
|
# group with the Replication Configuration.
|
2214
2424
|
#
|
2425
|
+
# @option params [Boolean] :auto_replicate_new_disks
|
2426
|
+
# Whether to allow the AWS replication agent to automatically replicate
|
2427
|
+
# newly added disks.
|
2428
|
+
#
|
2215
2429
|
# @option params [Integer] :bandwidth_throttling
|
2216
2430
|
# Configure bandwidth throttling for the outbound data transfer rate of
|
2217
2431
|
# the Source Server in Mbps.
|
@@ -2265,6 +2479,7 @@ module Aws::Drs
|
|
2265
2479
|
# @return [Types::ReplicationConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2266
2480
|
#
|
2267
2481
|
# * {Types::ReplicationConfiguration#associate_default_security_group #associate_default_security_group} => Boolean
|
2482
|
+
# * {Types::ReplicationConfiguration#auto_replicate_new_disks #auto_replicate_new_disks} => Boolean
|
2268
2483
|
# * {Types::ReplicationConfiguration#bandwidth_throttling #bandwidth_throttling} => Integer
|
2269
2484
|
# * {Types::ReplicationConfiguration#create_public_ip #create_public_ip} => Boolean
|
2270
2485
|
# * {Types::ReplicationConfiguration#data_plane_routing #data_plane_routing} => String
|
@@ -2285,6 +2500,7 @@ module Aws::Drs
|
|
2285
2500
|
#
|
2286
2501
|
# resp = client.update_replication_configuration({
|
2287
2502
|
# associate_default_security_group: false,
|
2503
|
+
# auto_replicate_new_disks: false,
|
2288
2504
|
# bandwidth_throttling: 1,
|
2289
2505
|
# create_public_ip: false,
|
2290
2506
|
# data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
|
@@ -2324,6 +2540,7 @@ module Aws::Drs
|
|
2324
2540
|
# @example Response structure
|
2325
2541
|
#
|
2326
2542
|
# resp.associate_default_security_group #=> Boolean
|
2543
|
+
# resp.auto_replicate_new_disks #=> Boolean
|
2327
2544
|
# resp.bandwidth_throttling #=> Integer
|
2328
2545
|
# resp.create_public_ip #=> Boolean
|
2329
2546
|
# resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
@@ -2371,6 +2588,10 @@ module Aws::Drs
|
|
2371
2588
|
# Whether to associate the default Elastic Disaster Recovery Security
|
2372
2589
|
# group with the Replication Configuration Template.
|
2373
2590
|
#
|
2591
|
+
# @option params [Boolean] :auto_replicate_new_disks
|
2592
|
+
# Whether to allow the AWS replication agent to automatically replicate
|
2593
|
+
# newly added disks.
|
2594
|
+
#
|
2374
2595
|
# @option params [Integer] :bandwidth_throttling
|
2375
2596
|
# Configure bandwidth throttling for the outbound data transfer rate of
|
2376
2597
|
# the Source Server in Mbps.
|
@@ -2419,6 +2640,7 @@ module Aws::Drs
|
|
2419
2640
|
#
|
2420
2641
|
# * {Types::ReplicationConfigurationTemplate#arn #arn} => String
|
2421
2642
|
# * {Types::ReplicationConfigurationTemplate#associate_default_security_group #associate_default_security_group} => Boolean
|
2643
|
+
# * {Types::ReplicationConfigurationTemplate#auto_replicate_new_disks #auto_replicate_new_disks} => Boolean
|
2422
2644
|
# * {Types::ReplicationConfigurationTemplate#bandwidth_throttling #bandwidth_throttling} => Integer
|
2423
2645
|
# * {Types::ReplicationConfigurationTemplate#create_public_ip #create_public_ip} => Boolean
|
2424
2646
|
# * {Types::ReplicationConfigurationTemplate#data_plane_routing #data_plane_routing} => String
|
@@ -2439,6 +2661,7 @@ module Aws::Drs
|
|
2439
2661
|
# resp = client.update_replication_configuration_template({
|
2440
2662
|
# arn: "ARN",
|
2441
2663
|
# associate_default_security_group: false,
|
2664
|
+
# auto_replicate_new_disks: false,
|
2442
2665
|
# bandwidth_throttling: 1,
|
2443
2666
|
# create_public_ip: false,
|
2444
2667
|
# data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
|
@@ -2468,6 +2691,7 @@ module Aws::Drs
|
|
2468
2691
|
#
|
2469
2692
|
# resp.arn #=> String
|
2470
2693
|
# resp.associate_default_security_group #=> Boolean
|
2694
|
+
# resp.auto_replicate_new_disks #=> Boolean
|
2471
2695
|
# resp.bandwidth_throttling #=> Integer
|
2472
2696
|
# resp.create_public_ip #=> Boolean
|
2473
2697
|
# resp.data_plane_routing #=> String, one of "PRIVATE_IP", "PUBLIC_IP"
|
@@ -2513,7 +2737,7 @@ module Aws::Drs
|
|
2513
2737
|
params: params,
|
2514
2738
|
config: config)
|
2515
2739
|
context[:gem_name] = 'aws-sdk-drs'
|
2516
|
-
context[:gem_version] = '1.
|
2740
|
+
context[:gem_version] = '1.13.0'
|
2517
2741
|
Seahorse::Client::Request.new(handlers, context)
|
2518
2742
|
end
|
2519
2743
|
|
@@ -30,6 +30,8 @@ module Aws::Drs
|
|
30
30
|
Cpus = Shapes::ListShape.new(name: 'Cpus')
|
31
31
|
CreateExtendedSourceServerRequest = Shapes::StructureShape.new(name: 'CreateExtendedSourceServerRequest')
|
32
32
|
CreateExtendedSourceServerResponse = Shapes::StructureShape.new(name: 'CreateExtendedSourceServerResponse')
|
33
|
+
CreateLaunchConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'CreateLaunchConfigurationTemplateRequest')
|
34
|
+
CreateLaunchConfigurationTemplateResponse = Shapes::StructureShape.new(name: 'CreateLaunchConfigurationTemplateResponse')
|
33
35
|
CreateReplicationConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'CreateReplicationConfigurationTemplateRequest')
|
34
36
|
DataReplicationError = Shapes::StructureShape.new(name: 'DataReplicationError')
|
35
37
|
DataReplicationErrorString = Shapes::StringShape.new(name: 'DataReplicationErrorString')
|
@@ -44,6 +46,8 @@ module Aws::Drs
|
|
44
46
|
DataReplicationState = Shapes::StringShape.new(name: 'DataReplicationState')
|
45
47
|
DeleteJobRequest = Shapes::StructureShape.new(name: 'DeleteJobRequest')
|
46
48
|
DeleteJobResponse = Shapes::StructureShape.new(name: 'DeleteJobResponse')
|
49
|
+
DeleteLaunchConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'DeleteLaunchConfigurationTemplateRequest')
|
50
|
+
DeleteLaunchConfigurationTemplateResponse = Shapes::StructureShape.new(name: 'DeleteLaunchConfigurationTemplateResponse')
|
47
51
|
DeleteRecoveryInstanceRequest = Shapes::StructureShape.new(name: 'DeleteRecoveryInstanceRequest')
|
48
52
|
DeleteReplicationConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'DeleteReplicationConfigurationTemplateRequest')
|
49
53
|
DeleteReplicationConfigurationTemplateResponse = Shapes::StructureShape.new(name: 'DeleteReplicationConfigurationTemplateResponse')
|
@@ -55,6 +59,8 @@ module Aws::Drs
|
|
55
59
|
DescribeJobsRequestFilters = Shapes::StructureShape.new(name: 'DescribeJobsRequestFilters')
|
56
60
|
DescribeJobsRequestFiltersJobIDs = Shapes::ListShape.new(name: 'DescribeJobsRequestFiltersJobIDs')
|
57
61
|
DescribeJobsResponse = Shapes::StructureShape.new(name: 'DescribeJobsResponse')
|
62
|
+
DescribeLaunchConfigurationTemplatesRequest = Shapes::StructureShape.new(name: 'DescribeLaunchConfigurationTemplatesRequest')
|
63
|
+
DescribeLaunchConfigurationTemplatesResponse = Shapes::StructureShape.new(name: 'DescribeLaunchConfigurationTemplatesResponse')
|
58
64
|
DescribeRecoveryInstancesItems = Shapes::ListShape.new(name: 'DescribeRecoveryInstancesItems')
|
59
65
|
DescribeRecoveryInstancesRequest = Shapes::StructureShape.new(name: 'DescribeRecoveryInstancesRequest')
|
60
66
|
DescribeRecoveryInstancesRequestFilters = Shapes::StructureShape.new(name: 'DescribeRecoveryInstancesRequestFilters')
|
@@ -75,6 +81,7 @@ module Aws::Drs
|
|
75
81
|
EC2InstanceID = Shapes::StringShape.new(name: 'EC2InstanceID')
|
76
82
|
EC2InstanceState = Shapes::StringShape.new(name: 'EC2InstanceState')
|
77
83
|
EC2InstanceType = Shapes::StringShape.new(name: 'EC2InstanceType')
|
84
|
+
EbsSnapshot = Shapes::StringShape.new(name: 'EbsSnapshot')
|
78
85
|
EbsSnapshotsList = Shapes::ListShape.new(name: 'EbsSnapshotsList')
|
79
86
|
EbsVolumeID = Shapes::StringShape.new(name: 'EbsVolumeID')
|
80
87
|
ExtensionStatus = Shapes::StringShape.new(name: 'ExtensionStatus')
|
@@ -106,6 +113,10 @@ module Aws::Drs
|
|
106
113
|
LastLaunchResult = Shapes::StringShape.new(name: 'LastLaunchResult')
|
107
114
|
LastLaunchType = Shapes::StringShape.new(name: 'LastLaunchType')
|
108
115
|
LaunchConfiguration = Shapes::StructureShape.new(name: 'LaunchConfiguration')
|
116
|
+
LaunchConfigurationTemplate = Shapes::StructureShape.new(name: 'LaunchConfigurationTemplate')
|
117
|
+
LaunchConfigurationTemplateID = Shapes::StringShape.new(name: 'LaunchConfigurationTemplateID')
|
118
|
+
LaunchConfigurationTemplateIDs = Shapes::ListShape.new(name: 'LaunchConfigurationTemplateIDs')
|
119
|
+
LaunchConfigurationTemplates = Shapes::ListShape.new(name: 'LaunchConfigurationTemplates')
|
109
120
|
LaunchDisposition = Shapes::StringShape.new(name: 'LaunchDisposition')
|
110
121
|
LaunchStatus = Shapes::StringShape.new(name: 'LaunchStatus')
|
111
122
|
Licensing = Shapes::StructureShape.new(name: 'Licensing')
|
@@ -120,6 +131,7 @@ module Aws::Drs
|
|
120
131
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
121
132
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
122
133
|
MaxResultsReplicatingSourceServers = Shapes::IntegerShape.new(name: 'MaxResultsReplicatingSourceServers')
|
134
|
+
MaxResultsType = Shapes::IntegerShape.new(name: 'MaxResultsType')
|
123
135
|
NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
|
124
136
|
NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
|
125
137
|
OS = Shapes::StructureShape.new(name: 'OS')
|
@@ -210,6 +222,8 @@ module Aws::Drs
|
|
210
222
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
211
223
|
UpdateFailbackReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFailbackReplicationConfigurationRequest')
|
212
224
|
UpdateLaunchConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateLaunchConfigurationRequest')
|
225
|
+
UpdateLaunchConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'UpdateLaunchConfigurationTemplateRequest')
|
226
|
+
UpdateLaunchConfigurationTemplateResponse = Shapes::StructureShape.new(name: 'UpdateLaunchConfigurationTemplateResponse')
|
213
227
|
UpdateReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateReplicationConfigurationRequest')
|
214
228
|
UpdateReplicationConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'UpdateReplicationConfigurationTemplateRequest')
|
215
229
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
@@ -218,7 +232,6 @@ module Aws::Drs
|
|
218
232
|
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
219
233
|
VolumeToConversionMap = Shapes::MapShape.new(name: 'VolumeToConversionMap')
|
220
234
|
VolumeToSizeMap = Shapes::MapShape.new(name: 'VolumeToSizeMap')
|
221
|
-
ebsSnapshot = Shapes::StringShape.new(name: 'ebsSnapshot')
|
222
235
|
|
223
236
|
AccessDeniedException.add_member(:code, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "code"))
|
224
237
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "message"))
|
@@ -241,8 +254,8 @@ module Aws::Drs
|
|
241
254
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "resourceType"))
|
242
255
|
ConflictException.struct_class = Types::ConflictException
|
243
256
|
|
244
|
-
ConversionMap.key = Shapes::ShapeRef.new(shape:
|
245
|
-
ConversionMap.value = Shapes::ShapeRef.new(shape:
|
257
|
+
ConversionMap.key = Shapes::ShapeRef.new(shape: EbsSnapshot)
|
258
|
+
ConversionMap.value = Shapes::ShapeRef.new(shape: EbsSnapshot)
|
246
259
|
|
247
260
|
ConversionProperties.add_member(:data_timestamp, Shapes::ShapeRef.new(shape: LargeBoundedString, location_name: "dataTimestamp"))
|
248
261
|
ConversionProperties.add_member(:force_uefi, Shapes::ShapeRef.new(shape: Boolean, location_name: "forceUefi"))
|
@@ -260,7 +273,19 @@ module Aws::Drs
|
|
260
273
|
CreateExtendedSourceServerResponse.add_member(:source_server, Shapes::ShapeRef.new(shape: SourceServer, location_name: "sourceServer"))
|
261
274
|
CreateExtendedSourceServerResponse.struct_class = Types::CreateExtendedSourceServerResponse
|
262
275
|
|
276
|
+
CreateLaunchConfigurationTemplateRequest.add_member(:copy_private_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyPrivateIp"))
|
277
|
+
CreateLaunchConfigurationTemplateRequest.add_member(:copy_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyTags"))
|
278
|
+
CreateLaunchConfigurationTemplateRequest.add_member(:launch_disposition, Shapes::ShapeRef.new(shape: LaunchDisposition, location_name: "launchDisposition"))
|
279
|
+
CreateLaunchConfigurationTemplateRequest.add_member(:licensing, Shapes::ShapeRef.new(shape: Licensing, location_name: "licensing"))
|
280
|
+
CreateLaunchConfigurationTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
281
|
+
CreateLaunchConfigurationTemplateRequest.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
282
|
+
CreateLaunchConfigurationTemplateRequest.struct_class = Types::CreateLaunchConfigurationTemplateRequest
|
283
|
+
|
284
|
+
CreateLaunchConfigurationTemplateResponse.add_member(:launch_configuration_template, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplate, location_name: "launchConfigurationTemplate"))
|
285
|
+
CreateLaunchConfigurationTemplateResponse.struct_class = Types::CreateLaunchConfigurationTemplateResponse
|
286
|
+
|
263
287
|
CreateReplicationConfigurationTemplateRequest.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "associateDefaultSecurityGroup"))
|
288
|
+
CreateReplicationConfigurationTemplateRequest.add_member(:auto_replicate_new_disks, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoReplicateNewDisks"))
|
264
289
|
CreateReplicationConfigurationTemplateRequest.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, required: true, location_name: "bandwidthThrottling"))
|
265
290
|
CreateReplicationConfigurationTemplateRequest.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "createPublicIP"))
|
266
291
|
CreateReplicationConfigurationTemplateRequest.add_member(:data_plane_routing, Shapes::ShapeRef.new(shape: ReplicationConfigurationDataPlaneRouting, required: true, location_name: "dataPlaneRouting"))
|
@@ -314,6 +339,11 @@ module Aws::Drs
|
|
314
339
|
|
315
340
|
DeleteJobResponse.struct_class = Types::DeleteJobResponse
|
316
341
|
|
342
|
+
DeleteLaunchConfigurationTemplateRequest.add_member(:launch_configuration_template_id, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateID, required: true, location_name: "launchConfigurationTemplateID"))
|
343
|
+
DeleteLaunchConfigurationTemplateRequest.struct_class = Types::DeleteLaunchConfigurationTemplateRequest
|
344
|
+
|
345
|
+
DeleteLaunchConfigurationTemplateResponse.struct_class = Types::DeleteLaunchConfigurationTemplateResponse
|
346
|
+
|
317
347
|
DeleteRecoveryInstanceRequest.add_member(:recovery_instance_id, Shapes::ShapeRef.new(shape: RecoveryInstanceID, required: true, location_name: "recoveryInstanceID"))
|
318
348
|
DeleteRecoveryInstanceRequest.struct_class = Types::DeleteRecoveryInstanceRequest
|
319
349
|
|
@@ -352,6 +382,15 @@ module Aws::Drs
|
|
352
382
|
DescribeJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
353
383
|
DescribeJobsResponse.struct_class = Types::DescribeJobsResponse
|
354
384
|
|
385
|
+
DescribeLaunchConfigurationTemplatesRequest.add_member(:launch_configuration_template_i_ds, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateIDs, location_name: "launchConfigurationTemplateIDs"))
|
386
|
+
DescribeLaunchConfigurationTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsType, location_name: "maxResults"))
|
387
|
+
DescribeLaunchConfigurationTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
388
|
+
DescribeLaunchConfigurationTemplatesRequest.struct_class = Types::DescribeLaunchConfigurationTemplatesRequest
|
389
|
+
|
390
|
+
DescribeLaunchConfigurationTemplatesResponse.add_member(:items, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplates, location_name: "items"))
|
391
|
+
DescribeLaunchConfigurationTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
392
|
+
DescribeLaunchConfigurationTemplatesResponse.struct_class = Types::DescribeLaunchConfigurationTemplatesResponse
|
393
|
+
|
355
394
|
DescribeRecoveryInstancesItems.member = Shapes::ShapeRef.new(shape: RecoveryInstance)
|
356
395
|
|
357
396
|
DescribeRecoveryInstancesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: DescribeRecoveryInstancesRequestFilters, location_name: "filters"))
|
@@ -419,7 +458,7 @@ module Aws::Drs
|
|
419
458
|
|
420
459
|
Disks.member = Shapes::ShapeRef.new(shape: Disk)
|
421
460
|
|
422
|
-
EbsSnapshotsList.member = Shapes::ShapeRef.new(shape:
|
461
|
+
EbsSnapshotsList.member = Shapes::ShapeRef.new(shape: EbsSnapshot)
|
423
462
|
|
424
463
|
GetFailbackReplicationConfigurationRequest.add_member(:recovery_instance_id, Shapes::ShapeRef.new(shape: RecoveryInstanceID, required: true, location_name: "recoveryInstanceID"))
|
425
464
|
GetFailbackReplicationConfigurationRequest.struct_class = Types::GetFailbackReplicationConfigurationRequest
|
@@ -489,6 +528,20 @@ module Aws::Drs
|
|
489
528
|
LaunchConfiguration.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
490
529
|
LaunchConfiguration.struct_class = Types::LaunchConfiguration
|
491
530
|
|
531
|
+
LaunchConfigurationTemplate.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
|
532
|
+
LaunchConfigurationTemplate.add_member(:copy_private_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyPrivateIp"))
|
533
|
+
LaunchConfigurationTemplate.add_member(:copy_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyTags"))
|
534
|
+
LaunchConfigurationTemplate.add_member(:launch_configuration_template_id, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateID, location_name: "launchConfigurationTemplateID"))
|
535
|
+
LaunchConfigurationTemplate.add_member(:launch_disposition, Shapes::ShapeRef.new(shape: LaunchDisposition, location_name: "launchDisposition"))
|
536
|
+
LaunchConfigurationTemplate.add_member(:licensing, Shapes::ShapeRef.new(shape: Licensing, location_name: "licensing"))
|
537
|
+
LaunchConfigurationTemplate.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
538
|
+
LaunchConfigurationTemplate.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
539
|
+
LaunchConfigurationTemplate.struct_class = Types::LaunchConfigurationTemplate
|
540
|
+
|
541
|
+
LaunchConfigurationTemplateIDs.member = Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateID)
|
542
|
+
|
543
|
+
LaunchConfigurationTemplates.member = Shapes::ShapeRef.new(shape: LaunchConfigurationTemplate)
|
544
|
+
|
492
545
|
Licensing.add_member(:os_byol, Shapes::ShapeRef.new(shape: Boolean, location_name: "osByol"))
|
493
546
|
Licensing.struct_class = Types::Licensing
|
494
547
|
|
@@ -647,6 +700,7 @@ module Aws::Drs
|
|
647
700
|
RecoverySnapshotsList.member = Shapes::ShapeRef.new(shape: RecoverySnapshot)
|
648
701
|
|
649
702
|
ReplicationConfiguration.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateDefaultSecurityGroup"))
|
703
|
+
ReplicationConfiguration.add_member(:auto_replicate_new_disks, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoReplicateNewDisks"))
|
650
704
|
ReplicationConfiguration.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "bandwidthThrottling"))
|
651
705
|
ReplicationConfiguration.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "createPublicIP"))
|
652
706
|
ReplicationConfiguration.add_member(:data_plane_routing, Shapes::ShapeRef.new(shape: ReplicationConfigurationDataPlaneRouting, location_name: "dataPlaneRouting"))
|
@@ -676,6 +730,7 @@ module Aws::Drs
|
|
676
730
|
|
677
731
|
ReplicationConfigurationTemplate.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
|
678
732
|
ReplicationConfigurationTemplate.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateDefaultSecurityGroup"))
|
733
|
+
ReplicationConfigurationTemplate.add_member(:auto_replicate_new_disks, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoReplicateNewDisks"))
|
679
734
|
ReplicationConfigurationTemplate.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "bandwidthThrottling"))
|
680
735
|
ReplicationConfigurationTemplate.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "createPublicIP"))
|
681
736
|
ReplicationConfigurationTemplate.add_member(:data_plane_routing, Shapes::ShapeRef.new(shape: ReplicationConfigurationDataPlaneRouting, location_name: "dataPlaneRouting"))
|
@@ -734,6 +789,7 @@ module Aws::Drs
|
|
734
789
|
SourceProperties.add_member(:os, Shapes::ShapeRef.new(shape: OS, location_name: "os"))
|
735
790
|
SourceProperties.add_member(:ram_bytes, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "ramBytes"))
|
736
791
|
SourceProperties.add_member(:recommended_instance_type, Shapes::ShapeRef.new(shape: EC2InstanceType, location_name: "recommendedInstanceType"))
|
792
|
+
SourceProperties.add_member(:supports_nitro_instances, Shapes::ShapeRef.new(shape: Boolean, location_name: "supportsNitroInstances"))
|
737
793
|
SourceProperties.struct_class = Types::SourceProperties
|
738
794
|
|
739
795
|
SourceServer.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
|
@@ -849,7 +905,19 @@ module Aws::Drs
|
|
849
905
|
UpdateLaunchConfigurationRequest.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
850
906
|
UpdateLaunchConfigurationRequest.struct_class = Types::UpdateLaunchConfigurationRequest
|
851
907
|
|
908
|
+
UpdateLaunchConfigurationTemplateRequest.add_member(:copy_private_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyPrivateIp"))
|
909
|
+
UpdateLaunchConfigurationTemplateRequest.add_member(:copy_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyTags"))
|
910
|
+
UpdateLaunchConfigurationTemplateRequest.add_member(:launch_configuration_template_id, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateID, required: true, location_name: "launchConfigurationTemplateID"))
|
911
|
+
UpdateLaunchConfigurationTemplateRequest.add_member(:launch_disposition, Shapes::ShapeRef.new(shape: LaunchDisposition, location_name: "launchDisposition"))
|
912
|
+
UpdateLaunchConfigurationTemplateRequest.add_member(:licensing, Shapes::ShapeRef.new(shape: Licensing, location_name: "licensing"))
|
913
|
+
UpdateLaunchConfigurationTemplateRequest.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
914
|
+
UpdateLaunchConfigurationTemplateRequest.struct_class = Types::UpdateLaunchConfigurationTemplateRequest
|
915
|
+
|
916
|
+
UpdateLaunchConfigurationTemplateResponse.add_member(:launch_configuration_template, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplate, location_name: "launchConfigurationTemplate"))
|
917
|
+
UpdateLaunchConfigurationTemplateResponse.struct_class = Types::UpdateLaunchConfigurationTemplateResponse
|
918
|
+
|
852
919
|
UpdateReplicationConfigurationRequest.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateDefaultSecurityGroup"))
|
920
|
+
UpdateReplicationConfigurationRequest.add_member(:auto_replicate_new_disks, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoReplicateNewDisks"))
|
853
921
|
UpdateReplicationConfigurationRequest.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "bandwidthThrottling"))
|
854
922
|
UpdateReplicationConfigurationRequest.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "createPublicIP"))
|
855
923
|
UpdateReplicationConfigurationRequest.add_member(:data_plane_routing, Shapes::ShapeRef.new(shape: ReplicationConfigurationDataPlaneRouting, location_name: "dataPlaneRouting"))
|
@@ -869,6 +937,7 @@ module Aws::Drs
|
|
869
937
|
|
870
938
|
UpdateReplicationConfigurationTemplateRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
|
871
939
|
UpdateReplicationConfigurationTemplateRequest.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateDefaultSecurityGroup"))
|
940
|
+
UpdateReplicationConfigurationTemplateRequest.add_member(:auto_replicate_new_disks, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoReplicateNewDisks"))
|
872
941
|
UpdateReplicationConfigurationTemplateRequest.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "bandwidthThrottling"))
|
873
942
|
UpdateReplicationConfigurationTemplateRequest.add_member(:create_public_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "createPublicIP"))
|
874
943
|
UpdateReplicationConfigurationTemplateRequest.add_member(:data_plane_routing, Shapes::ShapeRef.new(shape: ReplicationConfigurationDataPlaneRouting, location_name: "dataPlaneRouting"))
|
@@ -936,6 +1005,20 @@ module Aws::Drs
|
|
936
1005
|
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
937
1006
|
end)
|
938
1007
|
|
1008
|
+
api.add_operation(:create_launch_configuration_template, Seahorse::Model::Operation.new.tap do |o|
|
1009
|
+
o.name = "CreateLaunchConfigurationTemplate"
|
1010
|
+
o.http_method = "POST"
|
1011
|
+
o.http_request_uri = "/CreateLaunchConfigurationTemplate"
|
1012
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLaunchConfigurationTemplateRequest)
|
1013
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLaunchConfigurationTemplateResponse)
|
1014
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1015
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1016
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1017
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1018
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1019
|
+
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
1020
|
+
end)
|
1021
|
+
|
939
1022
|
api.add_operation(:create_replication_configuration_template, Seahorse::Model::Operation.new.tap do |o|
|
940
1023
|
o.name = "CreateReplicationConfigurationTemplate"
|
941
1024
|
o.http_method = "POST"
|
@@ -963,6 +1046,19 @@ module Aws::Drs
|
|
963
1046
|
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
964
1047
|
end)
|
965
1048
|
|
1049
|
+
api.add_operation(:delete_launch_configuration_template, Seahorse::Model::Operation.new.tap do |o|
|
1050
|
+
o.name = "DeleteLaunchConfigurationTemplate"
|
1051
|
+
o.http_method = "POST"
|
1052
|
+
o.http_request_uri = "/DeleteLaunchConfigurationTemplate"
|
1053
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLaunchConfigurationTemplateRequest)
|
1054
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteLaunchConfigurationTemplateResponse)
|
1055
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1056
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1057
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1058
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1059
|
+
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
1060
|
+
end)
|
1061
|
+
|
966
1062
|
api.add_operation(:delete_recovery_instance, Seahorse::Model::Operation.new.tap do |o|
|
967
1063
|
o.name = "DeleteRecoveryInstance"
|
968
1064
|
o.http_method = "POST"
|
@@ -1038,6 +1134,25 @@ module Aws::Drs
|
|
1038
1134
|
)
|
1039
1135
|
end)
|
1040
1136
|
|
1137
|
+
api.add_operation(:describe_launch_configuration_templates, Seahorse::Model::Operation.new.tap do |o|
|
1138
|
+
o.name = "DescribeLaunchConfigurationTemplates"
|
1139
|
+
o.http_method = "POST"
|
1140
|
+
o.http_request_uri = "/DescribeLaunchConfigurationTemplates"
|
1141
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLaunchConfigurationTemplatesRequest)
|
1142
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLaunchConfigurationTemplatesResponse)
|
1143
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1144
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1145
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1146
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1147
|
+
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
1148
|
+
o[:pager] = Aws::Pager.new(
|
1149
|
+
limit_key: "max_results",
|
1150
|
+
tokens: {
|
1151
|
+
"next_token" => "next_token"
|
1152
|
+
}
|
1153
|
+
)
|
1154
|
+
end)
|
1155
|
+
|
1041
1156
|
api.add_operation(:describe_recovery_instances, Seahorse::Model::Operation.new.tap do |o|
|
1042
1157
|
o.name = "DescribeRecoveryInstances"
|
1043
1158
|
o.http_method = "POST"
|
@@ -1243,6 +1358,7 @@ module Aws::Drs
|
|
1243
1358
|
o.name = "RetryDataReplication"
|
1244
1359
|
o.http_method = "POST"
|
1245
1360
|
o.http_request_uri = "/RetryDataReplication"
|
1361
|
+
o.deprecated = true
|
1246
1362
|
o.input = Shapes::ShapeRef.new(shape: RetryDataReplicationRequest)
|
1247
1363
|
o.output = Shapes::ShapeRef.new(shape: SourceServer)
|
1248
1364
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -1398,6 +1514,20 @@ module Aws::Drs
|
|
1398
1514
|
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
1399
1515
|
end)
|
1400
1516
|
|
1517
|
+
api.add_operation(:update_launch_configuration_template, Seahorse::Model::Operation.new.tap do |o|
|
1518
|
+
o.name = "UpdateLaunchConfigurationTemplate"
|
1519
|
+
o.http_method = "POST"
|
1520
|
+
o.http_request_uri = "/UpdateLaunchConfigurationTemplate"
|
1521
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateLaunchConfigurationTemplateRequest)
|
1522
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateLaunchConfigurationTemplateResponse)
|
1523
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1524
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1525
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1526
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1527
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1528
|
+
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
1529
|
+
end)
|
1530
|
+
|
1401
1531
|
api.add_operation(:update_replication_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1402
1532
|
o.name = "UpdateReplicationConfiguration"
|
1403
1533
|
o.http_method = "POST"
|
@@ -25,6 +25,20 @@ module Aws::Drs
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
+
class CreateLaunchConfigurationTemplate
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::Drs::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
28
42
|
class CreateReplicationConfigurationTemplate
|
29
43
|
def self.build(context)
|
30
44
|
unless context.config.regional_endpoint
|
@@ -53,6 +67,20 @@ module Aws::Drs
|
|
53
67
|
end
|
54
68
|
end
|
55
69
|
|
70
|
+
class DeleteLaunchConfigurationTemplate
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::Drs::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
56
84
|
class DeleteRecoveryInstance
|
57
85
|
def self.build(context)
|
58
86
|
unless context.config.regional_endpoint
|
@@ -123,6 +151,20 @@ module Aws::Drs
|
|
123
151
|
end
|
124
152
|
end
|
125
153
|
|
154
|
+
class DescribeLaunchConfigurationTemplates
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::Drs::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
126
168
|
class DescribeRecoveryInstances
|
127
169
|
def self.build(context)
|
128
170
|
unless context.config.regional_endpoint
|
@@ -473,6 +515,20 @@ module Aws::Drs
|
|
473
515
|
end
|
474
516
|
end
|
475
517
|
|
518
|
+
class UpdateLaunchConfigurationTemplate
|
519
|
+
def self.build(context)
|
520
|
+
unless context.config.regional_endpoint
|
521
|
+
endpoint = context.config.endpoint.to_s
|
522
|
+
end
|
523
|
+
Aws::Drs::EndpointParameters.new(
|
524
|
+
region: context.config.region,
|
525
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
526
|
+
use_fips: context.config.use_fips_endpoint,
|
527
|
+
endpoint: endpoint,
|
528
|
+
)
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
476
532
|
class UpdateReplicationConfiguration
|
477
533
|
def self.build(context)
|
478
534
|
unless context.config.regional_endpoint
|
@@ -58,10 +58,14 @@ module Aws::Drs
|
|
58
58
|
case context.operation_name
|
59
59
|
when :create_extended_source_server
|
60
60
|
Aws::Drs::Endpoints::CreateExtendedSourceServer.build(context)
|
61
|
+
when :create_launch_configuration_template
|
62
|
+
Aws::Drs::Endpoints::CreateLaunchConfigurationTemplate.build(context)
|
61
63
|
when :create_replication_configuration_template
|
62
64
|
Aws::Drs::Endpoints::CreateReplicationConfigurationTemplate.build(context)
|
63
65
|
when :delete_job
|
64
66
|
Aws::Drs::Endpoints::DeleteJob.build(context)
|
67
|
+
when :delete_launch_configuration_template
|
68
|
+
Aws::Drs::Endpoints::DeleteLaunchConfigurationTemplate.build(context)
|
65
69
|
when :delete_recovery_instance
|
66
70
|
Aws::Drs::Endpoints::DeleteRecoveryInstance.build(context)
|
67
71
|
when :delete_replication_configuration_template
|
@@ -72,6 +76,8 @@ module Aws::Drs
|
|
72
76
|
Aws::Drs::Endpoints::DescribeJobLogItems.build(context)
|
73
77
|
when :describe_jobs
|
74
78
|
Aws::Drs::Endpoints::DescribeJobs.build(context)
|
79
|
+
when :describe_launch_configuration_templates
|
80
|
+
Aws::Drs::Endpoints::DescribeLaunchConfigurationTemplates.build(context)
|
75
81
|
when :describe_recovery_instances
|
76
82
|
Aws::Drs::Endpoints::DescribeRecoveryInstances.build(context)
|
77
83
|
when :describe_recovery_snapshots
|
@@ -122,6 +128,8 @@ module Aws::Drs
|
|
122
128
|
Aws::Drs::Endpoints::UpdateFailbackReplicationConfiguration.build(context)
|
123
129
|
when :update_launch_configuration
|
124
130
|
Aws::Drs::Endpoints::UpdateLaunchConfiguration.build(context)
|
131
|
+
when :update_launch_configuration_template
|
132
|
+
Aws::Drs::Endpoints::UpdateLaunchConfigurationTemplate.build(context)
|
125
133
|
when :update_replication_configuration
|
126
134
|
Aws::Drs::Endpoints::UpdateReplicationConfiguration.build(context)
|
127
135
|
when :update_replication_configuration_template
|
data/lib/aws-sdk-drs/types.rb
CHANGED
@@ -153,11 +153,66 @@ module Aws::Drs
|
|
153
153
|
include Aws::Structure
|
154
154
|
end
|
155
155
|
|
156
|
+
# @!attribute [rw] copy_private_ip
|
157
|
+
# Copy private IP.
|
158
|
+
# @return [Boolean]
|
159
|
+
#
|
160
|
+
# @!attribute [rw] copy_tags
|
161
|
+
# Copy tags.
|
162
|
+
# @return [Boolean]
|
163
|
+
#
|
164
|
+
# @!attribute [rw] launch_disposition
|
165
|
+
# Launch disposition.
|
166
|
+
# @return [String]
|
167
|
+
#
|
168
|
+
# @!attribute [rw] licensing
|
169
|
+
# Licensing.
|
170
|
+
# @return [Types::Licensing]
|
171
|
+
#
|
172
|
+
# @!attribute [rw] tags
|
173
|
+
# Request to associate tags during creation of a Launch Configuration
|
174
|
+
# Template.
|
175
|
+
# @return [Hash<String,String>]
|
176
|
+
#
|
177
|
+
# @!attribute [rw] target_instance_type_right_sizing_method
|
178
|
+
# Target instance type right-sizing method.
|
179
|
+
# @return [String]
|
180
|
+
#
|
181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateLaunchConfigurationTemplateRequest AWS API Documentation
|
182
|
+
#
|
183
|
+
class CreateLaunchConfigurationTemplateRequest < Struct.new(
|
184
|
+
:copy_private_ip,
|
185
|
+
:copy_tags,
|
186
|
+
:launch_disposition,
|
187
|
+
:licensing,
|
188
|
+
:tags,
|
189
|
+
:target_instance_type_right_sizing_method)
|
190
|
+
SENSITIVE = [:tags]
|
191
|
+
include Aws::Structure
|
192
|
+
end
|
193
|
+
|
194
|
+
# @!attribute [rw] launch_configuration_template
|
195
|
+
# Created Launch Configuration Template.
|
196
|
+
# @return [Types::LaunchConfigurationTemplate]
|
197
|
+
#
|
198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateLaunchConfigurationTemplateResponse AWS API Documentation
|
199
|
+
#
|
200
|
+
class CreateLaunchConfigurationTemplateResponse < Struct.new(
|
201
|
+
:launch_configuration_template)
|
202
|
+
SENSITIVE = []
|
203
|
+
include Aws::Structure
|
204
|
+
end
|
205
|
+
|
156
206
|
# @!attribute [rw] associate_default_security_group
|
157
207
|
# Whether to associate the default Elastic Disaster Recovery Security
|
158
208
|
# group with the Replication Configuration Template.
|
159
209
|
# @return [Boolean]
|
160
210
|
#
|
211
|
+
# @!attribute [rw] auto_replicate_new_disks
|
212
|
+
# Whether to allow the AWS replication agent to automatically
|
213
|
+
# replicate newly added disks.
|
214
|
+
# @return [Boolean]
|
215
|
+
#
|
161
216
|
# @!attribute [rw] bandwidth_throttling
|
162
217
|
# Configure bandwidth throttling for the outbound data transfer rate
|
163
218
|
# of the Source Server in Mbps.
|
@@ -220,6 +275,7 @@ module Aws::Drs
|
|
220
275
|
#
|
221
276
|
class CreateReplicationConfigurationTemplateRequest < Struct.new(
|
222
277
|
:associate_default_security_group,
|
278
|
+
:auto_replicate_new_disks,
|
223
279
|
:bandwidth_throttling,
|
224
280
|
:create_public_ip,
|
225
281
|
:data_plane_routing,
|
@@ -394,6 +450,22 @@ module Aws::Drs
|
|
394
450
|
#
|
395
451
|
class DeleteJobResponse < Aws::EmptyStructure; end
|
396
452
|
|
453
|
+
# @!attribute [rw] launch_configuration_template_id
|
454
|
+
# The ID of the Launch Configuration Template to be deleted.
|
455
|
+
# @return [String]
|
456
|
+
#
|
457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteLaunchConfigurationTemplateRequest AWS API Documentation
|
458
|
+
#
|
459
|
+
class DeleteLaunchConfigurationTemplateRequest < Struct.new(
|
460
|
+
:launch_configuration_template_id)
|
461
|
+
SENSITIVE = []
|
462
|
+
include Aws::Structure
|
463
|
+
end
|
464
|
+
|
465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteLaunchConfigurationTemplateResponse AWS API Documentation
|
466
|
+
#
|
467
|
+
class DeleteLaunchConfigurationTemplateResponse < Aws::EmptyStructure; end
|
468
|
+
|
397
469
|
# @!attribute [rw] recovery_instance_id
|
398
470
|
# The ID of the Recovery Instance to be deleted.
|
399
471
|
# @return [String]
|
@@ -541,6 +613,47 @@ module Aws::Drs
|
|
541
613
|
include Aws::Structure
|
542
614
|
end
|
543
615
|
|
616
|
+
# @!attribute [rw] launch_configuration_template_i_ds
|
617
|
+
# Request to filter Launch Configuration Templates list by Launch
|
618
|
+
# Configuration Template ID.
|
619
|
+
# @return [Array<String>]
|
620
|
+
#
|
621
|
+
# @!attribute [rw] max_results
|
622
|
+
# Maximum results to be returned in
|
623
|
+
# DescribeLaunchConfigurationTemplates.
|
624
|
+
# @return [Integer]
|
625
|
+
#
|
626
|
+
# @!attribute [rw] next_token
|
627
|
+
# The token of the next Launch Configuration Template to retrieve.
|
628
|
+
# @return [String]
|
629
|
+
#
|
630
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeLaunchConfigurationTemplatesRequest AWS API Documentation
|
631
|
+
#
|
632
|
+
class DescribeLaunchConfigurationTemplatesRequest < Struct.new(
|
633
|
+
:launch_configuration_template_i_ds,
|
634
|
+
:max_results,
|
635
|
+
:next_token)
|
636
|
+
SENSITIVE = []
|
637
|
+
include Aws::Structure
|
638
|
+
end
|
639
|
+
|
640
|
+
# @!attribute [rw] items
|
641
|
+
# List of items returned by DescribeLaunchConfigurationTemplates.
|
642
|
+
# @return [Array<Types::LaunchConfigurationTemplate>]
|
643
|
+
#
|
644
|
+
# @!attribute [rw] next_token
|
645
|
+
# The token of the next Launch Configuration Template to retrieve.
|
646
|
+
# @return [String]
|
647
|
+
#
|
648
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeLaunchConfigurationTemplatesResponse AWS API Documentation
|
649
|
+
#
|
650
|
+
class DescribeLaunchConfigurationTemplatesResponse < Struct.new(
|
651
|
+
:items,
|
652
|
+
:next_token)
|
653
|
+
SENSITIVE = []
|
654
|
+
include Aws::Structure
|
655
|
+
end
|
656
|
+
|
544
657
|
# @!attribute [rw] filters
|
545
658
|
# A set of filters by which to return Recovery Instances.
|
546
659
|
# @return [Types::DescribeRecoveryInstancesRequestFilters]
|
@@ -1111,6 +1224,55 @@ module Aws::Drs
|
|
1111
1224
|
include Aws::Structure
|
1112
1225
|
end
|
1113
1226
|
|
1227
|
+
# Account level Launch Configuration Template.
|
1228
|
+
#
|
1229
|
+
# @!attribute [rw] arn
|
1230
|
+
# ARN of the Launch Configuration Template.
|
1231
|
+
# @return [String]
|
1232
|
+
#
|
1233
|
+
# @!attribute [rw] copy_private_ip
|
1234
|
+
# Copy private IP.
|
1235
|
+
# @return [Boolean]
|
1236
|
+
#
|
1237
|
+
# @!attribute [rw] copy_tags
|
1238
|
+
# Copy tags.
|
1239
|
+
# @return [Boolean]
|
1240
|
+
#
|
1241
|
+
# @!attribute [rw] launch_configuration_template_id
|
1242
|
+
# ID of the Launch Configuration Template.
|
1243
|
+
# @return [String]
|
1244
|
+
#
|
1245
|
+
# @!attribute [rw] launch_disposition
|
1246
|
+
# Launch disposition.
|
1247
|
+
# @return [String]
|
1248
|
+
#
|
1249
|
+
# @!attribute [rw] licensing
|
1250
|
+
# Licensing.
|
1251
|
+
# @return [Types::Licensing]
|
1252
|
+
#
|
1253
|
+
# @!attribute [rw] tags
|
1254
|
+
# Tags of the Launch Configuration Template.
|
1255
|
+
# @return [Hash<String,String>]
|
1256
|
+
#
|
1257
|
+
# @!attribute [rw] target_instance_type_right_sizing_method
|
1258
|
+
# Target instance type right-sizing method.
|
1259
|
+
# @return [String]
|
1260
|
+
#
|
1261
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/LaunchConfigurationTemplate AWS API Documentation
|
1262
|
+
#
|
1263
|
+
class LaunchConfigurationTemplate < Struct.new(
|
1264
|
+
:arn,
|
1265
|
+
:copy_private_ip,
|
1266
|
+
:copy_tags,
|
1267
|
+
:launch_configuration_template_id,
|
1268
|
+
:launch_disposition,
|
1269
|
+
:licensing,
|
1270
|
+
:tags,
|
1271
|
+
:target_instance_type_right_sizing_method)
|
1272
|
+
SENSITIVE = [:tags]
|
1273
|
+
include Aws::Structure
|
1274
|
+
end
|
1275
|
+
|
1114
1276
|
# Configuration of a machine's license.
|
1115
1277
|
#
|
1116
1278
|
# @!attribute [rw] os_byol
|
@@ -1799,6 +1961,11 @@ module Aws::Drs
|
|
1799
1961
|
# group with the Replication Configuration.
|
1800
1962
|
# @return [Boolean]
|
1801
1963
|
#
|
1964
|
+
# @!attribute [rw] auto_replicate_new_disks
|
1965
|
+
# Whether to allow the AWS replication agent to automatically
|
1966
|
+
# replicate newly added disks.
|
1967
|
+
# @return [Boolean]
|
1968
|
+
#
|
1802
1969
|
# @!attribute [rw] bandwidth_throttling
|
1803
1970
|
# Configure bandwidth throttling for the outbound data transfer rate
|
1804
1971
|
# of the Source Server in Mbps.
|
@@ -1869,6 +2036,7 @@ module Aws::Drs
|
|
1869
2036
|
#
|
1870
2037
|
class ReplicationConfiguration < Struct.new(
|
1871
2038
|
:associate_default_security_group,
|
2039
|
+
:auto_replicate_new_disks,
|
1872
2040
|
:bandwidth_throttling,
|
1873
2041
|
:create_public_ip,
|
1874
2042
|
:data_plane_routing,
|
@@ -1938,6 +2106,11 @@ module Aws::Drs
|
|
1938
2106
|
# group with the Replication Configuration Template.
|
1939
2107
|
# @return [Boolean]
|
1940
2108
|
#
|
2109
|
+
# @!attribute [rw] auto_replicate_new_disks
|
2110
|
+
# Whether to allow the AWS replication agent to automatically
|
2111
|
+
# replicate newly added disks.
|
2112
|
+
# @return [Boolean]
|
2113
|
+
#
|
1941
2114
|
# @!attribute [rw] bandwidth_throttling
|
1942
2115
|
# Configure bandwidth throttling for the outbound data transfer rate
|
1943
2116
|
# of the Source Server in Mbps.
|
@@ -2005,6 +2178,7 @@ module Aws::Drs
|
|
2005
2178
|
class ReplicationConfigurationTemplate < Struct.new(
|
2006
2179
|
:arn,
|
2007
2180
|
:associate_default_security_group,
|
2181
|
+
:auto_replicate_new_disks,
|
2008
2182
|
:bandwidth_throttling,
|
2009
2183
|
:create_public_ip,
|
2010
2184
|
:data_plane_routing,
|
@@ -2186,6 +2360,11 @@ module Aws::Drs
|
|
2186
2360
|
# the Source Server.
|
2187
2361
|
# @return [String]
|
2188
2362
|
#
|
2363
|
+
# @!attribute [rw] supports_nitro_instances
|
2364
|
+
# Are EC2 nitro instance types supported when recovering the Source
|
2365
|
+
# Server.
|
2366
|
+
# @return [Boolean]
|
2367
|
+
#
|
2189
2368
|
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/SourceProperties AWS API Documentation
|
2190
2369
|
#
|
2191
2370
|
class SourceProperties < Struct.new(
|
@@ -2196,7 +2375,8 @@ module Aws::Drs
|
|
2196
2375
|
:network_interfaces,
|
2197
2376
|
:os,
|
2198
2377
|
:ram_bytes,
|
2199
|
-
:recommended_instance_type
|
2378
|
+
:recommended_instance_type,
|
2379
|
+
:supports_nitro_instances)
|
2200
2380
|
SENSITIVE = []
|
2201
2381
|
include Aws::Structure
|
2202
2382
|
end
|
@@ -2662,11 +2842,65 @@ module Aws::Drs
|
|
2662
2842
|
include Aws::Structure
|
2663
2843
|
end
|
2664
2844
|
|
2845
|
+
# @!attribute [rw] copy_private_ip
|
2846
|
+
# Copy private IP.
|
2847
|
+
# @return [Boolean]
|
2848
|
+
#
|
2849
|
+
# @!attribute [rw] copy_tags
|
2850
|
+
# Copy tags.
|
2851
|
+
# @return [Boolean]
|
2852
|
+
#
|
2853
|
+
# @!attribute [rw] launch_configuration_template_id
|
2854
|
+
# Launch Configuration Template ID.
|
2855
|
+
# @return [String]
|
2856
|
+
#
|
2857
|
+
# @!attribute [rw] launch_disposition
|
2858
|
+
# Launch disposition.
|
2859
|
+
# @return [String]
|
2860
|
+
#
|
2861
|
+
# @!attribute [rw] licensing
|
2862
|
+
# Licensing.
|
2863
|
+
# @return [Types::Licensing]
|
2864
|
+
#
|
2865
|
+
# @!attribute [rw] target_instance_type_right_sizing_method
|
2866
|
+
# Target instance type right-sizing method.
|
2867
|
+
# @return [String]
|
2868
|
+
#
|
2869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateLaunchConfigurationTemplateRequest AWS API Documentation
|
2870
|
+
#
|
2871
|
+
class UpdateLaunchConfigurationTemplateRequest < Struct.new(
|
2872
|
+
:copy_private_ip,
|
2873
|
+
:copy_tags,
|
2874
|
+
:launch_configuration_template_id,
|
2875
|
+
:launch_disposition,
|
2876
|
+
:licensing,
|
2877
|
+
:target_instance_type_right_sizing_method)
|
2878
|
+
SENSITIVE = []
|
2879
|
+
include Aws::Structure
|
2880
|
+
end
|
2881
|
+
|
2882
|
+
# @!attribute [rw] launch_configuration_template
|
2883
|
+
# Updated Launch Configuration Template.
|
2884
|
+
# @return [Types::LaunchConfigurationTemplate]
|
2885
|
+
#
|
2886
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateLaunchConfigurationTemplateResponse AWS API Documentation
|
2887
|
+
#
|
2888
|
+
class UpdateLaunchConfigurationTemplateResponse < Struct.new(
|
2889
|
+
:launch_configuration_template)
|
2890
|
+
SENSITIVE = []
|
2891
|
+
include Aws::Structure
|
2892
|
+
end
|
2893
|
+
|
2665
2894
|
# @!attribute [rw] associate_default_security_group
|
2666
2895
|
# Whether to associate the default Elastic Disaster Recovery Security
|
2667
2896
|
# group with the Replication Configuration.
|
2668
2897
|
# @return [Boolean]
|
2669
2898
|
#
|
2899
|
+
# @!attribute [rw] auto_replicate_new_disks
|
2900
|
+
# Whether to allow the AWS replication agent to automatically
|
2901
|
+
# replicate newly added disks.
|
2902
|
+
# @return [Boolean]
|
2903
|
+
#
|
2670
2904
|
# @!attribute [rw] bandwidth_throttling
|
2671
2905
|
# Configure bandwidth throttling for the outbound data transfer rate
|
2672
2906
|
# of the Source Server in Mbps.
|
@@ -2737,6 +2971,7 @@ module Aws::Drs
|
|
2737
2971
|
#
|
2738
2972
|
class UpdateReplicationConfigurationRequest < Struct.new(
|
2739
2973
|
:associate_default_security_group,
|
2974
|
+
:auto_replicate_new_disks,
|
2740
2975
|
:bandwidth_throttling,
|
2741
2976
|
:create_public_ip,
|
2742
2977
|
:data_plane_routing,
|
@@ -2765,6 +3000,11 @@ module Aws::Drs
|
|
2765
3000
|
# group with the Replication Configuration Template.
|
2766
3001
|
# @return [Boolean]
|
2767
3002
|
#
|
3003
|
+
# @!attribute [rw] auto_replicate_new_disks
|
3004
|
+
# Whether to allow the AWS replication agent to automatically
|
3005
|
+
# replicate newly added disks.
|
3006
|
+
# @return [Boolean]
|
3007
|
+
#
|
2768
3008
|
# @!attribute [rw] bandwidth_throttling
|
2769
3009
|
# Configure bandwidth throttling for the outbound data transfer rate
|
2770
3010
|
# of the Source Server in Mbps.
|
@@ -2827,6 +3067,7 @@ module Aws::Drs
|
|
2827
3067
|
class UpdateReplicationConfigurationTemplateRequest < Struct.new(
|
2828
3068
|
:arn,
|
2829
3069
|
:associate_default_security_group,
|
3070
|
+
:auto_replicate_new_disks,
|
2830
3071
|
:bandwidth_throttling,
|
2831
3072
|
:create_public_ip,
|
2832
3073
|
:data_plane_routing,
|
data/lib/aws-sdk-drs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-drs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.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-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|