aws-sdk-drs 1.68.0 → 1.69.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.
@@ -89,6 +89,30 @@ module Aws::Drs
89
89
  include Aws::Structure
90
90
  end
91
91
 
92
+ # @!attribute [rw] recovery_plan_execution_arn
93
+ # The ARN of the Recovery Plan execution to cancel.
94
+ # @return [String]
95
+ #
96
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CancelRecoveryPlanExecutionRequest AWS API Documentation
97
+ #
98
+ class CancelRecoveryPlanExecutionRequest < Struct.new(
99
+ :recovery_plan_execution_arn)
100
+ SENSITIVE = []
101
+ include Aws::Structure
102
+ end
103
+
104
+ # @!attribute [rw] recovery_plan_execution
105
+ # The cancelled Recovery Plan execution.
106
+ # @return [Types::RecoveryPlanExecution]
107
+ #
108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CancelRecoveryPlanExecutionResponse AWS API Documentation
109
+ #
110
+ class CancelRecoveryPlanExecutionResponse < Struct.new(
111
+ :recovery_plan_execution)
112
+ SENSITIVE = []
113
+ include Aws::Structure
114
+ end
115
+
92
116
  # The request could not be completed due to a conflict with the current
93
117
  # state of the target resource.
94
118
  #
@@ -260,6 +284,96 @@ module Aws::Drs
260
284
  include Aws::Structure
261
285
  end
262
286
 
287
+ # @!attribute [rw] name
288
+ # The name of a Recovery Plan.
289
+ # @return [String]
290
+ #
291
+ # @!attribute [rw] description
292
+ # The description of a Recovery Plan.
293
+ # @return [String]
294
+ #
295
+ # @!attribute [rw] client_token
296
+ # A unique string provided to ensure request idempotency.
297
+ #
298
+ # **A suitable default value is auto-generated.** You should normally
299
+ # not need to pass this option.
300
+ # @return [String]
301
+ #
302
+ # @!attribute [rw] tags
303
+ # The tags to apply to the Recovery Plan.
304
+ # @return [Hash<String,String>]
305
+ #
306
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateRecoveryPlanRequest AWS API Documentation
307
+ #
308
+ class CreateRecoveryPlanRequest < Struct.new(
309
+ :name,
310
+ :description,
311
+ :client_token,
312
+ :tags)
313
+ SENSITIVE = [:tags]
314
+ include Aws::Structure
315
+ end
316
+
317
+ # @!attribute [rw] recovery_plan
318
+ # A Recovery Plan resource.
319
+ # @return [Types::RecoveryPlan]
320
+ #
321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateRecoveryPlanResponse AWS API Documentation
322
+ #
323
+ class CreateRecoveryPlanResponse < Struct.new(
324
+ :recovery_plan)
325
+ SENSITIVE = []
326
+ include Aws::Structure
327
+ end
328
+
329
+ # @!attribute [rw] recovery_plan_arn
330
+ # The ARN of the Recovery Plan to add the step to.
331
+ # @return [String]
332
+ #
333
+ # @!attribute [rw] step_name
334
+ # The name of a Recovery Plan Step.
335
+ # @return [String]
336
+ #
337
+ # @!attribute [rw] step_order
338
+ # The order of a step within a Recovery Plan (1-based).
339
+ # @return [Integer]
340
+ #
341
+ # @!attribute [rw] configuration
342
+ # Type-specific configuration for a recovery plan step. Exactly one
343
+ # member must be set.
344
+ # @return [Types::RecoveryPlanStepConfiguration]
345
+ #
346
+ # @!attribute [rw] client_token
347
+ # A unique string provided to ensure request idempotency.
348
+ #
349
+ # **A suitable default value is auto-generated.** You should normally
350
+ # not need to pass this option.
351
+ # @return [String]
352
+ #
353
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateRecoveryPlanStepRequest AWS API Documentation
354
+ #
355
+ class CreateRecoveryPlanStepRequest < Struct.new(
356
+ :recovery_plan_arn,
357
+ :step_name,
358
+ :step_order,
359
+ :configuration,
360
+ :client_token)
361
+ SENSITIVE = []
362
+ include Aws::Structure
363
+ end
364
+
365
+ # @!attribute [rw] recovery_plan_step
366
+ # A Recovery Plan Step resource.
367
+ # @return [Types::RecoveryPlanStep]
368
+ #
369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateRecoveryPlanStepResponse AWS API Documentation
370
+ #
371
+ class CreateRecoveryPlanStepResponse < Struct.new(
372
+ :recovery_plan_step)
373
+ SENSITIVE = []
374
+ include Aws::Structure
375
+ end
376
+
263
377
  # @!attribute [rw] staging_area_subnet_id
264
378
  # The subnet to be used by the replication staging area.
265
379
  # @return [String]
@@ -611,6 +725,78 @@ module Aws::Drs
611
725
  include Aws::Structure
612
726
  end
613
727
 
728
+ # @!attribute [rw] recovery_plan_execution_arn
729
+ # The ARN of the Recovery Plan execution to delete.
730
+ # @return [String]
731
+ #
732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteRecoveryPlanExecutionRequest AWS API Documentation
733
+ #
734
+ class DeleteRecoveryPlanExecutionRequest < Struct.new(
735
+ :recovery_plan_execution_arn)
736
+ SENSITIVE = []
737
+ include Aws::Structure
738
+ end
739
+
740
+ # @!attribute [rw] recovery_plan_execution_arn
741
+ # The ARN of the deleted Recovery Plan execution.
742
+ # @return [String]
743
+ #
744
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteRecoveryPlanExecutionResponse AWS API Documentation
745
+ #
746
+ class DeleteRecoveryPlanExecutionResponse < Struct.new(
747
+ :recovery_plan_execution_arn)
748
+ SENSITIVE = []
749
+ include Aws::Structure
750
+ end
751
+
752
+ # @!attribute [rw] recovery_plan_arn
753
+ # The ARN of the Recovery Plan to delete.
754
+ # @return [String]
755
+ #
756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteRecoveryPlanRequest AWS API Documentation
757
+ #
758
+ class DeleteRecoveryPlanRequest < Struct.new(
759
+ :recovery_plan_arn)
760
+ SENSITIVE = []
761
+ include Aws::Structure
762
+ end
763
+
764
+ # @!attribute [rw] recovery_plan_arn
765
+ # The ARN of the deleted Recovery Plan.
766
+ # @return [String]
767
+ #
768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteRecoveryPlanResponse AWS API Documentation
769
+ #
770
+ class DeleteRecoveryPlanResponse < Struct.new(
771
+ :recovery_plan_arn)
772
+ SENSITIVE = []
773
+ include Aws::Structure
774
+ end
775
+
776
+ # @!attribute [rw] recovery_plan_step_arn
777
+ # The ARN of the Recovery Plan step to delete.
778
+ # @return [String]
779
+ #
780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteRecoveryPlanStepRequest AWS API Documentation
781
+ #
782
+ class DeleteRecoveryPlanStepRequest < Struct.new(
783
+ :recovery_plan_step_arn)
784
+ SENSITIVE = []
785
+ include Aws::Structure
786
+ end
787
+
788
+ # @!attribute [rw] recovery_plan_step_arn
789
+ # The ARN of the deleted Recovery Plan step.
790
+ # @return [String]
791
+ #
792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteRecoveryPlanStepResponse AWS API Documentation
793
+ #
794
+ class DeleteRecoveryPlanStepResponse < Struct.new(
795
+ :recovery_plan_step_arn)
796
+ SENSITIVE = []
797
+ include Aws::Structure
798
+ end
799
+
614
800
  # @!attribute [rw] replication_configuration_template_id
615
801
  # The ID of the Replication Configuration Template to be deleted.
616
802
  # @return [String]
@@ -1146,6 +1332,25 @@ module Aws::Drs
1146
1332
  include Aws::Structure
1147
1333
  end
1148
1334
 
1335
+ # Error details for a failed operation.
1336
+ #
1337
+ # @!attribute [rw] message
1338
+ # The error message.
1339
+ # @return [String]
1340
+ #
1341
+ # @!attribute [rw] code
1342
+ # The error code.
1343
+ # @return [String]
1344
+ #
1345
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ErrorDetail AWS API Documentation
1346
+ #
1347
+ class ErrorDetail < Struct.new(
1348
+ :message,
1349
+ :code)
1350
+ SENSITIVE = []
1351
+ include Aws::Structure
1352
+ end
1353
+
1149
1354
  # Properties of resource related to a job event.
1150
1355
  #
1151
1356
  # @note EventResourceData is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EventResourceData corresponding to the set member.
@@ -1167,6 +1372,20 @@ module Aws::Drs
1167
1372
  class Unknown < EventResourceData; end
1168
1373
  end
1169
1374
 
1375
+ # Configuration for a `SERVER` type execution step.
1376
+ #
1377
+ # @!attribute [rw] servers
1378
+ # The list of servers in this execution step.
1379
+ # @return [Array<Types::RecoveryPlanExecutionServer>]
1380
+ #
1381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ExecutionServerStepConfiguration AWS API Documentation
1382
+ #
1383
+ class ExecutionServerStepConfiguration < Struct.new(
1384
+ :servers)
1385
+ SENSITIVE = []
1386
+ include Aws::Structure
1387
+ end
1388
+
1170
1389
  # @!attribute [rw] source_network_id
1171
1390
  # The Source Network ID to export its CloudFormation template to an S3
1172
1391
  # bucket.
@@ -1254,6 +1473,102 @@ module Aws::Drs
1254
1473
  include Aws::Structure
1255
1474
  end
1256
1475
 
1476
+ # @!attribute [rw] recovery_plan_execution_arn
1477
+ # The ARN of the Recovery Plan execution.
1478
+ # @return [String]
1479
+ #
1480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetRecoveryPlanExecutionRequest AWS API Documentation
1481
+ #
1482
+ class GetRecoveryPlanExecutionRequest < Struct.new(
1483
+ :recovery_plan_execution_arn)
1484
+ SENSITIVE = []
1485
+ include Aws::Structure
1486
+ end
1487
+
1488
+ # @!attribute [rw] recovery_plan_execution
1489
+ # The Recovery Plan execution details.
1490
+ # @return [Types::RecoveryPlanExecution]
1491
+ #
1492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetRecoveryPlanExecutionResponse AWS API Documentation
1493
+ #
1494
+ class GetRecoveryPlanExecutionResponse < Struct.new(
1495
+ :recovery_plan_execution)
1496
+ SENSITIVE = []
1497
+ include Aws::Structure
1498
+ end
1499
+
1500
+ # @!attribute [rw] recovery_plan_execution_step_arn
1501
+ # The ARN of the execution step.
1502
+ # @return [String]
1503
+ #
1504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetRecoveryPlanExecutionStepRequest AWS API Documentation
1505
+ #
1506
+ class GetRecoveryPlanExecutionStepRequest < Struct.new(
1507
+ :recovery_plan_execution_step_arn)
1508
+ SENSITIVE = []
1509
+ include Aws::Structure
1510
+ end
1511
+
1512
+ # @!attribute [rw] recovery_plan_execution_step
1513
+ # A Recovery Plan Execution Step resource.
1514
+ # @return [Types::RecoveryPlanExecutionStep]
1515
+ #
1516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetRecoveryPlanExecutionStepResponse AWS API Documentation
1517
+ #
1518
+ class GetRecoveryPlanExecutionStepResponse < Struct.new(
1519
+ :recovery_plan_execution_step)
1520
+ SENSITIVE = []
1521
+ include Aws::Structure
1522
+ end
1523
+
1524
+ # @!attribute [rw] recovery_plan_arn
1525
+ # The ARN of the Recovery Plan to retrieve.
1526
+ # @return [String]
1527
+ #
1528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetRecoveryPlanRequest AWS API Documentation
1529
+ #
1530
+ class GetRecoveryPlanRequest < Struct.new(
1531
+ :recovery_plan_arn)
1532
+ SENSITIVE = []
1533
+ include Aws::Structure
1534
+ end
1535
+
1536
+ # @!attribute [rw] recovery_plan
1537
+ # A Recovery Plan resource.
1538
+ # @return [Types::RecoveryPlan]
1539
+ #
1540
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetRecoveryPlanResponse AWS API Documentation
1541
+ #
1542
+ class GetRecoveryPlanResponse < Struct.new(
1543
+ :recovery_plan)
1544
+ SENSITIVE = []
1545
+ include Aws::Structure
1546
+ end
1547
+
1548
+ # @!attribute [rw] recovery_plan_step_arn
1549
+ # The ARN of the Recovery Plan step to retrieve.
1550
+ # @return [String]
1551
+ #
1552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetRecoveryPlanStepRequest AWS API Documentation
1553
+ #
1554
+ class GetRecoveryPlanStepRequest < Struct.new(
1555
+ :recovery_plan_step_arn)
1556
+ SENSITIVE = []
1557
+ include Aws::Structure
1558
+ end
1559
+
1560
+ # @!attribute [rw] recovery_plan_step
1561
+ # A Recovery Plan Step resource.
1562
+ # @return [Types::RecoveryPlanStep]
1563
+ #
1564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetRecoveryPlanStepResponse AWS API Documentation
1565
+ #
1566
+ class GetRecoveryPlanStepResponse < Struct.new(
1567
+ :recovery_plan_step)
1568
+ SENSITIVE = []
1569
+ include Aws::Structure
1570
+ end
1571
+
1257
1572
  # @!attribute [rw] source_server_id
1258
1573
  # The ID of the Source Serve for this Replication Configuration.r
1259
1574
  # @return [String]
@@ -1943,98 +2258,273 @@ module Aws::Drs
1943
2258
  include Aws::Structure
1944
2259
  end
1945
2260
 
2261
+ # Filters for listing Recovery Plan execution steps.
2262
+ #
2263
+ # @!attribute [rw] status
2264
+ # Filter by execution step status.
2265
+ # @return [String]
2266
+ #
2267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlanExecutionStepsFilter AWS API Documentation
2268
+ #
2269
+ class ListRecoveryPlanExecutionStepsFilter < Struct.new(
2270
+ :status)
2271
+ SENSITIVE = []
2272
+ include Aws::Structure
2273
+ end
2274
+
2275
+ # @!attribute [rw] recovery_plan_execution_arn
2276
+ # The ARN of the Recovery Plan execution.
2277
+ # @return [String]
2278
+ #
2279
+ # @!attribute [rw] filter
2280
+ # Filters for listing execution steps.
2281
+ # @return [Types::ListRecoveryPlanExecutionStepsFilter]
2282
+ #
1946
2283
  # @!attribute [rw] max_results
1947
- # The maximum number of staging Accounts to retrieve.
2284
+ # Maximum number of results to return.
1948
2285
  # @return [Integer]
1949
2286
  #
1950
2287
  # @!attribute [rw] next_token
1951
- # The token of the next staging Account to retrieve.
2288
+ # The token for the next page of results.
1952
2289
  # @return [String]
1953
2290
  #
1954
- # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListStagingAccountsRequest AWS API Documentation
2291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlanExecutionStepsRequest AWS API Documentation
1955
2292
  #
1956
- class ListStagingAccountsRequest < Struct.new(
2293
+ class ListRecoveryPlanExecutionStepsRequest < Struct.new(
2294
+ :recovery_plan_execution_arn,
2295
+ :filter,
1957
2296
  :max_results,
1958
2297
  :next_token)
1959
2298
  SENSITIVE = []
1960
2299
  include Aws::Structure
1961
2300
  end
1962
2301
 
1963
- # @!attribute [rw] accounts
1964
- # An array of staging AWS Accounts.
1965
- # @return [Array<Types::Account>]
2302
+ # @!attribute [rw] recovery_plan_execution_steps
2303
+ # The list of execution steps.
2304
+ # @return [Array<Types::RecoveryPlanExecutionStepSummary>]
1966
2305
  #
1967
2306
  # @!attribute [rw] next_token
1968
- # The token of the next staging Account to retrieve.
2307
+ # The token for the next page of results.
1969
2308
  # @return [String]
1970
2309
  #
1971
- # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListStagingAccountsResponse AWS API Documentation
2310
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlanExecutionStepsResponse AWS API Documentation
1972
2311
  #
1973
- class ListStagingAccountsResponse < Struct.new(
1974
- :accounts,
2312
+ class ListRecoveryPlanExecutionStepsResponse < Struct.new(
2313
+ :recovery_plan_execution_steps,
1975
2314
  :next_token)
1976
2315
  SENSITIVE = []
1977
2316
  include Aws::Structure
1978
2317
  end
1979
2318
 
1980
- # @!attribute [rw] resource_arn
1981
- # The ARN of the resource whose tags should be returned.
2319
+ # @!attribute [rw] recovery_plan_arn
2320
+ # Filter executions by Recovery Plan ARN.
1982
2321
  # @return [String]
1983
2322
  #
1984
- # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListTagsForResourceRequest AWS API Documentation
2323
+ # @!attribute [rw] status
2324
+ # Filter executions by status.
2325
+ # @return [String]
1985
2326
  #
1986
- class ListTagsForResourceRequest < Struct.new(
1987
- :resource_arn)
2327
+ # @!attribute [rw] max_results
2328
+ # Maximum number of results to return.
2329
+ # @return [Integer]
2330
+ #
2331
+ # @!attribute [rw] next_token
2332
+ # The token for the next page of results.
2333
+ # @return [String]
2334
+ #
2335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlanExecutionsRequest AWS API Documentation
2336
+ #
2337
+ class ListRecoveryPlanExecutionsRequest < Struct.new(
2338
+ :recovery_plan_arn,
2339
+ :status,
2340
+ :max_results,
2341
+ :next_token)
1988
2342
  SENSITIVE = []
1989
2343
  include Aws::Structure
1990
2344
  end
1991
2345
 
1992
- # @!attribute [rw] tags
1993
- # The tags of the requested resource.
1994
- # @return [Hash<String,String>]
2346
+ # @!attribute [rw] recovery_plan_executions
2347
+ # The list of Recovery Plan executions.
2348
+ # @return [Array<Types::RecoveryPlanExecutionSummary>]
1995
2349
  #
1996
- # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListTagsForResourceResponse AWS API Documentation
2350
+ # @!attribute [rw] next_token
2351
+ # The token for the next page of results.
2352
+ # @return [String]
1997
2353
  #
1998
- class ListTagsForResourceResponse < Struct.new(
1999
- :tags)
2000
- SENSITIVE = [:tags]
2354
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlanExecutionsResponse AWS API Documentation
2355
+ #
2356
+ class ListRecoveryPlanExecutionsResponse < Struct.new(
2357
+ :recovery_plan_executions,
2358
+ :next_token)
2359
+ SENSITIVE = []
2001
2360
  include Aws::Structure
2002
2361
  end
2003
2362
 
2004
- # Network interface.
2005
- #
2006
- # @!attribute [rw] mac_address
2007
- # The MAC address of the network interface.
2363
+ # @!attribute [rw] recovery_plan_arn
2364
+ # The ARN of the Recovery Plan.
2008
2365
  # @return [String]
2009
2366
  #
2010
- # @!attribute [rw] ips
2011
- # Network interface IPs.
2012
- # @return [Array<String>]
2367
+ # @!attribute [rw] max_results
2368
+ # Maximum number of results to return.
2369
+ # @return [Integer]
2013
2370
  #
2014
- # @!attribute [rw] is_primary
2015
- # Whether this is the primary network interface.
2016
- # @return [Boolean]
2371
+ # @!attribute [rw] next_token
2372
+ # The token for the next page of results.
2373
+ # @return [String]
2017
2374
  #
2018
- # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/NetworkInterface AWS API Documentation
2375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlanStepsRequest AWS API Documentation
2019
2376
  #
2020
- class NetworkInterface < Struct.new(
2021
- :mac_address,
2022
- :ips,
2023
- :is_primary)
2377
+ class ListRecoveryPlanStepsRequest < Struct.new(
2378
+ :recovery_plan_arn,
2379
+ :max_results,
2380
+ :next_token)
2024
2381
  SENSITIVE = []
2025
2382
  include Aws::Structure
2026
2383
  end
2027
2384
 
2028
- # Operating System.
2385
+ # @!attribute [rw] recovery_plan_steps
2386
+ # The list of Recovery Plan steps.
2387
+ # @return [Array<Types::RecoveryPlanStep>]
2029
2388
  #
2030
- # @!attribute [rw] full_string
2031
- # The long name of the Operating System.
2389
+ # @!attribute [rw] next_token
2390
+ # The token for the next page of results.
2032
2391
  # @return [String]
2033
2392
  #
2034
- # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/OS AWS API Documentation
2393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlanStepsResponse AWS API Documentation
2035
2394
  #
2036
- class OS < Struct.new(
2037
- :full_string)
2395
+ class ListRecoveryPlanStepsResponse < Struct.new(
2396
+ :recovery_plan_steps,
2397
+ :next_token)
2398
+ SENSITIVE = []
2399
+ include Aws::Structure
2400
+ end
2401
+
2402
+ # @!attribute [rw] max_results
2403
+ # Maximum number of results to return.
2404
+ # @return [Integer]
2405
+ #
2406
+ # @!attribute [rw] next_token
2407
+ # The token for the next page of results.
2408
+ # @return [String]
2409
+ #
2410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlansRequest AWS API Documentation
2411
+ #
2412
+ class ListRecoveryPlansRequest < Struct.new(
2413
+ :max_results,
2414
+ :next_token)
2415
+ SENSITIVE = []
2416
+ include Aws::Structure
2417
+ end
2418
+
2419
+ # @!attribute [rw] recovery_plans
2420
+ # The list of Recovery Plans.
2421
+ # @return [Array<Types::RecoveryPlanSummary>]
2422
+ #
2423
+ # @!attribute [rw] next_token
2424
+ # The token for the next page of results.
2425
+ # @return [String]
2426
+ #
2427
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListRecoveryPlansResponse AWS API Documentation
2428
+ #
2429
+ class ListRecoveryPlansResponse < Struct.new(
2430
+ :recovery_plans,
2431
+ :next_token)
2432
+ SENSITIVE = []
2433
+ include Aws::Structure
2434
+ end
2435
+
2436
+ # @!attribute [rw] max_results
2437
+ # The maximum number of staging Accounts to retrieve.
2438
+ # @return [Integer]
2439
+ #
2440
+ # @!attribute [rw] next_token
2441
+ # The token of the next staging Account to retrieve.
2442
+ # @return [String]
2443
+ #
2444
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListStagingAccountsRequest AWS API Documentation
2445
+ #
2446
+ class ListStagingAccountsRequest < Struct.new(
2447
+ :max_results,
2448
+ :next_token)
2449
+ SENSITIVE = []
2450
+ include Aws::Structure
2451
+ end
2452
+
2453
+ # @!attribute [rw] accounts
2454
+ # An array of staging AWS Accounts.
2455
+ # @return [Array<Types::Account>]
2456
+ #
2457
+ # @!attribute [rw] next_token
2458
+ # The token of the next staging Account to retrieve.
2459
+ # @return [String]
2460
+ #
2461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListStagingAccountsResponse AWS API Documentation
2462
+ #
2463
+ class ListStagingAccountsResponse < Struct.new(
2464
+ :accounts,
2465
+ :next_token)
2466
+ SENSITIVE = []
2467
+ include Aws::Structure
2468
+ end
2469
+
2470
+ # @!attribute [rw] resource_arn
2471
+ # The ARN of the resource whose tags should be returned.
2472
+ # @return [String]
2473
+ #
2474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListTagsForResourceRequest AWS API Documentation
2475
+ #
2476
+ class ListTagsForResourceRequest < Struct.new(
2477
+ :resource_arn)
2478
+ SENSITIVE = []
2479
+ include Aws::Structure
2480
+ end
2481
+
2482
+ # @!attribute [rw] tags
2483
+ # The tags of the requested resource.
2484
+ # @return [Hash<String,String>]
2485
+ #
2486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListTagsForResourceResponse AWS API Documentation
2487
+ #
2488
+ class ListTagsForResourceResponse < Struct.new(
2489
+ :tags)
2490
+ SENSITIVE = [:tags]
2491
+ include Aws::Structure
2492
+ end
2493
+
2494
+ # Network interface.
2495
+ #
2496
+ # @!attribute [rw] mac_address
2497
+ # The MAC address of the network interface.
2498
+ # @return [String]
2499
+ #
2500
+ # @!attribute [rw] ips
2501
+ # Network interface IPs.
2502
+ # @return [Array<String>]
2503
+ #
2504
+ # @!attribute [rw] is_primary
2505
+ # Whether this is the primary network interface.
2506
+ # @return [Boolean]
2507
+ #
2508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/NetworkInterface AWS API Documentation
2509
+ #
2510
+ class NetworkInterface < Struct.new(
2511
+ :mac_address,
2512
+ :ips,
2513
+ :is_primary)
2514
+ SENSITIVE = []
2515
+ include Aws::Structure
2516
+ end
2517
+
2518
+ # Operating System.
2519
+ #
2520
+ # @!attribute [rw] full_string
2521
+ # The long name of the Operating System.
2522
+ # @return [String]
2523
+ #
2524
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/OS AWS API Documentation
2525
+ #
2526
+ class OS < Struct.new(
2527
+ :full_string)
2038
2528
  SENSITIVE = []
2039
2529
  include Aws::Structure
2040
2530
  end
@@ -2689,6 +3179,433 @@ module Aws::Drs
2689
3179
  include Aws::Structure
2690
3180
  end
2691
3181
 
3182
+ # A Recovery Plan resource.
3183
+ #
3184
+ # @!attribute [rw] recovery_plan_arn
3185
+ # The ARN of the Recovery Plan.
3186
+ # @return [String]
3187
+ #
3188
+ # @!attribute [rw] name
3189
+ # The name of a Recovery Plan.
3190
+ # @return [String]
3191
+ #
3192
+ # @!attribute [rw] description
3193
+ # The description of a Recovery Plan.
3194
+ # @return [String]
3195
+ #
3196
+ # @!attribute [rw] status
3197
+ # The status of the Recovery Plan.
3198
+ # @return [String]
3199
+ #
3200
+ # @!attribute [rw] created_at
3201
+ # The timestamp when the Recovery Plan was created.
3202
+ # @return [String]
3203
+ #
3204
+ # @!attribute [rw] updated_at
3205
+ # The timestamp when the Recovery Plan was last updated.
3206
+ # @return [String]
3207
+ #
3208
+ # @!attribute [rw] tags
3209
+ # The tags associated with the Recovery Plan.
3210
+ # @return [Hash<String,String>]
3211
+ #
3212
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryPlan AWS API Documentation
3213
+ #
3214
+ class RecoveryPlan < Struct.new(
3215
+ :recovery_plan_arn,
3216
+ :name,
3217
+ :description,
3218
+ :status,
3219
+ :created_at,
3220
+ :updated_at,
3221
+ :tags)
3222
+ SENSITIVE = [:tags]
3223
+ include Aws::Structure
3224
+ end
3225
+
3226
+ # A Recovery Plan execution.
3227
+ #
3228
+ # @!attribute [rw] recovery_plan_execution_arn
3229
+ # The ARN of the Recovery Plan execution.
3230
+ # @return [String]
3231
+ #
3232
+ # @!attribute [rw] recovery_plan_arn
3233
+ # The ARN of the Recovery Plan being executed.
3234
+ # @return [String]
3235
+ #
3236
+ # @!attribute [rw] mode
3237
+ # The execution mode.
3238
+ # @return [String]
3239
+ #
3240
+ # @!attribute [rw] status
3241
+ # The execution status.
3242
+ # @return [String]
3243
+ #
3244
+ # @!attribute [rw] started_at
3245
+ # The timestamp when the execution started.
3246
+ # @return [String]
3247
+ #
3248
+ # @!attribute [rw] completed_at
3249
+ # The timestamp when the execution completed.
3250
+ # @return [String]
3251
+ #
3252
+ # @!attribute [rw] error_detail
3253
+ # Error details if the execution failed.
3254
+ # @return [Types::ErrorDetail]
3255
+ #
3256
+ # @!attribute [rw] tags
3257
+ # The tags associated with the Recovery Plan execution.
3258
+ # @return [Hash<String,String>]
3259
+ #
3260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryPlanExecution AWS API Documentation
3261
+ #
3262
+ class RecoveryPlanExecution < Struct.new(
3263
+ :recovery_plan_execution_arn,
3264
+ :recovery_plan_arn,
3265
+ :mode,
3266
+ :status,
3267
+ :started_at,
3268
+ :completed_at,
3269
+ :error_detail,
3270
+ :tags)
3271
+ SENSITIVE = [:tags]
3272
+ include Aws::Structure
3273
+ end
3274
+
3275
+ # A server within a recovery plan execution step, enriched with
3276
+ # execution state.
3277
+ #
3278
+ # @!attribute [rw] server_arn
3279
+ # The ARN of the source server.
3280
+ # @return [String]
3281
+ #
3282
+ # @!attribute [rw] impact_level
3283
+ # Defaults to CRITICAL if not specified.
3284
+ # @return [String]
3285
+ #
3286
+ # @!attribute [rw] job_id
3287
+ # The DRS recovery job ID. Populated when recovery is initiated for
3288
+ # this server.
3289
+ # @return [String]
3290
+ #
3291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryPlanExecutionServer AWS API Documentation
3292
+ #
3293
+ class RecoveryPlanExecutionServer < Struct.new(
3294
+ :server_arn,
3295
+ :impact_level,
3296
+ :job_id)
3297
+ SENSITIVE = []
3298
+ include Aws::Structure
3299
+ end
3300
+
3301
+ # A source server with a specific recovery snapshot for plan execution.
3302
+ #
3303
+ # @!attribute [rw] source_server_id
3304
+ # The ID of the source server.
3305
+ # @return [String]
3306
+ #
3307
+ # @!attribute [rw] recovery_snapshot_id
3308
+ # The ID of the recovery snapshot to use.
3309
+ # @return [String]
3310
+ #
3311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryPlanExecutionSourceServer AWS API Documentation
3312
+ #
3313
+ class RecoveryPlanExecutionSourceServer < Struct.new(
3314
+ :source_server_id,
3315
+ :recovery_snapshot_id)
3316
+ SENSITIVE = []
3317
+ include Aws::Structure
3318
+ end
3319
+
3320
+ # A Recovery Plan Execution Step resource.
3321
+ #
3322
+ # @!attribute [rw] recovery_plan_execution_step_arn
3323
+ # The ARN of the execution step.
3324
+ # @return [String]
3325
+ #
3326
+ # @!attribute [rw] step_index
3327
+ # The order of a step within a Recovery Plan (1-based).
3328
+ # @return [Integer]
3329
+ #
3330
+ # @!attribute [rw] status
3331
+ # The status of the execution step.
3332
+ # @return [String]
3333
+ #
3334
+ # @!attribute [rw] step_name
3335
+ # The name of a Recovery Plan Step.
3336
+ # @return [String]
3337
+ #
3338
+ # @!attribute [rw] configuration
3339
+ # Type-specific configuration for an execution step response. Mirrors
3340
+ # RecoveryPlanStepConfiguration but uses execution-enriched server
3341
+ # shapes.
3342
+ # @return [Types::RecoveryPlanExecutionStepConfiguration]
3343
+ #
3344
+ # @!attribute [rw] error_detail
3345
+ # Error details if the step failed.
3346
+ # @return [Types::ErrorDetail]
3347
+ #
3348
+ # @!attribute [rw] attempt
3349
+ # The number of times this step has been attempted.
3350
+ # @return [Integer]
3351
+ #
3352
+ # @!attribute [rw] created_at
3353
+ # The timestamp when the execution step was created.
3354
+ # @return [String]
3355
+ #
3356
+ # @!attribute [rw] updated_at
3357
+ # The timestamp when the execution step was last updated.
3358
+ # @return [String]
3359
+ #
3360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryPlanExecutionStep AWS API Documentation
3361
+ #
3362
+ class RecoveryPlanExecutionStep < Struct.new(
3363
+ :recovery_plan_execution_step_arn,
3364
+ :step_index,
3365
+ :status,
3366
+ :step_name,
3367
+ :configuration,
3368
+ :error_detail,
3369
+ :attempt,
3370
+ :created_at,
3371
+ :updated_at)
3372
+ SENSITIVE = []
3373
+ include Aws::Structure
3374
+ end
3375
+
3376
+ # Type-specific configuration for an execution step response. Mirrors
3377
+ # RecoveryPlanStepConfiguration but uses execution-enriched server
3378
+ # shapes.
3379
+ #
3380
+ # @note RecoveryPlanExecutionStepConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RecoveryPlanExecutionStepConfiguration corresponding to the set member.
3381
+ #
3382
+ # @!attribute [rw] execution_server_step_configuration
3383
+ # Configuration for a SERVER type step (with execution state like
3384
+ # jobID).
3385
+ # @return [Types::ExecutionServerStepConfiguration]
3386
+ #
3387
+ # @!attribute [rw] wait_step_configuration
3388
+ # Configuration for a WAIT type step.
3389
+ # @return [Types::WaitStepConfiguration]
3390
+ #
3391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryPlanExecutionStepConfiguration AWS API Documentation
3392
+ #
3393
+ class RecoveryPlanExecutionStepConfiguration < Struct.new(
3394
+ :execution_server_step_configuration,
3395
+ :wait_step_configuration,
3396
+ :unknown)
3397
+ SENSITIVE = []
3398
+ include Aws::Structure
3399
+ include Aws::Structure::Union
3400
+
3401
+ class ExecutionServerStepConfiguration < RecoveryPlanExecutionStepConfiguration; end
3402
+ class WaitStepConfiguration < RecoveryPlanExecutionStepConfiguration; end
3403
+ class Unknown < RecoveryPlanExecutionStepConfiguration; end
3404
+ end
3405
+
3406
+ # Summary information about a Recovery Plan execution step.
3407
+ #
3408
+ # @!attribute [rw] recovery_plan_execution_step_arn
3409
+ # The ARN of the execution step.
3410
+ # @return [String]
3411
+ #
3412
+ # @!attribute [rw] step_name
3413
+ # The name of a Recovery Plan Step.
3414
+ # @return [String]
3415
+ #
3416
+ # @!attribute [rw] step_index
3417
+ # The order of a step within a Recovery Plan (1-based).
3418
+ # @return [Integer]
3419
+ #
3420
+ # @!attribute [rw] status
3421
+ # The status of the execution step.
3422
+ # @return [String]
3423
+ #
3424
+ # @!attribute [rw] configuration
3425
+ # Type-specific configuration for an execution step response. Mirrors
3426
+ # RecoveryPlanStepConfiguration but uses execution-enriched server
3427
+ # shapes.
3428
+ # @return [Types::RecoveryPlanExecutionStepConfiguration]
3429
+ #
3430
+ # @!attribute [rw] error_detail
3431
+ # Error details if the step failed.
3432
+ # @return [Types::ErrorDetail]
3433
+ #
3434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryPlanExecutionStepSummary AWS API Documentation
3435
+ #
3436
+ class RecoveryPlanExecutionStepSummary < Struct.new(
3437
+ :recovery_plan_execution_step_arn,
3438
+ :step_name,
3439
+ :step_index,
3440
+ :status,
3441
+ :configuration,
3442
+ :error_detail)
3443
+ SENSITIVE = []
3444
+ include Aws::Structure
3445
+ end
3446
+
3447
+ # Summary information about a Recovery Plan execution.
3448
+ #
3449
+ # @!attribute [rw] recovery_plan_execution_arn
3450
+ # The ARN of the Recovery Plan execution.
3451
+ # @return [String]
3452
+ #
3453
+ # @!attribute [rw] recovery_plan_arn
3454
+ # The ARN of the Recovery Plan.
3455
+ # @return [String]
3456
+ #
3457
+ # @!attribute [rw] mode
3458
+ # The execution mode.
3459
+ # @return [String]
3460
+ #
3461
+ # @!attribute [rw] status
3462
+ # The execution status.
3463
+ # @return [String]
3464
+ #
3465
+ # @!attribute [rw] started_at
3466
+ # The timestamp when the execution started.
3467
+ # @return [String]
3468
+ #
3469
+ # @!attribute [rw] error_detail
3470
+ # Error details if the execution failed.
3471
+ # @return [Types::ErrorDetail]
3472
+ #
3473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryPlanExecutionSummary AWS API Documentation
3474
+ #
3475
+ class RecoveryPlanExecutionSummary < Struct.new(
3476
+ :recovery_plan_execution_arn,
3477
+ :recovery_plan_arn,
3478
+ :mode,
3479
+ :status,
3480
+ :started_at,
3481
+ :error_detail)
3482
+ SENSITIVE = []
3483
+ include Aws::Structure
3484
+ end
3485
+
3486
+ # A server associated with a Recovery Plan Step.
3487
+ #
3488
+ # @!attribute [rw] server_arn
3489
+ # The ARN of the source server.
3490
+ # @return [String]
3491
+ #
3492
+ # @!attribute [rw] impact_level
3493
+ # Defaults to CRITICAL if not specified.
3494
+ # @return [String]
3495
+ #
3496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryPlanServer AWS API Documentation
3497
+ #
3498
+ class RecoveryPlanServer < Struct.new(
3499
+ :server_arn,
3500
+ :impact_level)
3501
+ SENSITIVE = []
3502
+ include Aws::Structure
3503
+ end
3504
+
3505
+ # A Recovery Plan Step resource.
3506
+ #
3507
+ # @!attribute [rw] recovery_plan_step_arn
3508
+ # The ARN of the Recovery Plan step.
3509
+ # @return [String]
3510
+ #
3511
+ # @!attribute [rw] step_order
3512
+ # The order of a step within a Recovery Plan (1-based).
3513
+ # @return [Integer]
3514
+ #
3515
+ # @!attribute [rw] step_name
3516
+ # The name of a Recovery Plan Step.
3517
+ # @return [String]
3518
+ #
3519
+ # @!attribute [rw] configuration
3520
+ # Type-specific configuration for a recovery plan step. Exactly one
3521
+ # member must be set.
3522
+ # @return [Types::RecoveryPlanStepConfiguration]
3523
+ #
3524
+ # @!attribute [rw] created_at
3525
+ # The timestamp when the step was created.
3526
+ # @return [String]
3527
+ #
3528
+ # @!attribute [rw] updated_at
3529
+ # The timestamp when the step was last updated.
3530
+ # @return [String]
3531
+ #
3532
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryPlanStep AWS API Documentation
3533
+ #
3534
+ class RecoveryPlanStep < Struct.new(
3535
+ :recovery_plan_step_arn,
3536
+ :step_order,
3537
+ :step_name,
3538
+ :configuration,
3539
+ :created_at,
3540
+ :updated_at)
3541
+ SENSITIVE = []
3542
+ include Aws::Structure
3543
+ end
3544
+
3545
+ # Type-specific configuration for a recovery plan step. Exactly one
3546
+ # member must be set.
3547
+ #
3548
+ # @note RecoveryPlanStepConfiguration is a union - when making an API calls you must set exactly one of the members.
3549
+ #
3550
+ # @note RecoveryPlanStepConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RecoveryPlanStepConfiguration corresponding to the set member.
3551
+ #
3552
+ # @!attribute [rw] server_step_configuration
3553
+ # Configuration for a SERVER type step.
3554
+ # @return [Types::ServerStepConfiguration]
3555
+ #
3556
+ # @!attribute [rw] wait_step_configuration
3557
+ # Configuration for a WAIT type step.
3558
+ # @return [Types::WaitStepConfiguration]
3559
+ #
3560
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryPlanStepConfiguration AWS API Documentation
3561
+ #
3562
+ class RecoveryPlanStepConfiguration < Struct.new(
3563
+ :server_step_configuration,
3564
+ :wait_step_configuration,
3565
+ :unknown)
3566
+ SENSITIVE = []
3567
+ include Aws::Structure
3568
+ include Aws::Structure::Union
3569
+
3570
+ class ServerStepConfiguration < RecoveryPlanStepConfiguration; end
3571
+ class WaitStepConfiguration < RecoveryPlanStepConfiguration; end
3572
+ class Unknown < RecoveryPlanStepConfiguration; end
3573
+ end
3574
+
3575
+ # Summary information about a Recovery Plan.
3576
+ #
3577
+ # @!attribute [rw] recovery_plan_arn
3578
+ # The ARN of the Recovery Plan.
3579
+ # @return [String]
3580
+ #
3581
+ # @!attribute [rw] name
3582
+ # The name of a Recovery Plan.
3583
+ # @return [String]
3584
+ #
3585
+ # @!attribute [rw] status
3586
+ # The status of the Recovery Plan.
3587
+ # @return [String]
3588
+ #
3589
+ # @!attribute [rw] created_at
3590
+ # The timestamp when the Recovery Plan was created.
3591
+ # @return [String]
3592
+ #
3593
+ # @!attribute [rw] updated_at
3594
+ # The timestamp when the Recovery Plan was last updated.
3595
+ # @return [String]
3596
+ #
3597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RecoveryPlanSummary AWS API Documentation
3598
+ #
3599
+ class RecoveryPlanSummary < Struct.new(
3600
+ :recovery_plan_arn,
3601
+ :name,
3602
+ :status,
3603
+ :created_at,
3604
+ :updated_at)
3605
+ SENSITIVE = []
3606
+ include Aws::Structure
3607
+ end
3608
+
2692
3609
  # A snapshot of a Source Server used during recovery.
2693
3610
  #
2694
3611
  # @!attribute [rw] snapshot_id
@@ -2723,6 +3640,35 @@ module Aws::Drs
2723
3640
  include Aws::Structure
2724
3641
  end
2725
3642
 
3643
+ # @!attribute [rw] recovery_plan_arn
3644
+ # The ARN of the Recovery Plan.
3645
+ # @return [String]
3646
+ #
3647
+ # @!attribute [rw] ordered_step_arns
3648
+ # Ordered list of all step ARNs representing the desired sequence.
3649
+ # @return [Array<String>]
3650
+ #
3651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ReorderRecoveryPlanStepsRequest AWS API Documentation
3652
+ #
3653
+ class ReorderRecoveryPlanStepsRequest < Struct.new(
3654
+ :recovery_plan_arn,
3655
+ :ordered_step_arns)
3656
+ SENSITIVE = []
3657
+ include Aws::Structure
3658
+ end
3659
+
3660
+ # @!attribute [rw] recovery_plan_steps
3661
+ # The steps with updated order.
3662
+ # @return [Array<Types::RecoveryPlanStep>]
3663
+ #
3664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ReorderRecoveryPlanStepsResponse AWS API Documentation
3665
+ #
3666
+ class ReorderRecoveryPlanStepsResponse < Struct.new(
3667
+ :recovery_plan_steps)
3668
+ SENSITIVE = []
3669
+ include Aws::Structure
3670
+ end
3671
+
2726
3672
  # @!attribute [rw] source_server_id
2727
3673
  # The ID of the Source Server for this Replication Configuration.
2728
3674
  # @return [String]
@@ -3016,6 +3962,30 @@ module Aws::Drs
3016
3962
  include Aws::Structure
3017
3963
  end
3018
3964
 
3965
+ # @!attribute [rw] recovery_plan_execution_step_arn
3966
+ # The ARN of the execution step to retry.
3967
+ # @return [String]
3968
+ #
3969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RetryRecoveryPlanExecutionStepRequest AWS API Documentation
3970
+ #
3971
+ class RetryRecoveryPlanExecutionStepRequest < Struct.new(
3972
+ :recovery_plan_execution_step_arn)
3973
+ SENSITIVE = []
3974
+ include Aws::Structure
3975
+ end
3976
+
3977
+ # @!attribute [rw] recovery_plan_execution_step
3978
+ # A Recovery Plan Execution Step resource.
3979
+ # @return [Types::RecoveryPlanExecutionStep]
3980
+ #
3981
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RetryRecoveryPlanExecutionStepResponse AWS API Documentation
3982
+ #
3983
+ class RetryRecoveryPlanExecutionStepResponse < Struct.new(
3984
+ :recovery_plan_execution_step)
3985
+ SENSITIVE = []
3986
+ include Aws::Structure
3987
+ end
3988
+
3019
3989
  # @!attribute [rw] recovery_instance_id
3020
3990
  # The ID of the Recovery Instance that we want to reverse the
3021
3991
  # replication for.
@@ -3041,6 +4011,20 @@ module Aws::Drs
3041
4011
  include Aws::Structure
3042
4012
  end
3043
4013
 
4014
+ # Configuration for a `SERVER` type step.
4015
+ #
4016
+ # @!attribute [rw] servers
4017
+ # The list of servers to recover in this step.
4018
+ # @return [Array<Types::RecoveryPlanServer>]
4019
+ #
4020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ServerStepConfiguration AWS API Documentation
4021
+ #
4022
+ class ServerStepConfiguration < Struct.new(
4023
+ :servers)
4024
+ SENSITIVE = []
4025
+ include Aws::Structure
4026
+ end
4027
+
3044
4028
  # The request could not be completed because its exceeded the service
3045
4029
  # quota.
3046
4030
  #
@@ -3440,6 +4424,54 @@ module Aws::Drs
3440
4424
  include Aws::Structure
3441
4425
  end
3442
4426
 
4427
+ # @!attribute [rw] recovery_plan_arn
4428
+ # The ARN of the Recovery Plan to execute.
4429
+ # @return [String]
4430
+ #
4431
+ # @!attribute [rw] mode
4432
+ # The execution mode (`DRILL` or `RECOVERY`).
4433
+ # @return [String]
4434
+ #
4435
+ # @!attribute [rw] client_token
4436
+ # A unique string provided to ensure request idempotency.
4437
+ #
4438
+ # **A suitable default value is auto-generated.** You should normally
4439
+ # not need to pass this option.
4440
+ # @return [String]
4441
+ #
4442
+ # @!attribute [rw] source_servers
4443
+ # Optional list of source servers with specific recovery snapshots. If
4444
+ # not provided, the latest snapshot is used for each server.
4445
+ # @return [Array<Types::RecoveryPlanExecutionSourceServer>]
4446
+ #
4447
+ # @!attribute [rw] tags
4448
+ # The tags to apply to the Recovery Plan execution.
4449
+ # @return [Hash<String,String>]
4450
+ #
4451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartRecoveryPlanExecutionRequest AWS API Documentation
4452
+ #
4453
+ class StartRecoveryPlanExecutionRequest < Struct.new(
4454
+ :recovery_plan_arn,
4455
+ :mode,
4456
+ :client_token,
4457
+ :source_servers,
4458
+ :tags)
4459
+ SENSITIVE = [:tags]
4460
+ include Aws::Structure
4461
+ end
4462
+
4463
+ # @!attribute [rw] recovery_plan_execution
4464
+ # The started Recovery Plan execution.
4465
+ # @return [Types::RecoveryPlanExecution]
4466
+ #
4467
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartRecoveryPlanExecutionResponse AWS API Documentation
4468
+ #
4469
+ class StartRecoveryPlanExecutionResponse < Struct.new(
4470
+ :recovery_plan_execution)
4471
+ SENSITIVE = []
4472
+ include Aws::Structure
4473
+ end
4474
+
3443
4475
  # @!attribute [rw] source_servers
3444
4476
  # The Source Servers that we want to start a Recovery Job for.
3445
4477
  # @return [Array<Types::StartRecoveryRequestSourceServer>]
@@ -3931,6 +4963,117 @@ module Aws::Drs
3931
4963
  include Aws::Structure
3932
4964
  end
3933
4965
 
4966
+ # @!attribute [rw] recovery_plan_execution_step_arn
4967
+ # The ARN of the execution step to update.
4968
+ # @return [String]
4969
+ #
4970
+ # @!attribute [rw] status
4971
+ # Only SKIPPED is accepted. Step must be in NOT\_STARTED or FAILED
4972
+ # status.
4973
+ # @return [String]
4974
+ #
4975
+ # @!attribute [rw] servers
4976
+ # Full replacement of the server list. Only allowed when the step is
4977
+ # in NOT\_STARTED status (Server type steps only).
4978
+ # @return [Array<Types::RecoveryPlanServer>]
4979
+ #
4980
+ # @!attribute [rw] wait_duration_minutes
4981
+ # Updated wait duration. Only allowed when the step is in NOT\_STARTED
4982
+ # status (Wait type steps only).
4983
+ # @return [Integer]
4984
+ #
4985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateRecoveryPlanExecutionStepRequest AWS API Documentation
4986
+ #
4987
+ class UpdateRecoveryPlanExecutionStepRequest < Struct.new(
4988
+ :recovery_plan_execution_step_arn,
4989
+ :status,
4990
+ :servers,
4991
+ :wait_duration_minutes)
4992
+ SENSITIVE = []
4993
+ include Aws::Structure
4994
+ end
4995
+
4996
+ # @!attribute [rw] recovery_plan_execution_step
4997
+ # A Recovery Plan Execution Step resource.
4998
+ # @return [Types::RecoveryPlanExecutionStep]
4999
+ #
5000
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateRecoveryPlanExecutionStepResponse AWS API Documentation
5001
+ #
5002
+ class UpdateRecoveryPlanExecutionStepResponse < Struct.new(
5003
+ :recovery_plan_execution_step)
5004
+ SENSITIVE = []
5005
+ include Aws::Structure
5006
+ end
5007
+
5008
+ # @!attribute [rw] recovery_plan_arn
5009
+ # The ARN of the Recovery Plan to update.
5010
+ # @return [String]
5011
+ #
5012
+ # @!attribute [rw] name
5013
+ # The name of a Recovery Plan.
5014
+ # @return [String]
5015
+ #
5016
+ # @!attribute [rw] description
5017
+ # The description of a Recovery Plan.
5018
+ # @return [String]
5019
+ #
5020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateRecoveryPlanRequest AWS API Documentation
5021
+ #
5022
+ class UpdateRecoveryPlanRequest < Struct.new(
5023
+ :recovery_plan_arn,
5024
+ :name,
5025
+ :description)
5026
+ SENSITIVE = []
5027
+ include Aws::Structure
5028
+ end
5029
+
5030
+ # @!attribute [rw] recovery_plan
5031
+ # A Recovery Plan resource.
5032
+ # @return [Types::RecoveryPlan]
5033
+ #
5034
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateRecoveryPlanResponse AWS API Documentation
5035
+ #
5036
+ class UpdateRecoveryPlanResponse < Struct.new(
5037
+ :recovery_plan)
5038
+ SENSITIVE = []
5039
+ include Aws::Structure
5040
+ end
5041
+
5042
+ # @!attribute [rw] recovery_plan_step_arn
5043
+ # The ARN of the Recovery Plan step to update.
5044
+ # @return [String]
5045
+ #
5046
+ # @!attribute [rw] step_name
5047
+ # The name of a Recovery Plan Step.
5048
+ # @return [String]
5049
+ #
5050
+ # @!attribute [rw] configuration
5051
+ # Type-specific configuration for a recovery plan step. Exactly one
5052
+ # member must be set.
5053
+ # @return [Types::RecoveryPlanStepConfiguration]
5054
+ #
5055
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateRecoveryPlanStepRequest AWS API Documentation
5056
+ #
5057
+ class UpdateRecoveryPlanStepRequest < Struct.new(
5058
+ :recovery_plan_step_arn,
5059
+ :step_name,
5060
+ :configuration)
5061
+ SENSITIVE = []
5062
+ include Aws::Structure
5063
+ end
5064
+
5065
+ # @!attribute [rw] recovery_plan_step
5066
+ # A Recovery Plan Step resource.
5067
+ # @return [Types::RecoveryPlanStep]
5068
+ #
5069
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateRecoveryPlanStepResponse AWS API Documentation
5070
+ #
5071
+ class UpdateRecoveryPlanStepResponse < Struct.new(
5072
+ :recovery_plan_step)
5073
+ SENSITIVE = []
5074
+ include Aws::Structure
5075
+ end
5076
+
3934
5077
  # @!attribute [rw] source_server_id
3935
5078
  # The ID of the Source Server for this Replication Configuration.
3936
5079
  # @return [String]
@@ -4184,6 +5327,20 @@ module Aws::Drs
4184
5327
  include Aws::Structure
4185
5328
  end
4186
5329
 
5330
+ # Configuration for a `WAIT` type step.
5331
+ #
5332
+ # @!attribute [rw] wait_duration_minutes
5333
+ # The wait duration in minutes for a Wait type step.
5334
+ # @return [Integer]
5335
+ #
5336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/WaitStepConfiguration AWS API Documentation
5337
+ #
5338
+ class WaitStepConfiguration < Struct.new(
5339
+ :wait_duration_minutes)
5340
+ SENSITIVE = []
5341
+ include Aws::Structure
5342
+ end
5343
+
4187
5344
  end
4188
5345
  end
4189
5346