aws-sdk-drs 1.12.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-drs/client.rb +200 -1
- data/lib/aws-sdk-drs/client_api.rb +124 -0
- 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 +212 -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,11 @@
|
|
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
|
+
|
4
9
|
1.12.0 (2023-03-30)
|
5
10
|
------------------
|
6
11
|
|
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,6 +463,67 @@ 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
|
@@ -628,6 +690,28 @@ module Aws::Drs
|
|
628
690
|
req.send_request(options)
|
629
691
|
end
|
630
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
|
+
|
631
715
|
# Deletes a single Recovery Instance by ID. This deletes the Recovery
|
632
716
|
# Instance resource from Elastic Disaster Recovery. The Recovery
|
633
717
|
# Instance must be disconnected first in order to delete it.
|
@@ -814,6 +898,58 @@ module Aws::Drs
|
|
814
898
|
req.send_request(options)
|
815
899
|
end
|
816
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
|
+
|
817
953
|
# Lists all Recovery Instances or multiple Recovery Instances by ID.
|
818
954
|
#
|
819
955
|
# @option params [Types::DescribeRecoveryInstancesRequestFilters] :filters
|
@@ -1123,6 +1259,7 @@ module Aws::Drs
|
|
1123
1259
|
# resp.items[0].source_properties.os.full_string #=> String
|
1124
1260
|
# resp.items[0].source_properties.ram_bytes #=> Integer
|
1125
1261
|
# resp.items[0].source_properties.recommended_instance_type #=> String
|
1262
|
+
# resp.items[0].source_properties.supports_nitro_instances #=> Boolean
|
1126
1263
|
# resp.items[0].source_server_id #=> String
|
1127
1264
|
# resp.items[0].staging_area.error_message #=> String
|
1128
1265
|
# resp.items[0].staging_area.staging_account_id #=> String
|
@@ -1268,6 +1405,7 @@ module Aws::Drs
|
|
1268
1405
|
# resp.source_properties.os.full_string #=> String
|
1269
1406
|
# resp.source_properties.ram_bytes #=> Integer
|
1270
1407
|
# resp.source_properties.recommended_instance_type #=> String
|
1408
|
+
# resp.source_properties.supports_nitro_instances #=> Boolean
|
1271
1409
|
# resp.source_server_id #=> String
|
1272
1410
|
# resp.staging_area.error_message #=> String
|
1273
1411
|
# resp.staging_area.staging_account_id #=> String
|
@@ -1649,6 +1787,7 @@ module Aws::Drs
|
|
1649
1787
|
# resp.source_properties.os.full_string #=> String
|
1650
1788
|
# resp.source_properties.ram_bytes #=> Integer
|
1651
1789
|
# resp.source_properties.recommended_instance_type #=> String
|
1790
|
+
# resp.source_properties.supports_nitro_instances #=> Boolean
|
1652
1791
|
# resp.source_server_id #=> String
|
1653
1792
|
# resp.staging_area.error_message #=> String
|
1654
1793
|
# resp.staging_area.staging_account_id #=> String
|
@@ -1876,6 +2015,7 @@ module Aws::Drs
|
|
1876
2015
|
# resp.source_server.source_properties.os.full_string #=> String
|
1877
2016
|
# resp.source_server.source_properties.ram_bytes #=> Integer
|
1878
2017
|
# resp.source_server.source_properties.recommended_instance_type #=> String
|
2018
|
+
# resp.source_server.source_properties.supports_nitro_instances #=> Boolean
|
1879
2019
|
# resp.source_server.source_server_id #=> String
|
1880
2020
|
# resp.source_server.staging_area.error_message #=> String
|
1881
2021
|
# resp.source_server.staging_area.staging_account_id #=> String
|
@@ -1988,6 +2128,7 @@ module Aws::Drs
|
|
1988
2128
|
# resp.source_server.source_properties.os.full_string #=> String
|
1989
2129
|
# resp.source_server.source_properties.ram_bytes #=> Integer
|
1990
2130
|
# resp.source_server.source_properties.recommended_instance_type #=> String
|
2131
|
+
# resp.source_server.source_properties.supports_nitro_instances #=> Boolean
|
1991
2132
|
# resp.source_server.source_server_id #=> String
|
1992
2133
|
# resp.source_server.staging_area.error_message #=> String
|
1993
2134
|
# resp.source_server.staging_area.staging_account_id #=> String
|
@@ -2217,6 +2358,64 @@ module Aws::Drs
|
|
2217
2358
|
req.send_request(options)
|
2218
2359
|
end
|
2219
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
|
+
|
2220
2419
|
# Allows you to update a ReplicationConfiguration by Source Server ID.
|
2221
2420
|
#
|
2222
2421
|
# @option params [Boolean] :associate_default_security_group
|
@@ -2538,7 +2737,7 @@ module Aws::Drs
|
|
2538
2737
|
params: params,
|
2539
2738
|
config: config)
|
2540
2739
|
context[:gem_name] = 'aws-sdk-drs'
|
2541
|
-
context[:gem_version] = '1.
|
2740
|
+
context[:gem_version] = '1.13.0'
|
2542
2741
|
Seahorse::Client::Request.new(handlers, context)
|
2543
2742
|
end
|
2544
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')
|
@@ -107,6 +113,10 @@ module Aws::Drs
|
|
107
113
|
LastLaunchResult = Shapes::StringShape.new(name: 'LastLaunchResult')
|
108
114
|
LastLaunchType = Shapes::StringShape.new(name: 'LastLaunchType')
|
109
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')
|
110
120
|
LaunchDisposition = Shapes::StringShape.new(name: 'LaunchDisposition')
|
111
121
|
LaunchStatus = Shapes::StringShape.new(name: 'LaunchStatus')
|
112
122
|
Licensing = Shapes::StructureShape.new(name: 'Licensing')
|
@@ -121,6 +131,7 @@ module Aws::Drs
|
|
121
131
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
122
132
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
123
133
|
MaxResultsReplicatingSourceServers = Shapes::IntegerShape.new(name: 'MaxResultsReplicatingSourceServers')
|
134
|
+
MaxResultsType = Shapes::IntegerShape.new(name: 'MaxResultsType')
|
124
135
|
NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
|
125
136
|
NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
|
126
137
|
OS = Shapes::StructureShape.new(name: 'OS')
|
@@ -211,6 +222,8 @@ module Aws::Drs
|
|
211
222
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
212
223
|
UpdateFailbackReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateFailbackReplicationConfigurationRequest')
|
213
224
|
UpdateLaunchConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateLaunchConfigurationRequest')
|
225
|
+
UpdateLaunchConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'UpdateLaunchConfigurationTemplateRequest')
|
226
|
+
UpdateLaunchConfigurationTemplateResponse = Shapes::StructureShape.new(name: 'UpdateLaunchConfigurationTemplateResponse')
|
214
227
|
UpdateReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateReplicationConfigurationRequest')
|
215
228
|
UpdateReplicationConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'UpdateReplicationConfigurationTemplateRequest')
|
216
229
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
@@ -260,6 +273,17 @@ 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"))
|
264
288
|
CreateReplicationConfigurationTemplateRequest.add_member(:auto_replicate_new_disks, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoReplicateNewDisks"))
|
265
289
|
CreateReplicationConfigurationTemplateRequest.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, required: true, location_name: "bandwidthThrottling"))
|
@@ -315,6 +339,11 @@ module Aws::Drs
|
|
315
339
|
|
316
340
|
DeleteJobResponse.struct_class = Types::DeleteJobResponse
|
317
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
|
+
|
318
347
|
DeleteRecoveryInstanceRequest.add_member(:recovery_instance_id, Shapes::ShapeRef.new(shape: RecoveryInstanceID, required: true, location_name: "recoveryInstanceID"))
|
319
348
|
DeleteRecoveryInstanceRequest.struct_class = Types::DeleteRecoveryInstanceRequest
|
320
349
|
|
@@ -353,6 +382,15 @@ module Aws::Drs
|
|
353
382
|
DescribeJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
354
383
|
DescribeJobsResponse.struct_class = Types::DescribeJobsResponse
|
355
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
|
+
|
356
394
|
DescribeRecoveryInstancesItems.member = Shapes::ShapeRef.new(shape: RecoveryInstance)
|
357
395
|
|
358
396
|
DescribeRecoveryInstancesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: DescribeRecoveryInstancesRequestFilters, location_name: "filters"))
|
@@ -490,6 +528,20 @@ module Aws::Drs
|
|
490
528
|
LaunchConfiguration.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
491
529
|
LaunchConfiguration.struct_class = Types::LaunchConfiguration
|
492
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
|
+
|
493
545
|
Licensing.add_member(:os_byol, Shapes::ShapeRef.new(shape: Boolean, location_name: "osByol"))
|
494
546
|
Licensing.struct_class = Types::Licensing
|
495
547
|
|
@@ -737,6 +789,7 @@ module Aws::Drs
|
|
737
789
|
SourceProperties.add_member(:os, Shapes::ShapeRef.new(shape: OS, location_name: "os"))
|
738
790
|
SourceProperties.add_member(:ram_bytes, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "ramBytes"))
|
739
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"))
|
740
793
|
SourceProperties.struct_class = Types::SourceProperties
|
741
794
|
|
742
795
|
SourceServer.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
|
@@ -852,6 +905,17 @@ module Aws::Drs
|
|
852
905
|
UpdateLaunchConfigurationRequest.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
853
906
|
UpdateLaunchConfigurationRequest.struct_class = Types::UpdateLaunchConfigurationRequest
|
854
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
|
+
|
855
919
|
UpdateReplicationConfigurationRequest.add_member(:associate_default_security_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateDefaultSecurityGroup"))
|
856
920
|
UpdateReplicationConfigurationRequest.add_member(:auto_replicate_new_disks, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoReplicateNewDisks"))
|
857
921
|
UpdateReplicationConfigurationRequest.add_member(:bandwidth_throttling, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "bandwidthThrottling"))
|
@@ -941,6 +1005,20 @@ module Aws::Drs
|
|
941
1005
|
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
942
1006
|
end)
|
943
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
|
+
|
944
1022
|
api.add_operation(:create_replication_configuration_template, Seahorse::Model::Operation.new.tap do |o|
|
945
1023
|
o.name = "CreateReplicationConfigurationTemplate"
|
946
1024
|
o.http_method = "POST"
|
@@ -968,6 +1046,19 @@ module Aws::Drs
|
|
968
1046
|
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
969
1047
|
end)
|
970
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
|
+
|
971
1062
|
api.add_operation(:delete_recovery_instance, Seahorse::Model::Operation.new.tap do |o|
|
972
1063
|
o.name = "DeleteRecoveryInstance"
|
973
1064
|
o.http_method = "POST"
|
@@ -1043,6 +1134,25 @@ module Aws::Drs
|
|
1043
1134
|
)
|
1044
1135
|
end)
|
1045
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
|
+
|
1046
1156
|
api.add_operation(:describe_recovery_instances, Seahorse::Model::Operation.new.tap do |o|
|
1047
1157
|
o.name = "DescribeRecoveryInstances"
|
1048
1158
|
o.http_method = "POST"
|
@@ -1404,6 +1514,20 @@ module Aws::Drs
|
|
1404
1514
|
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
1405
1515
|
end)
|
1406
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
|
+
|
1407
1531
|
api.add_operation(:update_replication_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1408
1532
|
o.name = "UpdateReplicationConfiguration"
|
1409
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,6 +153,56 @@ 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.
|
@@ -400,6 +450,22 @@ module Aws::Drs
|
|
400
450
|
#
|
401
451
|
class DeleteJobResponse < Aws::EmptyStructure; end
|
402
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
|
+
|
403
469
|
# @!attribute [rw] recovery_instance_id
|
404
470
|
# The ID of the Recovery Instance to be deleted.
|
405
471
|
# @return [String]
|
@@ -547,6 +613,47 @@ module Aws::Drs
|
|
547
613
|
include Aws::Structure
|
548
614
|
end
|
549
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
|
+
|
550
657
|
# @!attribute [rw] filters
|
551
658
|
# A set of filters by which to return Recovery Instances.
|
552
659
|
# @return [Types::DescribeRecoveryInstancesRequestFilters]
|
@@ -1117,6 +1224,55 @@ module Aws::Drs
|
|
1117
1224
|
include Aws::Structure
|
1118
1225
|
end
|
1119
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
|
+
|
1120
1276
|
# Configuration of a machine's license.
|
1121
1277
|
#
|
1122
1278
|
# @!attribute [rw] os_byol
|
@@ -2204,6 +2360,11 @@ module Aws::Drs
|
|
2204
2360
|
# the Source Server.
|
2205
2361
|
# @return [String]
|
2206
2362
|
#
|
2363
|
+
# @!attribute [rw] supports_nitro_instances
|
2364
|
+
# Are EC2 nitro instance types supported when recovering the Source
|
2365
|
+
# Server.
|
2366
|
+
# @return [Boolean]
|
2367
|
+
#
|
2207
2368
|
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/SourceProperties AWS API Documentation
|
2208
2369
|
#
|
2209
2370
|
class SourceProperties < Struct.new(
|
@@ -2214,7 +2375,8 @@ module Aws::Drs
|
|
2214
2375
|
:network_interfaces,
|
2215
2376
|
:os,
|
2216
2377
|
:ram_bytes,
|
2217
|
-
:recommended_instance_type
|
2378
|
+
:recommended_instance_type,
|
2379
|
+
:supports_nitro_instances)
|
2218
2380
|
SENSITIVE = []
|
2219
2381
|
include Aws::Structure
|
2220
2382
|
end
|
@@ -2680,6 +2842,55 @@ module Aws::Drs
|
|
2680
2842
|
include Aws::Structure
|
2681
2843
|
end
|
2682
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
|
+
|
2683
2894
|
# @!attribute [rw] associate_default_security_group
|
2684
2895
|
# Whether to associate the default Elastic Disaster Recovery Security
|
2685
2896
|
# group with the Replication Configuration.
|
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
|