aws-sdk-drs 1.68.0 → 1.70.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-drs/client.rb +914 -1
- data/lib/aws-sdk-drs/client_api.rb +670 -0
- data/lib/aws-sdk-drs/types.rb +1207 -45
- data/lib/aws-sdk-drs.rb +1 -1
- data/sig/client.rbs +244 -0
- data/sig/params.rbs +27 -0
- data/sig/types.rbs +381 -0
- metadata +2 -1
data/lib/aws-sdk-drs/client.rb
CHANGED
|
@@ -541,6 +541,44 @@ module Aws::Drs
|
|
|
541
541
|
req.send_request(options)
|
|
542
542
|
end
|
|
543
543
|
|
|
544
|
+
# Cancels an in-progress Recovery Plan execution. Remaining steps are
|
|
545
|
+
# skipped.
|
|
546
|
+
#
|
|
547
|
+
# @option params [required, String] :recovery_plan_execution_arn
|
|
548
|
+
# The ARN of the Recovery Plan execution to cancel.
|
|
549
|
+
#
|
|
550
|
+
# @return [Types::CancelRecoveryPlanExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
551
|
+
#
|
|
552
|
+
# * {Types::CancelRecoveryPlanExecutionResponse#recovery_plan_execution #recovery_plan_execution} => Types::RecoveryPlanExecution
|
|
553
|
+
#
|
|
554
|
+
# @example Request syntax with placeholder values
|
|
555
|
+
#
|
|
556
|
+
# resp = client.cancel_recovery_plan_execution({
|
|
557
|
+
# recovery_plan_execution_arn: "StrictDRSARN", # required
|
|
558
|
+
# })
|
|
559
|
+
#
|
|
560
|
+
# @example Response structure
|
|
561
|
+
#
|
|
562
|
+
# resp.recovery_plan_execution.recovery_plan_execution_arn #=> String
|
|
563
|
+
# resp.recovery_plan_execution.recovery_plan_arn #=> String
|
|
564
|
+
# resp.recovery_plan_execution.mode #=> String, one of "DRILL", "RECOVERY"
|
|
565
|
+
# resp.recovery_plan_execution.status #=> String, one of "CREATED", "IN_PROGRESS", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
|
566
|
+
# resp.recovery_plan_execution.started_at #=> String
|
|
567
|
+
# resp.recovery_plan_execution.completed_at #=> String
|
|
568
|
+
# resp.recovery_plan_execution.error_detail.message #=> String
|
|
569
|
+
# resp.recovery_plan_execution.error_detail.code #=> String
|
|
570
|
+
# resp.recovery_plan_execution.tags #=> Hash
|
|
571
|
+
# resp.recovery_plan_execution.tags["TagKey"] #=> String
|
|
572
|
+
#
|
|
573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CancelRecoveryPlanExecution AWS API Documentation
|
|
574
|
+
#
|
|
575
|
+
# @overload cancel_recovery_plan_execution(params = {})
|
|
576
|
+
# @param [Hash] params ({})
|
|
577
|
+
def cancel_recovery_plan_execution(params = {}, options = {})
|
|
578
|
+
req = build_request(:cancel_recovery_plan_execution, params)
|
|
579
|
+
req.send_request(options)
|
|
580
|
+
end
|
|
581
|
+
|
|
544
582
|
# Create an extended source server in the target Account based on the
|
|
545
583
|
# source server in staging account.
|
|
546
584
|
#
|
|
@@ -619,6 +657,7 @@ module Aws::Drs
|
|
|
619
657
|
# resp.source_server.source_properties.ram_bytes #=> Integer
|
|
620
658
|
# resp.source_server.source_properties.os.full_string #=> String
|
|
621
659
|
# resp.source_server.source_properties.supports_nitro_instances #=> Boolean
|
|
660
|
+
# resp.source_server.source_properties.architecture #=> String, one of "x86_64", "arm64"
|
|
622
661
|
# resp.source_server.staging_area.status #=> String, one of "EXTENDED", "EXTENSION_ERROR", "NOT_EXTENDED"
|
|
623
662
|
# resp.source_server.staging_area.staging_account_id #=> String
|
|
624
663
|
# resp.source_server.staging_area.staging_source_server_arn #=> String
|
|
@@ -724,6 +763,128 @@ module Aws::Drs
|
|
|
724
763
|
req.send_request(options)
|
|
725
764
|
end
|
|
726
765
|
|
|
766
|
+
# Creates a Recovery Plan to orchestrate multi-server disaster recovery.
|
|
767
|
+
#
|
|
768
|
+
# @option params [required, String] :name
|
|
769
|
+
# The name of a Recovery Plan.
|
|
770
|
+
#
|
|
771
|
+
# @option params [String] :description
|
|
772
|
+
# The description of a Recovery Plan.
|
|
773
|
+
#
|
|
774
|
+
# @option params [String] :client_token
|
|
775
|
+
# A unique string provided to ensure request idempotency.
|
|
776
|
+
#
|
|
777
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
778
|
+
# not need to pass this option.**
|
|
779
|
+
#
|
|
780
|
+
# @option params [Hash<String,String>] :tags
|
|
781
|
+
# The tags to apply to the Recovery Plan.
|
|
782
|
+
#
|
|
783
|
+
# @return [Types::CreateRecoveryPlanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
784
|
+
#
|
|
785
|
+
# * {Types::CreateRecoveryPlanResponse#recovery_plan #recovery_plan} => Types::RecoveryPlan
|
|
786
|
+
#
|
|
787
|
+
# @example Request syntax with placeholder values
|
|
788
|
+
#
|
|
789
|
+
# resp = client.create_recovery_plan({
|
|
790
|
+
# name: "RecoveryPlanName", # required
|
|
791
|
+
# description: "RecoveryPlanDescription",
|
|
792
|
+
# client_token: "ClientIdempotencyToken",
|
|
793
|
+
# tags: {
|
|
794
|
+
# "TagKey" => "TagValue",
|
|
795
|
+
# },
|
|
796
|
+
# })
|
|
797
|
+
#
|
|
798
|
+
# @example Response structure
|
|
799
|
+
#
|
|
800
|
+
# resp.recovery_plan.recovery_plan_arn #=> String
|
|
801
|
+
# resp.recovery_plan.name #=> String
|
|
802
|
+
# resp.recovery_plan.description #=> String
|
|
803
|
+
# resp.recovery_plan.status #=> String, one of "ACTIVE", "INVALID"
|
|
804
|
+
# resp.recovery_plan.created_at #=> String
|
|
805
|
+
# resp.recovery_plan.updated_at #=> String
|
|
806
|
+
# resp.recovery_plan.tags #=> Hash
|
|
807
|
+
# resp.recovery_plan.tags["TagKey"] #=> String
|
|
808
|
+
#
|
|
809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateRecoveryPlan AWS API Documentation
|
|
810
|
+
#
|
|
811
|
+
# @overload create_recovery_plan(params = {})
|
|
812
|
+
# @param [Hash] params ({})
|
|
813
|
+
def create_recovery_plan(params = {}, options = {})
|
|
814
|
+
req = build_request(:create_recovery_plan, params)
|
|
815
|
+
req.send_request(options)
|
|
816
|
+
end
|
|
817
|
+
|
|
818
|
+
# Creates a step in a Recovery Plan. A step is either `SERVER` type
|
|
819
|
+
# (servers to recover in parallel) or `WAIT` type (timed pause between
|
|
820
|
+
# steps).
|
|
821
|
+
#
|
|
822
|
+
# @option params [required, String] :recovery_plan_arn
|
|
823
|
+
# The ARN of the Recovery Plan to add the step to.
|
|
824
|
+
#
|
|
825
|
+
# @option params [required, String] :step_name
|
|
826
|
+
# The name of a Recovery Plan Step.
|
|
827
|
+
#
|
|
828
|
+
# @option params [Integer] :step_order
|
|
829
|
+
# The order of a step within a Recovery Plan (1-based).
|
|
830
|
+
#
|
|
831
|
+
# @option params [required, Types::RecoveryPlanStepConfiguration] :configuration
|
|
832
|
+
# Type-specific configuration for a recovery plan step. Exactly one
|
|
833
|
+
# member must be set.
|
|
834
|
+
#
|
|
835
|
+
# @option params [String] :client_token
|
|
836
|
+
# A unique string provided to ensure request idempotency.
|
|
837
|
+
#
|
|
838
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
839
|
+
# not need to pass this option.**
|
|
840
|
+
#
|
|
841
|
+
# @return [Types::CreateRecoveryPlanStepResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
842
|
+
#
|
|
843
|
+
# * {Types::CreateRecoveryPlanStepResponse#recovery_plan_step #recovery_plan_step} => Types::RecoveryPlanStep
|
|
844
|
+
#
|
|
845
|
+
# @example Request syntax with placeholder values
|
|
846
|
+
#
|
|
847
|
+
# resp = client.create_recovery_plan_step({
|
|
848
|
+
# recovery_plan_arn: "StrictDRSARN", # required
|
|
849
|
+
# step_name: "RecoveryPlanStepName", # required
|
|
850
|
+
# step_order: 1,
|
|
851
|
+
# configuration: { # required
|
|
852
|
+
# server_step_configuration: {
|
|
853
|
+
# servers: [ # required
|
|
854
|
+
# {
|
|
855
|
+
# server_arn: "SourceServerARN", # required
|
|
856
|
+
# impact_level: "CRITICAL", # accepts CRITICAL, OPTIONAL
|
|
857
|
+
# },
|
|
858
|
+
# ],
|
|
859
|
+
# },
|
|
860
|
+
# wait_step_configuration: {
|
|
861
|
+
# wait_duration_minutes: 1, # required
|
|
862
|
+
# },
|
|
863
|
+
# },
|
|
864
|
+
# client_token: "ClientIdempotencyToken",
|
|
865
|
+
# })
|
|
866
|
+
#
|
|
867
|
+
# @example Response structure
|
|
868
|
+
#
|
|
869
|
+
# resp.recovery_plan_step.recovery_plan_step_arn #=> String
|
|
870
|
+
# resp.recovery_plan_step.step_order #=> Integer
|
|
871
|
+
# resp.recovery_plan_step.step_name #=> String
|
|
872
|
+
# resp.recovery_plan_step.configuration.server_step_configuration.servers #=> Array
|
|
873
|
+
# resp.recovery_plan_step.configuration.server_step_configuration.servers[0].server_arn #=> String
|
|
874
|
+
# resp.recovery_plan_step.configuration.server_step_configuration.servers[0].impact_level #=> String, one of "CRITICAL", "OPTIONAL"
|
|
875
|
+
# resp.recovery_plan_step.configuration.wait_step_configuration.wait_duration_minutes #=> Integer
|
|
876
|
+
# resp.recovery_plan_step.created_at #=> String
|
|
877
|
+
# resp.recovery_plan_step.updated_at #=> String
|
|
878
|
+
#
|
|
879
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateRecoveryPlanStep AWS API Documentation
|
|
880
|
+
#
|
|
881
|
+
# @overload create_recovery_plan_step(params = {})
|
|
882
|
+
# @param [Hash] params ({})
|
|
883
|
+
def create_recovery_plan_step(params = {}, options = {})
|
|
884
|
+
req = build_request(:create_recovery_plan_step, params)
|
|
885
|
+
req.send_request(options)
|
|
886
|
+
end
|
|
887
|
+
|
|
727
888
|
# Creates a new ReplicationConfigurationTemplate.
|
|
728
889
|
#
|
|
729
890
|
# @option params [required, String] :staging_area_subnet_id
|
|
@@ -1011,6 +1172,92 @@ module Aws::Drs
|
|
|
1011
1172
|
req.send_request(options)
|
|
1012
1173
|
end
|
|
1013
1174
|
|
|
1175
|
+
# Deletes a Recovery Plan. Cannot delete a plan that has an execution in
|
|
1176
|
+
# a non-terminal status (`CREATED`, `IN_PROGRESS`).
|
|
1177
|
+
#
|
|
1178
|
+
# @option params [required, String] :recovery_plan_arn
|
|
1179
|
+
# The ARN of the Recovery Plan to delete.
|
|
1180
|
+
#
|
|
1181
|
+
# @return [Types::DeleteRecoveryPlanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1182
|
+
#
|
|
1183
|
+
# * {Types::DeleteRecoveryPlanResponse#recovery_plan_arn #recovery_plan_arn} => String
|
|
1184
|
+
#
|
|
1185
|
+
# @example Request syntax with placeholder values
|
|
1186
|
+
#
|
|
1187
|
+
# resp = client.delete_recovery_plan({
|
|
1188
|
+
# recovery_plan_arn: "StrictDRSARN", # required
|
|
1189
|
+
# })
|
|
1190
|
+
#
|
|
1191
|
+
# @example Response structure
|
|
1192
|
+
#
|
|
1193
|
+
# resp.recovery_plan_arn #=> String
|
|
1194
|
+
#
|
|
1195
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteRecoveryPlan AWS API Documentation
|
|
1196
|
+
#
|
|
1197
|
+
# @overload delete_recovery_plan(params = {})
|
|
1198
|
+
# @param [Hash] params ({})
|
|
1199
|
+
def delete_recovery_plan(params = {}, options = {})
|
|
1200
|
+
req = build_request(:delete_recovery_plan, params)
|
|
1201
|
+
req.send_request(options)
|
|
1202
|
+
end
|
|
1203
|
+
|
|
1204
|
+
# Deletes a Recovery Plan execution record. Must be in a terminal
|
|
1205
|
+
# status.
|
|
1206
|
+
#
|
|
1207
|
+
# @option params [required, String] :recovery_plan_execution_arn
|
|
1208
|
+
# The ARN of the Recovery Plan execution to delete.
|
|
1209
|
+
#
|
|
1210
|
+
# @return [Types::DeleteRecoveryPlanExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1211
|
+
#
|
|
1212
|
+
# * {Types::DeleteRecoveryPlanExecutionResponse#recovery_plan_execution_arn #recovery_plan_execution_arn} => String
|
|
1213
|
+
#
|
|
1214
|
+
# @example Request syntax with placeholder values
|
|
1215
|
+
#
|
|
1216
|
+
# resp = client.delete_recovery_plan_execution({
|
|
1217
|
+
# recovery_plan_execution_arn: "StrictDRSARN", # required
|
|
1218
|
+
# })
|
|
1219
|
+
#
|
|
1220
|
+
# @example Response structure
|
|
1221
|
+
#
|
|
1222
|
+
# resp.recovery_plan_execution_arn #=> String
|
|
1223
|
+
#
|
|
1224
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteRecoveryPlanExecution AWS API Documentation
|
|
1225
|
+
#
|
|
1226
|
+
# @overload delete_recovery_plan_execution(params = {})
|
|
1227
|
+
# @param [Hash] params ({})
|
|
1228
|
+
def delete_recovery_plan_execution(params = {}, options = {})
|
|
1229
|
+
req = build_request(:delete_recovery_plan_execution, params)
|
|
1230
|
+
req.send_request(options)
|
|
1231
|
+
end
|
|
1232
|
+
|
|
1233
|
+
# Deletes a step from a Recovery Plan.
|
|
1234
|
+
#
|
|
1235
|
+
# @option params [required, String] :recovery_plan_step_arn
|
|
1236
|
+
# The ARN of the Recovery Plan step to delete.
|
|
1237
|
+
#
|
|
1238
|
+
# @return [Types::DeleteRecoveryPlanStepResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1239
|
+
#
|
|
1240
|
+
# * {Types::DeleteRecoveryPlanStepResponse#recovery_plan_step_arn #recovery_plan_step_arn} => String
|
|
1241
|
+
#
|
|
1242
|
+
# @example Request syntax with placeholder values
|
|
1243
|
+
#
|
|
1244
|
+
# resp = client.delete_recovery_plan_step({
|
|
1245
|
+
# recovery_plan_step_arn: "StrictDRSARN", # required
|
|
1246
|
+
# })
|
|
1247
|
+
#
|
|
1248
|
+
# @example Response structure
|
|
1249
|
+
#
|
|
1250
|
+
# resp.recovery_plan_step_arn #=> String
|
|
1251
|
+
#
|
|
1252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteRecoveryPlanStep AWS API Documentation
|
|
1253
|
+
#
|
|
1254
|
+
# @overload delete_recovery_plan_step(params = {})
|
|
1255
|
+
# @param [Hash] params ({})
|
|
1256
|
+
def delete_recovery_plan_step(params = {}, options = {})
|
|
1257
|
+
req = build_request(:delete_recovery_plan_step, params)
|
|
1258
|
+
req.send_request(options)
|
|
1259
|
+
end
|
|
1260
|
+
|
|
1014
1261
|
# Deletes a single Replication Configuration Template by ID
|
|
1015
1262
|
#
|
|
1016
1263
|
# @option params [required, String] :replication_configuration_template_id
|
|
@@ -1654,6 +1901,7 @@ module Aws::Drs
|
|
|
1654
1901
|
# resp.items[0].source_properties.ram_bytes #=> Integer
|
|
1655
1902
|
# resp.items[0].source_properties.os.full_string #=> String
|
|
1656
1903
|
# resp.items[0].source_properties.supports_nitro_instances #=> Boolean
|
|
1904
|
+
# resp.items[0].source_properties.architecture #=> String, one of "x86_64", "arm64"
|
|
1657
1905
|
# resp.items[0].staging_area.status #=> String, one of "EXTENDED", "EXTENSION_ERROR", "NOT_EXTENDED"
|
|
1658
1906
|
# resp.items[0].staging_area.staging_account_id #=> String
|
|
1659
1907
|
# resp.items[0].staging_area.staging_source_server_arn #=> String
|
|
@@ -1807,6 +2055,7 @@ module Aws::Drs
|
|
|
1807
2055
|
# resp.source_properties.ram_bytes #=> Integer
|
|
1808
2056
|
# resp.source_properties.os.full_string #=> String
|
|
1809
2057
|
# resp.source_properties.supports_nitro_instances #=> Boolean
|
|
2058
|
+
# resp.source_properties.architecture #=> String, one of "x86_64", "arm64"
|
|
1810
2059
|
# resp.staging_area.status #=> String, one of "EXTENDED", "EXTENSION_ERROR", "NOT_EXTENDED"
|
|
1811
2060
|
# resp.staging_area.staging_account_id #=> String
|
|
1812
2061
|
# resp.staging_area.staging_source_server_arn #=> String
|
|
@@ -1945,6 +2194,155 @@ module Aws::Drs
|
|
|
1945
2194
|
req.send_request(options)
|
|
1946
2195
|
end
|
|
1947
2196
|
|
|
2197
|
+
# Gets a Recovery Plan by ARN.
|
|
2198
|
+
#
|
|
2199
|
+
# @option params [required, String] :recovery_plan_arn
|
|
2200
|
+
# The ARN of the Recovery Plan to retrieve.
|
|
2201
|
+
#
|
|
2202
|
+
# @return [Types::GetRecoveryPlanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2203
|
+
#
|
|
2204
|
+
# * {Types::GetRecoveryPlanResponse#recovery_plan #recovery_plan} => Types::RecoveryPlan
|
|
2205
|
+
#
|
|
2206
|
+
# @example Request syntax with placeholder values
|
|
2207
|
+
#
|
|
2208
|
+
# resp = client.get_recovery_plan({
|
|
2209
|
+
# recovery_plan_arn: "StrictDRSARN", # required
|
|
2210
|
+
# })
|
|
2211
|
+
#
|
|
2212
|
+
# @example Response structure
|
|
2213
|
+
#
|
|
2214
|
+
# resp.recovery_plan.recovery_plan_arn #=> String
|
|
2215
|
+
# resp.recovery_plan.name #=> String
|
|
2216
|
+
# resp.recovery_plan.description #=> String
|
|
2217
|
+
# resp.recovery_plan.status #=> String, one of "ACTIVE", "INVALID"
|
|
2218
|
+
# resp.recovery_plan.created_at #=> String
|
|
2219
|
+
# resp.recovery_plan.updated_at #=> String
|
|
2220
|
+
# resp.recovery_plan.tags #=> Hash
|
|
2221
|
+
# resp.recovery_plan.tags["TagKey"] #=> String
|
|
2222
|
+
#
|
|
2223
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetRecoveryPlan AWS API Documentation
|
|
2224
|
+
#
|
|
2225
|
+
# @overload get_recovery_plan(params = {})
|
|
2226
|
+
# @param [Hash] params ({})
|
|
2227
|
+
def get_recovery_plan(params = {}, options = {})
|
|
2228
|
+
req = build_request(:get_recovery_plan, params)
|
|
2229
|
+
req.send_request(options)
|
|
2230
|
+
end
|
|
2231
|
+
|
|
2232
|
+
# Gets the details of a Recovery Plan execution.
|
|
2233
|
+
#
|
|
2234
|
+
# @option params [required, String] :recovery_plan_execution_arn
|
|
2235
|
+
# The ARN of the Recovery Plan execution.
|
|
2236
|
+
#
|
|
2237
|
+
# @return [Types::GetRecoveryPlanExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2238
|
+
#
|
|
2239
|
+
# * {Types::GetRecoveryPlanExecutionResponse#recovery_plan_execution #recovery_plan_execution} => Types::RecoveryPlanExecution
|
|
2240
|
+
#
|
|
2241
|
+
# @example Request syntax with placeholder values
|
|
2242
|
+
#
|
|
2243
|
+
# resp = client.get_recovery_plan_execution({
|
|
2244
|
+
# recovery_plan_execution_arn: "StrictDRSARN", # required
|
|
2245
|
+
# })
|
|
2246
|
+
#
|
|
2247
|
+
# @example Response structure
|
|
2248
|
+
#
|
|
2249
|
+
# resp.recovery_plan_execution.recovery_plan_execution_arn #=> String
|
|
2250
|
+
# resp.recovery_plan_execution.recovery_plan_arn #=> String
|
|
2251
|
+
# resp.recovery_plan_execution.mode #=> String, one of "DRILL", "RECOVERY"
|
|
2252
|
+
# resp.recovery_plan_execution.status #=> String, one of "CREATED", "IN_PROGRESS", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
|
2253
|
+
# resp.recovery_plan_execution.started_at #=> String
|
|
2254
|
+
# resp.recovery_plan_execution.completed_at #=> String
|
|
2255
|
+
# resp.recovery_plan_execution.error_detail.message #=> String
|
|
2256
|
+
# resp.recovery_plan_execution.error_detail.code #=> String
|
|
2257
|
+
# resp.recovery_plan_execution.tags #=> Hash
|
|
2258
|
+
# resp.recovery_plan_execution.tags["TagKey"] #=> String
|
|
2259
|
+
#
|
|
2260
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetRecoveryPlanExecution AWS API Documentation
|
|
2261
|
+
#
|
|
2262
|
+
# @overload get_recovery_plan_execution(params = {})
|
|
2263
|
+
# @param [Hash] params ({})
|
|
2264
|
+
def get_recovery_plan_execution(params = {}, options = {})
|
|
2265
|
+
req = build_request(:get_recovery_plan_execution, params)
|
|
2266
|
+
req.send_request(options)
|
|
2267
|
+
end
|
|
2268
|
+
|
|
2269
|
+
# Gets the details of a step within a Recovery Plan execution.
|
|
2270
|
+
#
|
|
2271
|
+
# @option params [required, String] :recovery_plan_execution_step_arn
|
|
2272
|
+
# The ARN of the execution step.
|
|
2273
|
+
#
|
|
2274
|
+
# @return [Types::GetRecoveryPlanExecutionStepResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2275
|
+
#
|
|
2276
|
+
# * {Types::GetRecoveryPlanExecutionStepResponse#recovery_plan_execution_step #recovery_plan_execution_step} => Types::RecoveryPlanExecutionStep
|
|
2277
|
+
#
|
|
2278
|
+
# @example Request syntax with placeholder values
|
|
2279
|
+
#
|
|
2280
|
+
# resp = client.get_recovery_plan_execution_step({
|
|
2281
|
+
# recovery_plan_execution_step_arn: "StrictDRSARN", # required
|
|
2282
|
+
# })
|
|
2283
|
+
#
|
|
2284
|
+
# @example Response structure
|
|
2285
|
+
#
|
|
2286
|
+
# resp.recovery_plan_execution_step.recovery_plan_execution_step_arn #=> String
|
|
2287
|
+
# resp.recovery_plan_execution_step.step_index #=> Integer
|
|
2288
|
+
# resp.recovery_plan_execution_step.status #=> String, one of "NOT_STARTED", "EXECUTING", "WAITING", "COMPLETED", "FAILED", "TIMED_OUT", "SKIPPED"
|
|
2289
|
+
# resp.recovery_plan_execution_step.step_name #=> String
|
|
2290
|
+
# resp.recovery_plan_execution_step.configuration.execution_server_step_configuration.servers #=> Array
|
|
2291
|
+
# resp.recovery_plan_execution_step.configuration.execution_server_step_configuration.servers[0].server_arn #=> String
|
|
2292
|
+
# resp.recovery_plan_execution_step.configuration.execution_server_step_configuration.servers[0].impact_level #=> String, one of "CRITICAL", "OPTIONAL"
|
|
2293
|
+
# resp.recovery_plan_execution_step.configuration.execution_server_step_configuration.servers[0].job_id #=> String
|
|
2294
|
+
# resp.recovery_plan_execution_step.configuration.wait_step_configuration.wait_duration_minutes #=> Integer
|
|
2295
|
+
# resp.recovery_plan_execution_step.error_detail.message #=> String
|
|
2296
|
+
# resp.recovery_plan_execution_step.error_detail.code #=> String
|
|
2297
|
+
# resp.recovery_plan_execution_step.attempt #=> Integer
|
|
2298
|
+
# resp.recovery_plan_execution_step.created_at #=> String
|
|
2299
|
+
# resp.recovery_plan_execution_step.updated_at #=> String
|
|
2300
|
+
#
|
|
2301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetRecoveryPlanExecutionStep AWS API Documentation
|
|
2302
|
+
#
|
|
2303
|
+
# @overload get_recovery_plan_execution_step(params = {})
|
|
2304
|
+
# @param [Hash] params ({})
|
|
2305
|
+
def get_recovery_plan_execution_step(params = {}, options = {})
|
|
2306
|
+
req = build_request(:get_recovery_plan_execution_step, params)
|
|
2307
|
+
req.send_request(options)
|
|
2308
|
+
end
|
|
2309
|
+
|
|
2310
|
+
# Gets a Recovery Plan step by ARN.
|
|
2311
|
+
#
|
|
2312
|
+
# @option params [required, String] :recovery_plan_step_arn
|
|
2313
|
+
# The ARN of the Recovery Plan step to retrieve.
|
|
2314
|
+
#
|
|
2315
|
+
# @return [Types::GetRecoveryPlanStepResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2316
|
+
#
|
|
2317
|
+
# * {Types::GetRecoveryPlanStepResponse#recovery_plan_step #recovery_plan_step} => Types::RecoveryPlanStep
|
|
2318
|
+
#
|
|
2319
|
+
# @example Request syntax with placeholder values
|
|
2320
|
+
#
|
|
2321
|
+
# resp = client.get_recovery_plan_step({
|
|
2322
|
+
# recovery_plan_step_arn: "StrictDRSARN", # required
|
|
2323
|
+
# })
|
|
2324
|
+
#
|
|
2325
|
+
# @example Response structure
|
|
2326
|
+
#
|
|
2327
|
+
# resp.recovery_plan_step.recovery_plan_step_arn #=> String
|
|
2328
|
+
# resp.recovery_plan_step.step_order #=> Integer
|
|
2329
|
+
# resp.recovery_plan_step.step_name #=> String
|
|
2330
|
+
# resp.recovery_plan_step.configuration.server_step_configuration.servers #=> Array
|
|
2331
|
+
# resp.recovery_plan_step.configuration.server_step_configuration.servers[0].server_arn #=> String
|
|
2332
|
+
# resp.recovery_plan_step.configuration.server_step_configuration.servers[0].impact_level #=> String, one of "CRITICAL", "OPTIONAL"
|
|
2333
|
+
# resp.recovery_plan_step.configuration.wait_step_configuration.wait_duration_minutes #=> Integer
|
|
2334
|
+
# resp.recovery_plan_step.created_at #=> String
|
|
2335
|
+
# resp.recovery_plan_step.updated_at #=> String
|
|
2336
|
+
#
|
|
2337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetRecoveryPlanStep AWS API Documentation
|
|
2338
|
+
#
|
|
2339
|
+
# @overload get_recovery_plan_step(params = {})
|
|
2340
|
+
# @param [Hash] params ({})
|
|
2341
|
+
def get_recovery_plan_step(params = {}, options = {})
|
|
2342
|
+
req = build_request(:get_recovery_plan_step, params)
|
|
2343
|
+
req.send_request(options)
|
|
2344
|
+
end
|
|
2345
|
+
|
|
1948
2346
|
# Gets a ReplicationConfiguration, filtered by Source Server ID.
|
|
1949
2347
|
#
|
|
1950
2348
|
# @option params [required, String] :source_server_id
|
|
@@ -2141,6 +2539,205 @@ module Aws::Drs
|
|
|
2141
2539
|
req.send_request(options)
|
|
2142
2540
|
end
|
|
2143
2541
|
|
|
2542
|
+
# Lists all steps within a Recovery Plan execution.
|
|
2543
|
+
#
|
|
2544
|
+
# @option params [required, String] :recovery_plan_execution_arn
|
|
2545
|
+
# The ARN of the Recovery Plan execution.
|
|
2546
|
+
#
|
|
2547
|
+
# @option params [Types::ListRecoveryPlanExecutionStepsFilter] :filter
|
|
2548
|
+
# Filters for listing execution steps.
|
|
2549
|
+
#
|
|
2550
|
+
# @option params [Integer] :max_results
|
|
2551
|
+
# Maximum number of results to return.
|
|
2552
|
+
#
|
|
2553
|
+
# @option params [String] :next_token
|
|
2554
|
+
# The token for the next page of results.
|
|
2555
|
+
#
|
|
2556
|
+
# @return [Types::ListRecoveryPlanExecutionStepsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2557
|
+
#
|
|
2558
|
+
# * {Types::ListRecoveryPlanExecutionStepsResponse#recovery_plan_execution_steps #recovery_plan_execution_steps} => Array<Types::RecoveryPlanExecutionStepSummary>
|
|
2559
|
+
# * {Types::ListRecoveryPlanExecutionStepsResponse#next_token #next_token} => String
|
|
2560
|
+
#
|
|
2561
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2562
|
+
#
|
|
2563
|
+
# @example Request syntax with placeholder values
|
|
2564
|
+
#
|
|
2565
|
+
# resp = client.list_recovery_plan_execution_steps({
|
|
2566
|
+
# recovery_plan_execution_arn: "StrictDRSARN", # required
|
|
2567
|
+
# filter: {
|
|
2568
|
+
# status: "NOT_STARTED", # accepts NOT_STARTED, EXECUTING, WAITING, COMPLETED, FAILED, TIMED_OUT, SKIPPED
|
|
2569
|
+
# },
|
|
2570
|
+
# max_results: 1,
|
|
2571
|
+
# next_token: "PaginationToken",
|
|
2572
|
+
# })
|
|
2573
|
+
#
|
|
2574
|
+
# @example Response structure
|
|
2575
|
+
#
|
|
2576
|
+
# resp.recovery_plan_execution_steps #=> Array
|
|
2577
|
+
# resp.recovery_plan_execution_steps[0].recovery_plan_execution_step_arn #=> String
|
|
2578
|
+
# resp.recovery_plan_execution_steps[0].step_name #=> String
|
|
2579
|
+
# resp.recovery_plan_execution_steps[0].step_index #=> Integer
|
|
2580
|
+
# resp.recovery_plan_execution_steps[0].status #=> String, one of "NOT_STARTED", "EXECUTING", "WAITING", "COMPLETED", "FAILED", "TIMED_OUT", "SKIPPED"
|
|
2581
|
+
# resp.recovery_plan_execution_steps[0].configuration.execution_server_step_configuration.servers #=> Array
|
|
2582
|
+
# resp.recovery_plan_execution_steps[0].configuration.execution_server_step_configuration.servers[0].server_arn #=> String
|
|
2583
|
+
# resp.recovery_plan_execution_steps[0].configuration.execution_server_step_configuration.servers[0].impact_level #=> String, one of "CRITICAL", "OPTIONAL"
|
|
2584
|
+
# resp.recovery_plan_execution_steps[0].configuration.execution_server_step_configuration.servers[0].job_id #=> String
|
|
2585
|
+
# resp.recovery_plan_execution_steps[0].configuration.wait_step_configuration.wait_duration_minutes #=> Integer
|
|
2586
|
+
# resp.recovery_plan_execution_steps[0].error_detail.message #=> String
|
|
2587
|
+
# resp.recovery_plan_execution_steps[0].error_detail.code #=> String
|
|
2588
|
+
# resp.next_token #=> String
|
|
2589
|
+
#
|
|
2590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlanExecutionSteps AWS API Documentation
|
|
2591
|
+
#
|
|
2592
|
+
# @overload list_recovery_plan_execution_steps(params = {})
|
|
2593
|
+
# @param [Hash] params ({})
|
|
2594
|
+
def list_recovery_plan_execution_steps(params = {}, options = {})
|
|
2595
|
+
req = build_request(:list_recovery_plan_execution_steps, params)
|
|
2596
|
+
req.send_request(options)
|
|
2597
|
+
end
|
|
2598
|
+
|
|
2599
|
+
# Lists executions of Recovery Plans, optionally filtered by plan or
|
|
2600
|
+
# status.
|
|
2601
|
+
#
|
|
2602
|
+
# @option params [String] :recovery_plan_arn
|
|
2603
|
+
# Filter executions by Recovery Plan ARN.
|
|
2604
|
+
#
|
|
2605
|
+
# @option params [String] :status
|
|
2606
|
+
# Filter executions by status.
|
|
2607
|
+
#
|
|
2608
|
+
# @option params [Integer] :max_results
|
|
2609
|
+
# Maximum number of results to return.
|
|
2610
|
+
#
|
|
2611
|
+
# @option params [String] :next_token
|
|
2612
|
+
# The token for the next page of results.
|
|
2613
|
+
#
|
|
2614
|
+
# @return [Types::ListRecoveryPlanExecutionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2615
|
+
#
|
|
2616
|
+
# * {Types::ListRecoveryPlanExecutionsResponse#recovery_plan_executions #recovery_plan_executions} => Array<Types::RecoveryPlanExecutionSummary>
|
|
2617
|
+
# * {Types::ListRecoveryPlanExecutionsResponse#next_token #next_token} => String
|
|
2618
|
+
#
|
|
2619
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2620
|
+
#
|
|
2621
|
+
# @example Request syntax with placeholder values
|
|
2622
|
+
#
|
|
2623
|
+
# resp = client.list_recovery_plan_executions({
|
|
2624
|
+
# recovery_plan_arn: "StrictDRSARN",
|
|
2625
|
+
# status: "CREATED", # accepts CREATED, IN_PROGRESS, COMPLETED, FAILED, CANCELLING, CANCELLED
|
|
2626
|
+
# max_results: 1,
|
|
2627
|
+
# next_token: "PaginationToken",
|
|
2628
|
+
# })
|
|
2629
|
+
#
|
|
2630
|
+
# @example Response structure
|
|
2631
|
+
#
|
|
2632
|
+
# resp.recovery_plan_executions #=> Array
|
|
2633
|
+
# resp.recovery_plan_executions[0].recovery_plan_execution_arn #=> String
|
|
2634
|
+
# resp.recovery_plan_executions[0].recovery_plan_arn #=> String
|
|
2635
|
+
# resp.recovery_plan_executions[0].mode #=> String, one of "DRILL", "RECOVERY"
|
|
2636
|
+
# resp.recovery_plan_executions[0].status #=> String, one of "CREATED", "IN_PROGRESS", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
|
2637
|
+
# resp.recovery_plan_executions[0].started_at #=> String
|
|
2638
|
+
# resp.recovery_plan_executions[0].error_detail.message #=> String
|
|
2639
|
+
# resp.recovery_plan_executions[0].error_detail.code #=> String
|
|
2640
|
+
# resp.next_token #=> String
|
|
2641
|
+
#
|
|
2642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlanExecutions AWS API Documentation
|
|
2643
|
+
#
|
|
2644
|
+
# @overload list_recovery_plan_executions(params = {})
|
|
2645
|
+
# @param [Hash] params ({})
|
|
2646
|
+
def list_recovery_plan_executions(params = {}, options = {})
|
|
2647
|
+
req = build_request(:list_recovery_plan_executions, params)
|
|
2648
|
+
req.send_request(options)
|
|
2649
|
+
end
|
|
2650
|
+
|
|
2651
|
+
# Lists all steps in a Recovery Plan.
|
|
2652
|
+
#
|
|
2653
|
+
# @option params [required, String] :recovery_plan_arn
|
|
2654
|
+
# The ARN of the Recovery Plan.
|
|
2655
|
+
#
|
|
2656
|
+
# @option params [Integer] :max_results
|
|
2657
|
+
# Maximum number of results to return.
|
|
2658
|
+
#
|
|
2659
|
+
# @option params [String] :next_token
|
|
2660
|
+
# The token for the next page of results.
|
|
2661
|
+
#
|
|
2662
|
+
# @return [Types::ListRecoveryPlanStepsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2663
|
+
#
|
|
2664
|
+
# * {Types::ListRecoveryPlanStepsResponse#recovery_plan_steps #recovery_plan_steps} => Array<Types::RecoveryPlanStep>
|
|
2665
|
+
# * {Types::ListRecoveryPlanStepsResponse#next_token #next_token} => String
|
|
2666
|
+
#
|
|
2667
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2668
|
+
#
|
|
2669
|
+
# @example Request syntax with placeholder values
|
|
2670
|
+
#
|
|
2671
|
+
# resp = client.list_recovery_plan_steps({
|
|
2672
|
+
# recovery_plan_arn: "StrictDRSARN", # required
|
|
2673
|
+
# max_results: 1,
|
|
2674
|
+
# next_token: "PaginationToken",
|
|
2675
|
+
# })
|
|
2676
|
+
#
|
|
2677
|
+
# @example Response structure
|
|
2678
|
+
#
|
|
2679
|
+
# resp.recovery_plan_steps #=> Array
|
|
2680
|
+
# resp.recovery_plan_steps[0].recovery_plan_step_arn #=> String
|
|
2681
|
+
# resp.recovery_plan_steps[0].step_order #=> Integer
|
|
2682
|
+
# resp.recovery_plan_steps[0].step_name #=> String
|
|
2683
|
+
# resp.recovery_plan_steps[0].configuration.server_step_configuration.servers #=> Array
|
|
2684
|
+
# resp.recovery_plan_steps[0].configuration.server_step_configuration.servers[0].server_arn #=> String
|
|
2685
|
+
# resp.recovery_plan_steps[0].configuration.server_step_configuration.servers[0].impact_level #=> String, one of "CRITICAL", "OPTIONAL"
|
|
2686
|
+
# resp.recovery_plan_steps[0].configuration.wait_step_configuration.wait_duration_minutes #=> Integer
|
|
2687
|
+
# resp.recovery_plan_steps[0].created_at #=> String
|
|
2688
|
+
# resp.recovery_plan_steps[0].updated_at #=> String
|
|
2689
|
+
# resp.next_token #=> String
|
|
2690
|
+
#
|
|
2691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlanSteps AWS API Documentation
|
|
2692
|
+
#
|
|
2693
|
+
# @overload list_recovery_plan_steps(params = {})
|
|
2694
|
+
# @param [Hash] params ({})
|
|
2695
|
+
def list_recovery_plan_steps(params = {}, options = {})
|
|
2696
|
+
req = build_request(:list_recovery_plan_steps, params)
|
|
2697
|
+
req.send_request(options)
|
|
2698
|
+
end
|
|
2699
|
+
|
|
2700
|
+
# Lists all Recovery Plans in the account.
|
|
2701
|
+
#
|
|
2702
|
+
# @option params [Integer] :max_results
|
|
2703
|
+
# Maximum number of results to return.
|
|
2704
|
+
#
|
|
2705
|
+
# @option params [String] :next_token
|
|
2706
|
+
# The token for the next page of results.
|
|
2707
|
+
#
|
|
2708
|
+
# @return [Types::ListRecoveryPlansResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2709
|
+
#
|
|
2710
|
+
# * {Types::ListRecoveryPlansResponse#recovery_plans #recovery_plans} => Array<Types::RecoveryPlanSummary>
|
|
2711
|
+
# * {Types::ListRecoveryPlansResponse#next_token #next_token} => String
|
|
2712
|
+
#
|
|
2713
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2714
|
+
#
|
|
2715
|
+
# @example Request syntax with placeholder values
|
|
2716
|
+
#
|
|
2717
|
+
# resp = client.list_recovery_plans({
|
|
2718
|
+
# max_results: 1,
|
|
2719
|
+
# next_token: "PaginationToken",
|
|
2720
|
+
# })
|
|
2721
|
+
#
|
|
2722
|
+
# @example Response structure
|
|
2723
|
+
#
|
|
2724
|
+
# resp.recovery_plans #=> Array
|
|
2725
|
+
# resp.recovery_plans[0].recovery_plan_arn #=> String
|
|
2726
|
+
# resp.recovery_plans[0].name #=> String
|
|
2727
|
+
# resp.recovery_plans[0].status #=> String, one of "ACTIVE", "INVALID"
|
|
2728
|
+
# resp.recovery_plans[0].created_at #=> String
|
|
2729
|
+
# resp.recovery_plans[0].updated_at #=> String
|
|
2730
|
+
# resp.next_token #=> String
|
|
2731
|
+
#
|
|
2732
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlans AWS API Documentation
|
|
2733
|
+
#
|
|
2734
|
+
# @overload list_recovery_plans(params = {})
|
|
2735
|
+
# @param [Hash] params ({})
|
|
2736
|
+
def list_recovery_plans(params = {}, options = {})
|
|
2737
|
+
req = build_request(:list_recovery_plans, params)
|
|
2738
|
+
req.send_request(options)
|
|
2739
|
+
end
|
|
2740
|
+
|
|
2144
2741
|
# Returns an array of staging accounts for existing extended source
|
|
2145
2742
|
# servers.
|
|
2146
2743
|
#
|
|
@@ -2305,6 +2902,48 @@ module Aws::Drs
|
|
|
2305
2902
|
req.send_request(options)
|
|
2306
2903
|
end
|
|
2307
2904
|
|
|
2905
|
+
# Reorders steps in a Recovery Plan. Accepts a complete ordered list of
|
|
2906
|
+
# step ARNs.
|
|
2907
|
+
#
|
|
2908
|
+
# @option params [required, String] :recovery_plan_arn
|
|
2909
|
+
# The ARN of the Recovery Plan.
|
|
2910
|
+
#
|
|
2911
|
+
# @option params [required, Array<String>] :ordered_step_arns
|
|
2912
|
+
# Ordered list of all step ARNs representing the desired sequence.
|
|
2913
|
+
#
|
|
2914
|
+
# @return [Types::ReorderRecoveryPlanStepsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2915
|
+
#
|
|
2916
|
+
# * {Types::ReorderRecoveryPlanStepsResponse#recovery_plan_steps #recovery_plan_steps} => Array<Types::RecoveryPlanStep>
|
|
2917
|
+
#
|
|
2918
|
+
# @example Request syntax with placeholder values
|
|
2919
|
+
#
|
|
2920
|
+
# resp = client.reorder_recovery_plan_steps({
|
|
2921
|
+
# recovery_plan_arn: "StrictDRSARN", # required
|
|
2922
|
+
# ordered_step_arns: ["StrictDRSARN"], # required
|
|
2923
|
+
# })
|
|
2924
|
+
#
|
|
2925
|
+
# @example Response structure
|
|
2926
|
+
#
|
|
2927
|
+
# resp.recovery_plan_steps #=> Array
|
|
2928
|
+
# resp.recovery_plan_steps[0].recovery_plan_step_arn #=> String
|
|
2929
|
+
# resp.recovery_plan_steps[0].step_order #=> Integer
|
|
2930
|
+
# resp.recovery_plan_steps[0].step_name #=> String
|
|
2931
|
+
# resp.recovery_plan_steps[0].configuration.server_step_configuration.servers #=> Array
|
|
2932
|
+
# resp.recovery_plan_steps[0].configuration.server_step_configuration.servers[0].server_arn #=> String
|
|
2933
|
+
# resp.recovery_plan_steps[0].configuration.server_step_configuration.servers[0].impact_level #=> String, one of "CRITICAL", "OPTIONAL"
|
|
2934
|
+
# resp.recovery_plan_steps[0].configuration.wait_step_configuration.wait_duration_minutes #=> Integer
|
|
2935
|
+
# resp.recovery_plan_steps[0].created_at #=> String
|
|
2936
|
+
# resp.recovery_plan_steps[0].updated_at #=> String
|
|
2937
|
+
#
|
|
2938
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ReorderRecoveryPlanSteps AWS API Documentation
|
|
2939
|
+
#
|
|
2940
|
+
# @overload reorder_recovery_plan_steps(params = {})
|
|
2941
|
+
# @param [Hash] params ({})
|
|
2942
|
+
def reorder_recovery_plan_steps(params = {}, options = {})
|
|
2943
|
+
req = build_request(:reorder_recovery_plan_steps, params)
|
|
2944
|
+
req.send_request(options)
|
|
2945
|
+
end
|
|
2946
|
+
|
|
2308
2947
|
# WARNING: RetryDataReplication is deprecated. Causes the data
|
|
2309
2948
|
# replication initiation sequence to begin immediately upon next
|
|
2310
2949
|
# Handshake for the specified Source Server ID, regardless of when the
|
|
@@ -2392,6 +3031,7 @@ module Aws::Drs
|
|
|
2392
3031
|
# resp.source_properties.ram_bytes #=> Integer
|
|
2393
3032
|
# resp.source_properties.os.full_string #=> String
|
|
2394
3033
|
# resp.source_properties.supports_nitro_instances #=> Boolean
|
|
3034
|
+
# resp.source_properties.architecture #=> String, one of "x86_64", "arm64"
|
|
2395
3035
|
# resp.staging_area.status #=> String, one of "EXTENDED", "EXTENSION_ERROR", "NOT_EXTENDED"
|
|
2396
3036
|
# resp.staging_area.staging_account_id #=> String
|
|
2397
3037
|
# resp.staging_area.staging_source_server_arn #=> String
|
|
@@ -2414,6 +3054,47 @@ module Aws::Drs
|
|
|
2414
3054
|
req.send_request(options)
|
|
2415
3055
|
end
|
|
2416
3056
|
|
|
3057
|
+
# Retries a failed `SERVER` type execution step.
|
|
3058
|
+
#
|
|
3059
|
+
# @option params [required, String] :recovery_plan_execution_step_arn
|
|
3060
|
+
# The ARN of the execution step to retry.
|
|
3061
|
+
#
|
|
3062
|
+
# @return [Types::RetryRecoveryPlanExecutionStepResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3063
|
+
#
|
|
3064
|
+
# * {Types::RetryRecoveryPlanExecutionStepResponse#recovery_plan_execution_step #recovery_plan_execution_step} => Types::RecoveryPlanExecutionStep
|
|
3065
|
+
#
|
|
3066
|
+
# @example Request syntax with placeholder values
|
|
3067
|
+
#
|
|
3068
|
+
# resp = client.retry_recovery_plan_execution_step({
|
|
3069
|
+
# recovery_plan_execution_step_arn: "StrictDRSARN", # required
|
|
3070
|
+
# })
|
|
3071
|
+
#
|
|
3072
|
+
# @example Response structure
|
|
3073
|
+
#
|
|
3074
|
+
# resp.recovery_plan_execution_step.recovery_plan_execution_step_arn #=> String
|
|
3075
|
+
# resp.recovery_plan_execution_step.step_index #=> Integer
|
|
3076
|
+
# resp.recovery_plan_execution_step.status #=> String, one of "NOT_STARTED", "EXECUTING", "WAITING", "COMPLETED", "FAILED", "TIMED_OUT", "SKIPPED"
|
|
3077
|
+
# resp.recovery_plan_execution_step.step_name #=> String
|
|
3078
|
+
# resp.recovery_plan_execution_step.configuration.execution_server_step_configuration.servers #=> Array
|
|
3079
|
+
# resp.recovery_plan_execution_step.configuration.execution_server_step_configuration.servers[0].server_arn #=> String
|
|
3080
|
+
# resp.recovery_plan_execution_step.configuration.execution_server_step_configuration.servers[0].impact_level #=> String, one of "CRITICAL", "OPTIONAL"
|
|
3081
|
+
# resp.recovery_plan_execution_step.configuration.execution_server_step_configuration.servers[0].job_id #=> String
|
|
3082
|
+
# resp.recovery_plan_execution_step.configuration.wait_step_configuration.wait_duration_minutes #=> Integer
|
|
3083
|
+
# resp.recovery_plan_execution_step.error_detail.message #=> String
|
|
3084
|
+
# resp.recovery_plan_execution_step.error_detail.code #=> String
|
|
3085
|
+
# resp.recovery_plan_execution_step.attempt #=> Integer
|
|
3086
|
+
# resp.recovery_plan_execution_step.created_at #=> String
|
|
3087
|
+
# resp.recovery_plan_execution_step.updated_at #=> String
|
|
3088
|
+
#
|
|
3089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RetryRecoveryPlanExecutionStep AWS API Documentation
|
|
3090
|
+
#
|
|
3091
|
+
# @overload retry_recovery_plan_execution_step(params = {})
|
|
3092
|
+
# @param [Hash] params ({})
|
|
3093
|
+
def retry_recovery_plan_execution_step(params = {}, options = {})
|
|
3094
|
+
req = build_request(:retry_recovery_plan_execution_step, params)
|
|
3095
|
+
req.send_request(options)
|
|
3096
|
+
end
|
|
3097
|
+
|
|
2417
3098
|
# Start replication to origin / target region - applies only to
|
|
2418
3099
|
# protected instances that originated in EC2. For recovery instances on
|
|
2419
3100
|
# target region - starts replication back to origin region. For failback
|
|
@@ -2596,6 +3277,72 @@ module Aws::Drs
|
|
|
2596
3277
|
req.send_request(options)
|
|
2597
3278
|
end
|
|
2598
3279
|
|
|
3280
|
+
# Starts executing a Recovery Plan in `DRILL` or `RECOVERY` mode. A plan
|
|
3281
|
+
# cannot have more than one execution in a non-terminal status at a
|
|
3282
|
+
# time.
|
|
3283
|
+
#
|
|
3284
|
+
# @option params [required, String] :recovery_plan_arn
|
|
3285
|
+
# The ARN of the Recovery Plan to execute.
|
|
3286
|
+
#
|
|
3287
|
+
# @option params [required, String] :mode
|
|
3288
|
+
# The execution mode (`DRILL` or `RECOVERY`).
|
|
3289
|
+
#
|
|
3290
|
+
# @option params [String] :client_token
|
|
3291
|
+
# A unique string provided to ensure request idempotency.
|
|
3292
|
+
#
|
|
3293
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
3294
|
+
# not need to pass this option.**
|
|
3295
|
+
#
|
|
3296
|
+
# @option params [Array<Types::RecoveryPlanExecutionSourceServer>] :source_servers
|
|
3297
|
+
# Optional list of source servers with specific recovery snapshots. If
|
|
3298
|
+
# not provided, the latest snapshot is used for each server.
|
|
3299
|
+
#
|
|
3300
|
+
# @option params [Hash<String,String>] :tags
|
|
3301
|
+
# The tags to apply to the Recovery Plan execution.
|
|
3302
|
+
#
|
|
3303
|
+
# @return [Types::StartRecoveryPlanExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3304
|
+
#
|
|
3305
|
+
# * {Types::StartRecoveryPlanExecutionResponse#recovery_plan_execution #recovery_plan_execution} => Types::RecoveryPlanExecution
|
|
3306
|
+
#
|
|
3307
|
+
# @example Request syntax with placeholder values
|
|
3308
|
+
#
|
|
3309
|
+
# resp = client.start_recovery_plan_execution({
|
|
3310
|
+
# recovery_plan_arn: "StrictDRSARN", # required
|
|
3311
|
+
# mode: "DRILL", # required, accepts DRILL, RECOVERY
|
|
3312
|
+
# client_token: "ClientIdempotencyToken",
|
|
3313
|
+
# source_servers: [
|
|
3314
|
+
# {
|
|
3315
|
+
# source_server_id: "SourceServerID", # required
|
|
3316
|
+
# recovery_snapshot_id: "RecoverySnapshotID", # required
|
|
3317
|
+
# },
|
|
3318
|
+
# ],
|
|
3319
|
+
# tags: {
|
|
3320
|
+
# "TagKey" => "TagValue",
|
|
3321
|
+
# },
|
|
3322
|
+
# })
|
|
3323
|
+
#
|
|
3324
|
+
# @example Response structure
|
|
3325
|
+
#
|
|
3326
|
+
# resp.recovery_plan_execution.recovery_plan_execution_arn #=> String
|
|
3327
|
+
# resp.recovery_plan_execution.recovery_plan_arn #=> String
|
|
3328
|
+
# resp.recovery_plan_execution.mode #=> String, one of "DRILL", "RECOVERY"
|
|
3329
|
+
# resp.recovery_plan_execution.status #=> String, one of "CREATED", "IN_PROGRESS", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
|
|
3330
|
+
# resp.recovery_plan_execution.started_at #=> String
|
|
3331
|
+
# resp.recovery_plan_execution.completed_at #=> String
|
|
3332
|
+
# resp.recovery_plan_execution.error_detail.message #=> String
|
|
3333
|
+
# resp.recovery_plan_execution.error_detail.code #=> String
|
|
3334
|
+
# resp.recovery_plan_execution.tags #=> Hash
|
|
3335
|
+
# resp.recovery_plan_execution.tags["TagKey"] #=> String
|
|
3336
|
+
#
|
|
3337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartRecoveryPlanExecution AWS API Documentation
|
|
3338
|
+
#
|
|
3339
|
+
# @overload start_recovery_plan_execution(params = {})
|
|
3340
|
+
# @param [Hash] params ({})
|
|
3341
|
+
def start_recovery_plan_execution(params = {}, options = {})
|
|
3342
|
+
req = build_request(:start_recovery_plan_execution, params)
|
|
3343
|
+
req.send_request(options)
|
|
3344
|
+
end
|
|
3345
|
+
|
|
2599
3346
|
# Starts replication for a stopped Source Server. This action would make
|
|
2600
3347
|
# the Source Server protected again and restart billing for it.
|
|
2601
3348
|
#
|
|
@@ -2667,6 +3414,7 @@ module Aws::Drs
|
|
|
2667
3414
|
# resp.source_server.source_properties.ram_bytes #=> Integer
|
|
2668
3415
|
# resp.source_server.source_properties.os.full_string #=> String
|
|
2669
3416
|
# resp.source_server.source_properties.supports_nitro_instances #=> Boolean
|
|
3417
|
+
# resp.source_server.source_properties.architecture #=> String, one of "x86_64", "arm64"
|
|
2670
3418
|
# resp.source_server.staging_area.status #=> String, one of "EXTENDED", "EXTENSION_ERROR", "NOT_EXTENDED"
|
|
2671
3419
|
# resp.source_server.staging_area.staging_account_id #=> String
|
|
2672
3420
|
# resp.source_server.staging_area.staging_source_server_arn #=> String
|
|
@@ -2906,6 +3654,7 @@ module Aws::Drs
|
|
|
2906
3654
|
# resp.source_server.source_properties.ram_bytes #=> Integer
|
|
2907
3655
|
# resp.source_server.source_properties.os.full_string #=> String
|
|
2908
3656
|
# resp.source_server.source_properties.supports_nitro_instances #=> Boolean
|
|
3657
|
+
# resp.source_server.source_properties.architecture #=> String, one of "x86_64", "arm64"
|
|
2909
3658
|
# resp.source_server.staging_area.status #=> String, one of "EXTENDED", "EXTENSION_ERROR", "NOT_EXTENDED"
|
|
2910
3659
|
# resp.source_server.staging_area.staging_account_id #=> String
|
|
2911
3660
|
# resp.source_server.staging_area.staging_source_server_arn #=> String
|
|
@@ -3308,6 +4057,170 @@ module Aws::Drs
|
|
|
3308
4057
|
req.send_request(options)
|
|
3309
4058
|
end
|
|
3310
4059
|
|
|
4060
|
+
# Updates a Recovery Plan's name or description.
|
|
4061
|
+
#
|
|
4062
|
+
# @option params [required, String] :recovery_plan_arn
|
|
4063
|
+
# The ARN of the Recovery Plan to update.
|
|
4064
|
+
#
|
|
4065
|
+
# @option params [String] :name
|
|
4066
|
+
# The name of a Recovery Plan.
|
|
4067
|
+
#
|
|
4068
|
+
# @option params [String] :description
|
|
4069
|
+
# The description of a Recovery Plan.
|
|
4070
|
+
#
|
|
4071
|
+
# @return [Types::UpdateRecoveryPlanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4072
|
+
#
|
|
4073
|
+
# * {Types::UpdateRecoveryPlanResponse#recovery_plan #recovery_plan} => Types::RecoveryPlan
|
|
4074
|
+
#
|
|
4075
|
+
# @example Request syntax with placeholder values
|
|
4076
|
+
#
|
|
4077
|
+
# resp = client.update_recovery_plan({
|
|
4078
|
+
# recovery_plan_arn: "StrictDRSARN", # required
|
|
4079
|
+
# name: "RecoveryPlanName",
|
|
4080
|
+
# description: "RecoveryPlanDescription",
|
|
4081
|
+
# })
|
|
4082
|
+
#
|
|
4083
|
+
# @example Response structure
|
|
4084
|
+
#
|
|
4085
|
+
# resp.recovery_plan.recovery_plan_arn #=> String
|
|
4086
|
+
# resp.recovery_plan.name #=> String
|
|
4087
|
+
# resp.recovery_plan.description #=> String
|
|
4088
|
+
# resp.recovery_plan.status #=> String, one of "ACTIVE", "INVALID"
|
|
4089
|
+
# resp.recovery_plan.created_at #=> String
|
|
4090
|
+
# resp.recovery_plan.updated_at #=> String
|
|
4091
|
+
# resp.recovery_plan.tags #=> Hash
|
|
4092
|
+
# resp.recovery_plan.tags["TagKey"] #=> String
|
|
4093
|
+
#
|
|
4094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateRecoveryPlan AWS API Documentation
|
|
4095
|
+
#
|
|
4096
|
+
# @overload update_recovery_plan(params = {})
|
|
4097
|
+
# @param [Hash] params ({})
|
|
4098
|
+
def update_recovery_plan(params = {}, options = {})
|
|
4099
|
+
req = build_request(:update_recovery_plan, params)
|
|
4100
|
+
req.send_request(options)
|
|
4101
|
+
end
|
|
4102
|
+
|
|
4103
|
+
# Updates an execution step. Supports two actions: (1) skip a step that
|
|
4104
|
+
# is in `NOT_STARTED` or `FAILED` status; (2) update the wait duration
|
|
4105
|
+
# of a `WAIT` type step that is in `NOT_STARTED` status.
|
|
4106
|
+
#
|
|
4107
|
+
# @option params [required, String] :recovery_plan_execution_step_arn
|
|
4108
|
+
# The ARN of the execution step to update.
|
|
4109
|
+
#
|
|
4110
|
+
# @option params [String] :status
|
|
4111
|
+
# Only SKIPPED is accepted. Step must be in NOT\_STARTED or FAILED
|
|
4112
|
+
# status.
|
|
4113
|
+
#
|
|
4114
|
+
# @option params [Array<Types::RecoveryPlanServer>] :servers
|
|
4115
|
+
# Full replacement of the server list. Only allowed when the step is in
|
|
4116
|
+
# NOT\_STARTED status (Server type steps only).
|
|
4117
|
+
#
|
|
4118
|
+
# @option params [Integer] :wait_duration_minutes
|
|
4119
|
+
# Updated wait duration. Only allowed when the step is in NOT\_STARTED
|
|
4120
|
+
# status (Wait type steps only).
|
|
4121
|
+
#
|
|
4122
|
+
# @return [Types::UpdateRecoveryPlanExecutionStepResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4123
|
+
#
|
|
4124
|
+
# * {Types::UpdateRecoveryPlanExecutionStepResponse#recovery_plan_execution_step #recovery_plan_execution_step} => Types::RecoveryPlanExecutionStep
|
|
4125
|
+
#
|
|
4126
|
+
# @example Request syntax with placeholder values
|
|
4127
|
+
#
|
|
4128
|
+
# resp = client.update_recovery_plan_execution_step({
|
|
4129
|
+
# recovery_plan_execution_step_arn: "StrictDRSARN", # required
|
|
4130
|
+
# status: "NOT_STARTED", # accepts NOT_STARTED, EXECUTING, WAITING, COMPLETED, FAILED, TIMED_OUT, SKIPPED
|
|
4131
|
+
# servers: [
|
|
4132
|
+
# {
|
|
4133
|
+
# server_arn: "SourceServerARN", # required
|
|
4134
|
+
# impact_level: "CRITICAL", # accepts CRITICAL, OPTIONAL
|
|
4135
|
+
# },
|
|
4136
|
+
# ],
|
|
4137
|
+
# wait_duration_minutes: 1,
|
|
4138
|
+
# })
|
|
4139
|
+
#
|
|
4140
|
+
# @example Response structure
|
|
4141
|
+
#
|
|
4142
|
+
# resp.recovery_plan_execution_step.recovery_plan_execution_step_arn #=> String
|
|
4143
|
+
# resp.recovery_plan_execution_step.step_index #=> Integer
|
|
4144
|
+
# resp.recovery_plan_execution_step.status #=> String, one of "NOT_STARTED", "EXECUTING", "WAITING", "COMPLETED", "FAILED", "TIMED_OUT", "SKIPPED"
|
|
4145
|
+
# resp.recovery_plan_execution_step.step_name #=> String
|
|
4146
|
+
# resp.recovery_plan_execution_step.configuration.execution_server_step_configuration.servers #=> Array
|
|
4147
|
+
# resp.recovery_plan_execution_step.configuration.execution_server_step_configuration.servers[0].server_arn #=> String
|
|
4148
|
+
# resp.recovery_plan_execution_step.configuration.execution_server_step_configuration.servers[0].impact_level #=> String, one of "CRITICAL", "OPTIONAL"
|
|
4149
|
+
# resp.recovery_plan_execution_step.configuration.execution_server_step_configuration.servers[0].job_id #=> String
|
|
4150
|
+
# resp.recovery_plan_execution_step.configuration.wait_step_configuration.wait_duration_minutes #=> Integer
|
|
4151
|
+
# resp.recovery_plan_execution_step.error_detail.message #=> String
|
|
4152
|
+
# resp.recovery_plan_execution_step.error_detail.code #=> String
|
|
4153
|
+
# resp.recovery_plan_execution_step.attempt #=> Integer
|
|
4154
|
+
# resp.recovery_plan_execution_step.created_at #=> String
|
|
4155
|
+
# resp.recovery_plan_execution_step.updated_at #=> String
|
|
4156
|
+
#
|
|
4157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateRecoveryPlanExecutionStep AWS API Documentation
|
|
4158
|
+
#
|
|
4159
|
+
# @overload update_recovery_plan_execution_step(params = {})
|
|
4160
|
+
# @param [Hash] params ({})
|
|
4161
|
+
def update_recovery_plan_execution_step(params = {}, options = {})
|
|
4162
|
+
req = build_request(:update_recovery_plan_execution_step, params)
|
|
4163
|
+
req.send_request(options)
|
|
4164
|
+
end
|
|
4165
|
+
|
|
4166
|
+
# Updates a Recovery Plan step's name or configuration. Step type is
|
|
4167
|
+
# immutable.
|
|
4168
|
+
#
|
|
4169
|
+
# @option params [required, String] :recovery_plan_step_arn
|
|
4170
|
+
# The ARN of the Recovery Plan step to update.
|
|
4171
|
+
#
|
|
4172
|
+
# @option params [String] :step_name
|
|
4173
|
+
# The name of a Recovery Plan Step.
|
|
4174
|
+
#
|
|
4175
|
+
# @option params [Types::RecoveryPlanStepConfiguration] :configuration
|
|
4176
|
+
# Type-specific configuration for a recovery plan step. Exactly one
|
|
4177
|
+
# member must be set.
|
|
4178
|
+
#
|
|
4179
|
+
# @return [Types::UpdateRecoveryPlanStepResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4180
|
+
#
|
|
4181
|
+
# * {Types::UpdateRecoveryPlanStepResponse#recovery_plan_step #recovery_plan_step} => Types::RecoveryPlanStep
|
|
4182
|
+
#
|
|
4183
|
+
# @example Request syntax with placeholder values
|
|
4184
|
+
#
|
|
4185
|
+
# resp = client.update_recovery_plan_step({
|
|
4186
|
+
# recovery_plan_step_arn: "StrictDRSARN", # required
|
|
4187
|
+
# step_name: "RecoveryPlanStepName",
|
|
4188
|
+
# configuration: {
|
|
4189
|
+
# server_step_configuration: {
|
|
4190
|
+
# servers: [ # required
|
|
4191
|
+
# {
|
|
4192
|
+
# server_arn: "SourceServerARN", # required
|
|
4193
|
+
# impact_level: "CRITICAL", # accepts CRITICAL, OPTIONAL
|
|
4194
|
+
# },
|
|
4195
|
+
# ],
|
|
4196
|
+
# },
|
|
4197
|
+
# wait_step_configuration: {
|
|
4198
|
+
# wait_duration_minutes: 1, # required
|
|
4199
|
+
# },
|
|
4200
|
+
# },
|
|
4201
|
+
# })
|
|
4202
|
+
#
|
|
4203
|
+
# @example Response structure
|
|
4204
|
+
#
|
|
4205
|
+
# resp.recovery_plan_step.recovery_plan_step_arn #=> String
|
|
4206
|
+
# resp.recovery_plan_step.step_order #=> Integer
|
|
4207
|
+
# resp.recovery_plan_step.step_name #=> String
|
|
4208
|
+
# resp.recovery_plan_step.configuration.server_step_configuration.servers #=> Array
|
|
4209
|
+
# resp.recovery_plan_step.configuration.server_step_configuration.servers[0].server_arn #=> String
|
|
4210
|
+
# resp.recovery_plan_step.configuration.server_step_configuration.servers[0].impact_level #=> String, one of "CRITICAL", "OPTIONAL"
|
|
4211
|
+
# resp.recovery_plan_step.configuration.wait_step_configuration.wait_duration_minutes #=> Integer
|
|
4212
|
+
# resp.recovery_plan_step.created_at #=> String
|
|
4213
|
+
# resp.recovery_plan_step.updated_at #=> String
|
|
4214
|
+
#
|
|
4215
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateRecoveryPlanStep AWS API Documentation
|
|
4216
|
+
#
|
|
4217
|
+
# @overload update_recovery_plan_step(params = {})
|
|
4218
|
+
# @param [Hash] params ({})
|
|
4219
|
+
def update_recovery_plan_step(params = {}, options = {})
|
|
4220
|
+
req = build_request(:update_recovery_plan_step, params)
|
|
4221
|
+
req.send_request(options)
|
|
4222
|
+
end
|
|
4223
|
+
|
|
3311
4224
|
# Allows you to update a ReplicationConfiguration by Source Server ID.
|
|
3312
4225
|
#
|
|
3313
4226
|
# @option params [required, String] :source_server_id
|
|
@@ -3648,7 +4561,7 @@ module Aws::Drs
|
|
|
3648
4561
|
tracer: tracer
|
|
3649
4562
|
)
|
|
3650
4563
|
context[:gem_name] = 'aws-sdk-drs'
|
|
3651
|
-
context[:gem_version] = '1.
|
|
4564
|
+
context[:gem_version] = '1.70.0'
|
|
3652
4565
|
Seahorse::Client::Request.new(handlers, context)
|
|
3653
4566
|
end
|
|
3654
4567
|
|