aws-sdk-drs 1.20.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-drs/client.rb +311 -1
- data/lib/aws-sdk-drs/client_api.rb +164 -0
- data/lib/aws-sdk-drs/endpoints.rb +42 -0
- data/lib/aws-sdk-drs/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-drs/types.rb +375 -0
- 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: 1b925448dbe18173a40adb11324a1531738b9d0016ade8baf95f905a29c48760
|
4
|
+
data.tar.gz: 96956a96ea1f1c4f8a57ff526f263924fcf383e9a724ffc2ddddb17389855b7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2c91e57907a75caa77074f92c46e565f1f63f617b6646ae09870f405a6226cb73e51c82b8c32ad84c2c4b75d521e2a0d5a7862dd7b827d6abdaa60ed1fe86fa
|
7
|
+
data.tar.gz: f3904bfe4608ff0e20095f1896d77068b835ad4211a21b00ae03b9a1a8e1fc08ce58867d308a374bf3ea91eae667ac8a37faf1c12f714a5a4ffda91c3581609b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.21.0 (2023-09-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updated existing APIs and added new ones to support using AWS Elastic Disaster Recovery post-launch actions. Added support for new regions.
|
8
|
+
|
4
9
|
1.20.0 (2023-07-31)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.21.0
|
data/lib/aws-sdk-drs/client.rb
CHANGED
@@ -420,6 +420,24 @@ module Aws::Drs
|
|
420
420
|
# resp.job.participating_resources[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
421
421
|
# resp.job.participating_resources[0].participating_resource_id.source_network_id #=> String
|
422
422
|
# resp.job.participating_servers #=> Array
|
423
|
+
# resp.job.participating_servers[0].launch_actions_status.runs #=> Array
|
424
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_code #=> String
|
425
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_id #=> String
|
426
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_version #=> String
|
427
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.active #=> Boolean
|
428
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.category #=> String, one of "MONITORING", "VALIDATION", "CONFIGURATION", "SECURITY", "OTHER"
|
429
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.description #=> String
|
430
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.name #=> String
|
431
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.optional #=> Boolean
|
432
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.order #=> Integer
|
433
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters #=> Hash
|
434
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters["LaunchActionParameterName"].type #=> String, one of "SSM_STORE", "DYNAMIC"
|
435
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters["LaunchActionParameterName"].value #=> String
|
436
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.type #=> String, one of "SSM_AUTOMATION", "SSM_COMMAND"
|
437
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].failure_reason #=> String
|
438
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].run_id #=> String
|
439
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
440
|
+
# resp.job.participating_servers[0].launch_actions_status.ssm_agent_discovery_datetime #=> String
|
423
441
|
# resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
424
442
|
# resp.job.participating_servers[0].recovery_instance_id #=> String
|
425
443
|
# resp.job.participating_servers[0].source_server_id #=> String
|
@@ -550,6 +568,9 @@ module Aws::Drs
|
|
550
568
|
# @option params [Types::Licensing] :licensing
|
551
569
|
# Licensing.
|
552
570
|
#
|
571
|
+
# @option params [Boolean] :post_launch_enabled
|
572
|
+
# Whether we want to activate post-launch actions.
|
573
|
+
#
|
553
574
|
# @option params [Hash<String,String>] :tags
|
554
575
|
# Request to associate tags during creation of a Launch Configuration
|
555
576
|
# Template.
|
@@ -571,6 +592,7 @@ module Aws::Drs
|
|
571
592
|
# licensing: {
|
572
593
|
# os_byol: false,
|
573
594
|
# },
|
595
|
+
# post_launch_enabled: false,
|
574
596
|
# tags: {
|
575
597
|
# "TagKey" => "TagValue",
|
576
598
|
# },
|
@@ -586,6 +608,7 @@ module Aws::Drs
|
|
586
608
|
# resp.launch_configuration_template.launch_configuration_template_id #=> String
|
587
609
|
# resp.launch_configuration_template.launch_disposition #=> String, one of "STOPPED", "STARTED"
|
588
610
|
# resp.launch_configuration_template.licensing.os_byol #=> Boolean
|
611
|
+
# resp.launch_configuration_template.post_launch_enabled #=> Boolean
|
589
612
|
# resp.launch_configuration_template.tags #=> Hash
|
590
613
|
# resp.launch_configuration_template.tags["TagKey"] #=> String
|
591
614
|
# resp.launch_configuration_template.target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC", "IN_AWS"
|
@@ -807,6 +830,32 @@ module Aws::Drs
|
|
807
830
|
req.send_request(options)
|
808
831
|
end
|
809
832
|
|
833
|
+
# Deletes a resource launch action.
|
834
|
+
#
|
835
|
+
# @option params [required, String] :action_id
|
836
|
+
# Launch action Id.
|
837
|
+
#
|
838
|
+
# @option params [required, String] :resource_id
|
839
|
+
# Launch configuration template Id or Source Server Id
|
840
|
+
#
|
841
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
842
|
+
#
|
843
|
+
# @example Request syntax with placeholder values
|
844
|
+
#
|
845
|
+
# resp = client.delete_launch_action({
|
846
|
+
# action_id: "LaunchActionId", # required
|
847
|
+
# resource_id: "LaunchActionResourceId", # required
|
848
|
+
# })
|
849
|
+
#
|
850
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteLaunchAction AWS API Documentation
|
851
|
+
#
|
852
|
+
# @overload delete_launch_action(params = {})
|
853
|
+
# @param [Hash] params ({})
|
854
|
+
def delete_launch_action(params = {}, options = {})
|
855
|
+
req = build_request(:delete_launch_action, params)
|
856
|
+
req.send_request(options)
|
857
|
+
end
|
858
|
+
|
810
859
|
# Deletes a single Launch Configuration Template by ID.
|
811
860
|
#
|
812
861
|
# @option params [required, String] :launch_configuration_template_id
|
@@ -1026,6 +1075,24 @@ module Aws::Drs
|
|
1026
1075
|
# resp.items[0].participating_resources[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1027
1076
|
# resp.items[0].participating_resources[0].participating_resource_id.source_network_id #=> String
|
1028
1077
|
# resp.items[0].participating_servers #=> Array
|
1078
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs #=> Array
|
1079
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.action_code #=> String
|
1080
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.action_id #=> String
|
1081
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.action_version #=> String
|
1082
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.active #=> Boolean
|
1083
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.category #=> String, one of "MONITORING", "VALIDATION", "CONFIGURATION", "SECURITY", "OTHER"
|
1084
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.description #=> String
|
1085
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.name #=> String
|
1086
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.optional #=> Boolean
|
1087
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.order #=> Integer
|
1088
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.parameters #=> Hash
|
1089
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.parameters["LaunchActionParameterName"].type #=> String, one of "SSM_STORE", "DYNAMIC"
|
1090
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.parameters["LaunchActionParameterName"].value #=> String
|
1091
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].action.type #=> String, one of "SSM_AUTOMATION", "SSM_COMMAND"
|
1092
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].failure_reason #=> String
|
1093
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].run_id #=> String
|
1094
|
+
# resp.items[0].participating_servers[0].launch_actions_status.runs[0].status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
1095
|
+
# resp.items[0].participating_servers[0].launch_actions_status.ssm_agent_discovery_datetime #=> String
|
1029
1096
|
# resp.items[0].participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
1030
1097
|
# resp.items[0].participating_servers[0].recovery_instance_id #=> String
|
1031
1098
|
# resp.items[0].participating_servers[0].source_server_id #=> String
|
@@ -1083,6 +1150,7 @@ module Aws::Drs
|
|
1083
1150
|
# resp.items[0].launch_configuration_template_id #=> String
|
1084
1151
|
# resp.items[0].launch_disposition #=> String, one of "STOPPED", "STARTED"
|
1085
1152
|
# resp.items[0].licensing.os_byol #=> Boolean
|
1153
|
+
# resp.items[0].post_launch_enabled #=> Boolean
|
1086
1154
|
# resp.items[0].tags #=> Hash
|
1087
1155
|
# resp.items[0].tags["TagKey"] #=> String
|
1088
1156
|
# resp.items[0].target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC", "IN_AWS"
|
@@ -1710,6 +1778,7 @@ module Aws::Drs
|
|
1710
1778
|
# * {Types::LaunchConfiguration#launch_disposition #launch_disposition} => String
|
1711
1779
|
# * {Types::LaunchConfiguration#licensing #licensing} => Types::Licensing
|
1712
1780
|
# * {Types::LaunchConfiguration#name #name} => String
|
1781
|
+
# * {Types::LaunchConfiguration#post_launch_enabled #post_launch_enabled} => Boolean
|
1713
1782
|
# * {Types::LaunchConfiguration#source_server_id #source_server_id} => String
|
1714
1783
|
# * {Types::LaunchConfiguration#target_instance_type_right_sizing_method #target_instance_type_right_sizing_method} => String
|
1715
1784
|
#
|
@@ -1727,6 +1796,7 @@ module Aws::Drs
|
|
1727
1796
|
# resp.launch_disposition #=> String, one of "STOPPED", "STARTED"
|
1728
1797
|
# resp.licensing.os_byol #=> Boolean
|
1729
1798
|
# resp.name #=> String
|
1799
|
+
# resp.post_launch_enabled #=> Boolean
|
1730
1800
|
# resp.source_server_id #=> String
|
1731
1801
|
# resp.target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC", "IN_AWS"
|
1732
1802
|
#
|
@@ -1873,6 +1943,66 @@ module Aws::Drs
|
|
1873
1943
|
req.send_request(options)
|
1874
1944
|
end
|
1875
1945
|
|
1946
|
+
# Lists resource launch actions.
|
1947
|
+
#
|
1948
|
+
# @option params [Types::LaunchActionsRequestFilters] :filters
|
1949
|
+
# Filters to apply when listing resource launch actions.
|
1950
|
+
#
|
1951
|
+
# @option params [Integer] :max_results
|
1952
|
+
# Maximum amount of items to return when listing resource launch
|
1953
|
+
# actions.
|
1954
|
+
#
|
1955
|
+
# @option params [String] :next_token
|
1956
|
+
# Next token to use when listing resource launch actions.
|
1957
|
+
#
|
1958
|
+
# @option params [required, String] :resource_id
|
1959
|
+
# Launch configuration template Id or Source Server Id
|
1960
|
+
#
|
1961
|
+
# @return [Types::ListLaunchActionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1962
|
+
#
|
1963
|
+
# * {Types::ListLaunchActionsResponse#items #items} => Array<Types::LaunchAction>
|
1964
|
+
# * {Types::ListLaunchActionsResponse#next_token #next_token} => String
|
1965
|
+
#
|
1966
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1967
|
+
#
|
1968
|
+
# @example Request syntax with placeholder values
|
1969
|
+
#
|
1970
|
+
# resp = client.list_launch_actions({
|
1971
|
+
# filters: {
|
1972
|
+
# action_ids: ["LaunchActionId"],
|
1973
|
+
# },
|
1974
|
+
# max_results: 1,
|
1975
|
+
# next_token: "PaginationToken",
|
1976
|
+
# resource_id: "LaunchActionResourceId", # required
|
1977
|
+
# })
|
1978
|
+
#
|
1979
|
+
# @example Response structure
|
1980
|
+
#
|
1981
|
+
# resp.items #=> Array
|
1982
|
+
# resp.items[0].action_code #=> String
|
1983
|
+
# resp.items[0].action_id #=> String
|
1984
|
+
# resp.items[0].action_version #=> String
|
1985
|
+
# resp.items[0].active #=> Boolean
|
1986
|
+
# resp.items[0].category #=> String, one of "MONITORING", "VALIDATION", "CONFIGURATION", "SECURITY", "OTHER"
|
1987
|
+
# resp.items[0].description #=> String
|
1988
|
+
# resp.items[0].name #=> String
|
1989
|
+
# resp.items[0].optional #=> Boolean
|
1990
|
+
# resp.items[0].order #=> Integer
|
1991
|
+
# resp.items[0].parameters #=> Hash
|
1992
|
+
# resp.items[0].parameters["LaunchActionParameterName"].type #=> String, one of "SSM_STORE", "DYNAMIC"
|
1993
|
+
# resp.items[0].parameters["LaunchActionParameterName"].value #=> String
|
1994
|
+
# resp.items[0].type #=> String, one of "SSM_AUTOMATION", "SSM_COMMAND"
|
1995
|
+
# resp.next_token #=> String
|
1996
|
+
#
|
1997
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListLaunchActions AWS API Documentation
|
1998
|
+
#
|
1999
|
+
# @overload list_launch_actions(params = {})
|
2000
|
+
# @param [Hash] params ({})
|
2001
|
+
def list_launch_actions(params = {}, options = {})
|
2002
|
+
req = build_request(:list_launch_actions, params)
|
2003
|
+
req.send_request(options)
|
2004
|
+
end
|
2005
|
+
|
1876
2006
|
# Returns an array of staging accounts for existing extended source
|
1877
2007
|
# servers.
|
1878
2008
|
#
|
@@ -1940,6 +2070,103 @@ module Aws::Drs
|
|
1940
2070
|
req.send_request(options)
|
1941
2071
|
end
|
1942
2072
|
|
2073
|
+
# Puts a resource launch action.
|
2074
|
+
#
|
2075
|
+
# @option params [required, String] :action_code
|
2076
|
+
# Launch action code.
|
2077
|
+
#
|
2078
|
+
# @option params [required, String] :action_id
|
2079
|
+
# Launch action Id.
|
2080
|
+
#
|
2081
|
+
# @option params [required, String] :action_version
|
2082
|
+
# Launch action version.
|
2083
|
+
#
|
2084
|
+
# @option params [required, Boolean] :active
|
2085
|
+
# Whether the launch action is active.
|
2086
|
+
#
|
2087
|
+
# @option params [required, String] :category
|
2088
|
+
# Launch action category.
|
2089
|
+
#
|
2090
|
+
# @option params [String] :description
|
2091
|
+
# Launch action description.
|
2092
|
+
#
|
2093
|
+
# @option params [required, String] :name
|
2094
|
+
# Launch action name.
|
2095
|
+
#
|
2096
|
+
# @option params [required, Boolean] :optional
|
2097
|
+
# Whether the launch will not be marked as failed if this action fails.
|
2098
|
+
#
|
2099
|
+
# @option params [required, Integer] :order
|
2100
|
+
# Launch action order.
|
2101
|
+
#
|
2102
|
+
# @option params [Hash<String,Types::LaunchActionParameter>] :parameters
|
2103
|
+
# Launch action parameters.
|
2104
|
+
#
|
2105
|
+
# @option params [required, String] :resource_id
|
2106
|
+
# Launch configuration template Id or Source Server Id
|
2107
|
+
#
|
2108
|
+
# @return [Types::PutLaunchActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2109
|
+
#
|
2110
|
+
# * {Types::PutLaunchActionResponse#action_code #action_code} => String
|
2111
|
+
# * {Types::PutLaunchActionResponse#action_id #action_id} => String
|
2112
|
+
# * {Types::PutLaunchActionResponse#action_version #action_version} => String
|
2113
|
+
# * {Types::PutLaunchActionResponse#active #active} => Boolean
|
2114
|
+
# * {Types::PutLaunchActionResponse#category #category} => String
|
2115
|
+
# * {Types::PutLaunchActionResponse#description #description} => String
|
2116
|
+
# * {Types::PutLaunchActionResponse#name #name} => String
|
2117
|
+
# * {Types::PutLaunchActionResponse#optional #optional} => Boolean
|
2118
|
+
# * {Types::PutLaunchActionResponse#order #order} => Integer
|
2119
|
+
# * {Types::PutLaunchActionResponse#parameters #parameters} => Hash<String,Types::LaunchActionParameter>
|
2120
|
+
# * {Types::PutLaunchActionResponse#resource_id #resource_id} => String
|
2121
|
+
# * {Types::PutLaunchActionResponse#type #type} => String
|
2122
|
+
#
|
2123
|
+
# @example Request syntax with placeholder values
|
2124
|
+
#
|
2125
|
+
# resp = client.put_launch_action({
|
2126
|
+
# action_code: "SsmDocumentName", # required
|
2127
|
+
# action_id: "LaunchActionId", # required
|
2128
|
+
# action_version: "LaunchActionVersion", # required
|
2129
|
+
# active: false, # required
|
2130
|
+
# category: "MONITORING", # required, accepts MONITORING, VALIDATION, CONFIGURATION, SECURITY, OTHER
|
2131
|
+
# description: "LaunchActionDescription",
|
2132
|
+
# name: "LaunchActionName", # required
|
2133
|
+
# optional: false, # required
|
2134
|
+
# order: 1, # required
|
2135
|
+
# parameters: {
|
2136
|
+
# "LaunchActionParameterName" => {
|
2137
|
+
# type: "SSM_STORE", # accepts SSM_STORE, DYNAMIC
|
2138
|
+
# value: "LaunchActionParameterValue",
|
2139
|
+
# },
|
2140
|
+
# },
|
2141
|
+
# resource_id: "LaunchActionResourceId", # required
|
2142
|
+
# })
|
2143
|
+
#
|
2144
|
+
# @example Response structure
|
2145
|
+
#
|
2146
|
+
# resp.action_code #=> String
|
2147
|
+
# resp.action_id #=> String
|
2148
|
+
# resp.action_version #=> String
|
2149
|
+
# resp.active #=> Boolean
|
2150
|
+
# resp.category #=> String, one of "MONITORING", "VALIDATION", "CONFIGURATION", "SECURITY", "OTHER"
|
2151
|
+
# resp.description #=> String
|
2152
|
+
# resp.name #=> String
|
2153
|
+
# resp.optional #=> Boolean
|
2154
|
+
# resp.order #=> Integer
|
2155
|
+
# resp.parameters #=> Hash
|
2156
|
+
# resp.parameters["LaunchActionParameterName"].type #=> String, one of "SSM_STORE", "DYNAMIC"
|
2157
|
+
# resp.parameters["LaunchActionParameterName"].value #=> String
|
2158
|
+
# resp.resource_id #=> String
|
2159
|
+
# resp.type #=> String, one of "SSM_AUTOMATION", "SSM_COMMAND"
|
2160
|
+
#
|
2161
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/PutLaunchAction AWS API Documentation
|
2162
|
+
#
|
2163
|
+
# @overload put_launch_action(params = {})
|
2164
|
+
# @param [Hash] params ({})
|
2165
|
+
def put_launch_action(params = {}, options = {})
|
2166
|
+
req = build_request(:put_launch_action, params)
|
2167
|
+
req.send_request(options)
|
2168
|
+
end
|
2169
|
+
|
1943
2170
|
# WARNING: RetryDataReplication is deprecated. Causes the data
|
1944
2171
|
# replication initiation sequence to begin immediately upon next
|
1945
2172
|
# Handshake for the specified Source Server ID, regardless of when the
|
@@ -2113,6 +2340,24 @@ module Aws::Drs
|
|
2113
2340
|
# resp.job.participating_resources[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
2114
2341
|
# resp.job.participating_resources[0].participating_resource_id.source_network_id #=> String
|
2115
2342
|
# resp.job.participating_servers #=> Array
|
2343
|
+
# resp.job.participating_servers[0].launch_actions_status.runs #=> Array
|
2344
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_code #=> String
|
2345
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_id #=> String
|
2346
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_version #=> String
|
2347
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.active #=> Boolean
|
2348
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.category #=> String, one of "MONITORING", "VALIDATION", "CONFIGURATION", "SECURITY", "OTHER"
|
2349
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.description #=> String
|
2350
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.name #=> String
|
2351
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.optional #=> Boolean
|
2352
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.order #=> Integer
|
2353
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters #=> Hash
|
2354
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters["LaunchActionParameterName"].type #=> String, one of "SSM_STORE", "DYNAMIC"
|
2355
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters["LaunchActionParameterName"].value #=> String
|
2356
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.type #=> String, one of "SSM_AUTOMATION", "SSM_COMMAND"
|
2357
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].failure_reason #=> String
|
2358
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].run_id #=> String
|
2359
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2360
|
+
# resp.job.participating_servers[0].launch_actions_status.ssm_agent_discovery_datetime #=> String
|
2116
2361
|
# resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
2117
2362
|
# resp.job.participating_servers[0].recovery_instance_id #=> String
|
2118
2363
|
# resp.job.participating_servers[0].source_server_id #=> String
|
@@ -2173,6 +2418,24 @@ module Aws::Drs
|
|
2173
2418
|
# resp.job.participating_resources[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
2174
2419
|
# resp.job.participating_resources[0].participating_resource_id.source_network_id #=> String
|
2175
2420
|
# resp.job.participating_servers #=> Array
|
2421
|
+
# resp.job.participating_servers[0].launch_actions_status.runs #=> Array
|
2422
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_code #=> String
|
2423
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_id #=> String
|
2424
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_version #=> String
|
2425
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.active #=> Boolean
|
2426
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.category #=> String, one of "MONITORING", "VALIDATION", "CONFIGURATION", "SECURITY", "OTHER"
|
2427
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.description #=> String
|
2428
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.name #=> String
|
2429
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.optional #=> Boolean
|
2430
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.order #=> Integer
|
2431
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters #=> Hash
|
2432
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters["LaunchActionParameterName"].type #=> String, one of "SSM_STORE", "DYNAMIC"
|
2433
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters["LaunchActionParameterName"].value #=> String
|
2434
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.type #=> String, one of "SSM_AUTOMATION", "SSM_COMMAND"
|
2435
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].failure_reason #=> String
|
2436
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].run_id #=> String
|
2437
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2438
|
+
# resp.job.participating_servers[0].launch_actions_status.ssm_agent_discovery_datetime #=> String
|
2176
2439
|
# resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
2177
2440
|
# resp.job.participating_servers[0].recovery_instance_id #=> String
|
2178
2441
|
# resp.job.participating_servers[0].source_server_id #=> String
|
@@ -2323,6 +2586,24 @@ module Aws::Drs
|
|
2323
2586
|
# resp.job.participating_resources[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
2324
2587
|
# resp.job.participating_resources[0].participating_resource_id.source_network_id #=> String
|
2325
2588
|
# resp.job.participating_servers #=> Array
|
2589
|
+
# resp.job.participating_servers[0].launch_actions_status.runs #=> Array
|
2590
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_code #=> String
|
2591
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_id #=> String
|
2592
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_version #=> String
|
2593
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.active #=> Boolean
|
2594
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.category #=> String, one of "MONITORING", "VALIDATION", "CONFIGURATION", "SECURITY", "OTHER"
|
2595
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.description #=> String
|
2596
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.name #=> String
|
2597
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.optional #=> Boolean
|
2598
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.order #=> Integer
|
2599
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters #=> Hash
|
2600
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters["LaunchActionParameterName"].type #=> String, one of "SSM_STORE", "DYNAMIC"
|
2601
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters["LaunchActionParameterName"].value #=> String
|
2602
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.type #=> String, one of "SSM_AUTOMATION", "SSM_COMMAND"
|
2603
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].failure_reason #=> String
|
2604
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].run_id #=> String
|
2605
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2606
|
+
# resp.job.participating_servers[0].launch_actions_status.ssm_agent_discovery_datetime #=> String
|
2326
2607
|
# resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
2327
2608
|
# resp.job.participating_servers[0].recovery_instance_id #=> String
|
2328
2609
|
# resp.job.participating_servers[0].source_server_id #=> String
|
@@ -2598,6 +2879,24 @@ module Aws::Drs
|
|
2598
2879
|
# resp.job.participating_resources[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
2599
2880
|
# resp.job.participating_resources[0].participating_resource_id.source_network_id #=> String
|
2600
2881
|
# resp.job.participating_servers #=> Array
|
2882
|
+
# resp.job.participating_servers[0].launch_actions_status.runs #=> Array
|
2883
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_code #=> String
|
2884
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_id #=> String
|
2885
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.action_version #=> String
|
2886
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.active #=> Boolean
|
2887
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.category #=> String, one of "MONITORING", "VALIDATION", "CONFIGURATION", "SECURITY", "OTHER"
|
2888
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.description #=> String
|
2889
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.name #=> String
|
2890
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.optional #=> Boolean
|
2891
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.order #=> Integer
|
2892
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters #=> Hash
|
2893
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters["LaunchActionParameterName"].type #=> String, one of "SSM_STORE", "DYNAMIC"
|
2894
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.parameters["LaunchActionParameterName"].value #=> String
|
2895
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].action.type #=> String, one of "SSM_AUTOMATION", "SSM_COMMAND"
|
2896
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].failure_reason #=> String
|
2897
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].run_id #=> String
|
2898
|
+
# resp.job.participating_servers[0].launch_actions_status.runs[0].status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2899
|
+
# resp.job.participating_servers[0].launch_actions_status.ssm_agent_discovery_datetime #=> String
|
2601
2900
|
# resp.job.participating_servers[0].launch_status #=> String, one of "PENDING", "IN_PROGRESS", "LAUNCHED", "FAILED", "TERMINATED"
|
2602
2901
|
# resp.job.participating_servers[0].recovery_instance_id #=> String
|
2603
2902
|
# resp.job.participating_servers[0].source_server_id #=> String
|
@@ -2699,6 +2998,9 @@ module Aws::Drs
|
|
2699
2998
|
# @option params [String] :name
|
2700
2999
|
# The name of the launch configuration.
|
2701
3000
|
#
|
3001
|
+
# @option params [Boolean] :post_launch_enabled
|
3002
|
+
# Whether we want to enable post-launch actions for the Source Server.
|
3003
|
+
#
|
2702
3004
|
# @option params [required, String] :source_server_id
|
2703
3005
|
# The ID of the Source Server that we want to retrieve a Launch
|
2704
3006
|
# Configuration for.
|
@@ -2716,6 +3018,7 @@ module Aws::Drs
|
|
2716
3018
|
# * {Types::LaunchConfiguration#launch_disposition #launch_disposition} => String
|
2717
3019
|
# * {Types::LaunchConfiguration#licensing #licensing} => Types::Licensing
|
2718
3020
|
# * {Types::LaunchConfiguration#name #name} => String
|
3021
|
+
# * {Types::LaunchConfiguration#post_launch_enabled #post_launch_enabled} => Boolean
|
2719
3022
|
# * {Types::LaunchConfiguration#source_server_id #source_server_id} => String
|
2720
3023
|
# * {Types::LaunchConfiguration#target_instance_type_right_sizing_method #target_instance_type_right_sizing_method} => String
|
2721
3024
|
#
|
@@ -2729,6 +3032,7 @@ module Aws::Drs
|
|
2729
3032
|
# os_byol: false,
|
2730
3033
|
# },
|
2731
3034
|
# name: "SmallBoundedString",
|
3035
|
+
# post_launch_enabled: false,
|
2732
3036
|
# source_server_id: "SourceServerID", # required
|
2733
3037
|
# target_instance_type_right_sizing_method: "NONE", # accepts NONE, BASIC, IN_AWS
|
2734
3038
|
# })
|
@@ -2741,6 +3045,7 @@ module Aws::Drs
|
|
2741
3045
|
# resp.launch_disposition #=> String, one of "STOPPED", "STARTED"
|
2742
3046
|
# resp.licensing.os_byol #=> Boolean
|
2743
3047
|
# resp.name #=> String
|
3048
|
+
# resp.post_launch_enabled #=> Boolean
|
2744
3049
|
# resp.source_server_id #=> String
|
2745
3050
|
# resp.target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC", "IN_AWS"
|
2746
3051
|
#
|
@@ -2773,6 +3078,9 @@ module Aws::Drs
|
|
2773
3078
|
# @option params [Types::Licensing] :licensing
|
2774
3079
|
# Licensing.
|
2775
3080
|
#
|
3081
|
+
# @option params [Boolean] :post_launch_enabled
|
3082
|
+
# Whether we want to activate post-launch actions.
|
3083
|
+
#
|
2776
3084
|
# @option params [String] :target_instance_type_right_sizing_method
|
2777
3085
|
# Target instance type right-sizing method.
|
2778
3086
|
#
|
@@ -2791,6 +3099,7 @@ module Aws::Drs
|
|
2791
3099
|
# licensing: {
|
2792
3100
|
# os_byol: false,
|
2793
3101
|
# },
|
3102
|
+
# post_launch_enabled: false,
|
2794
3103
|
# target_instance_type_right_sizing_method: "NONE", # accepts NONE, BASIC, IN_AWS
|
2795
3104
|
# })
|
2796
3105
|
#
|
@@ -2803,6 +3112,7 @@ module Aws::Drs
|
|
2803
3112
|
# resp.launch_configuration_template.launch_configuration_template_id #=> String
|
2804
3113
|
# resp.launch_configuration_template.launch_disposition #=> String, one of "STOPPED", "STARTED"
|
2805
3114
|
# resp.launch_configuration_template.licensing.os_byol #=> Boolean
|
3115
|
+
# resp.launch_configuration_template.post_launch_enabled #=> Boolean
|
2806
3116
|
# resp.launch_configuration_template.tags #=> Hash
|
2807
3117
|
# resp.launch_configuration_template.tags["TagKey"] #=> String
|
2808
3118
|
# resp.launch_configuration_template.target_instance_type_right_sizing_method #=> String, one of "NONE", "BASIC", "IN_AWS"
|
@@ -3137,7 +3447,7 @@ module Aws::Drs
|
|
3137
3447
|
params: params,
|
3138
3448
|
config: config)
|
3139
3449
|
context[:gem_name] = 'aws-sdk-drs'
|
3140
|
-
context[:gem_version] = '1.
|
3450
|
+
context[:gem_version] = '1.21.0'
|
3141
3451
|
Seahorse::Client::Request.new(handlers, context)
|
3142
3452
|
end
|
3143
3453
|
|