aws-sdk-resiliencehub 1.4.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@ module Aws::ResilienceHub
34
34
  # {
35
35
  # app_registry_app_name: "EntityName",
36
36
  # logical_stack_name: "String255",
37
- # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup
37
+ # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform
38
38
  # physical_resource_id: { # required
39
39
  # aws_account_id: "CustomerId",
40
40
  # aws_region: "AwsRegion",
@@ -43,6 +43,7 @@ module Aws::ResilienceHub
43
43
  # },
44
44
  # resource_group_name: "EntityName",
45
45
  # resource_name: "EntityName",
46
+ # terraform_source_name: "String255",
46
47
  # },
47
48
  # ],
48
49
  # }
@@ -50,9 +51,9 @@ module Aws::ResilienceHub
50
51
  # @!attribute [rw] app_arn
51
52
  # The Amazon Resource Name (ARN) of the application. The format for
52
53
  # this ARN is:
53
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
54
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
55
- # the *AWS General Reference*.
54
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
55
+ # For more information about ARNs, see [ Amazon Resource Names
56
+ # (ARNs)][1] in the *AWS General Reference*.
56
57
  #
57
58
  #
58
59
  #
@@ -80,9 +81,9 @@ module Aws::ResilienceHub
80
81
  # @!attribute [rw] app_arn
81
82
  # The Amazon Resource Name (ARN) of the application. The format for
82
83
  # this ARN is:
83
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
84
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
85
- # the *AWS General Reference*.
84
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
85
+ # For more information about ARNs, see [ Amazon Resource Names
86
+ # (ARNs)][1] in the *AWS General Reference*.
86
87
  #
87
88
  #
88
89
  #
@@ -166,15 +167,19 @@ module Aws::ResilienceHub
166
167
  # @!attribute [rw] app_arn
167
168
  # The Amazon Resource Name (ARN) of the application. The format for
168
169
  # this ARN is:
169
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
170
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
171
- # the *AWS General Reference*.
170
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
171
+ # For more information about ARNs, see [ Amazon Resource Names
172
+ # (ARNs)][1] in the *AWS General Reference*.
172
173
  #
173
174
  #
174
175
  #
175
176
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
176
177
  # @return [String]
177
178
  #
179
+ # @!attribute [rw] assessment_schedule
180
+ # Assessment execution schedule with 'Daily' or 'Disabled' values.
181
+ # @return [String]
182
+ #
178
183
  # @!attribute [rw] compliance_status
179
184
  # The current status of compliance for the resiliency policy.
180
185
  # @return [String]
@@ -202,7 +207,7 @@ module Aws::ResilienceHub
202
207
  # @!attribute [rw] policy_arn
203
208
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
204
209
  # for this ARN is:
205
- # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
210
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
206
211
  # For more information about ARNs, see [ Amazon Resource Names
207
212
  # (ARNs)][1] in the *AWS General Reference*.
208
213
  #
@@ -229,6 +234,7 @@ module Aws::ResilienceHub
229
234
  #
230
235
  class App < Struct.new(
231
236
  :app_arn,
237
+ :assessment_schedule,
232
238
  :compliance_status,
233
239
  :creation_time,
234
240
  :description,
@@ -248,9 +254,9 @@ module Aws::ResilienceHub
248
254
  # @!attribute [rw] app_arn
249
255
  # The Amazon Resource Name (ARN) of the application. The format for
250
256
  # this ARN is:
251
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
252
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
253
- # the *AWS General Reference*.
257
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
258
+ # For more information about ARNs, see [ Amazon Resource Names
259
+ # (ARNs)][1] in the *AWS General Reference*.
254
260
  #
255
261
  #
256
262
  #
@@ -264,7 +270,7 @@ module Aws::ResilienceHub
264
270
  # @!attribute [rw] assessment_arn
265
271
  # The Amazon Resource Name (ARN) of the assessment. The format for
266
272
  # this ARN is:
267
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
273
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
268
274
  # For more information about ARNs, see [ Amazon Resource Names
269
275
  # (ARNs)][1] in the *AWS General Reference*.
270
276
  #
@@ -313,6 +319,11 @@ module Aws::ResilienceHub
313
319
  # The current resiliency score for the application.
314
320
  # @return [Types::ResiliencyScore]
315
321
  #
322
+ # @!attribute [rw] resource_errors_details
323
+ # A resource error object containing a list of errors retrieving an
324
+ # application's resources.
325
+ # @return [Types::ResourceErrorsDetails]
326
+ #
316
327
  # @!attribute [rw] start_time
317
328
  # The starting time for the action.
318
329
  # @return [Time]
@@ -339,6 +350,7 @@ module Aws::ResilienceHub
339
350
  :message,
340
351
  :policy,
341
352
  :resiliency_score,
353
+ :resource_errors_details,
342
354
  :start_time,
343
355
  :tags)
344
356
  SENSITIVE = [:tags]
@@ -350,9 +362,9 @@ module Aws::ResilienceHub
350
362
  # @!attribute [rw] app_arn
351
363
  # The Amazon Resource Name (ARN) of the application. The format for
352
364
  # this ARN is:
353
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
354
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
355
- # the *AWS General Reference*.
365
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
366
+ # For more information about ARNs, see [ Amazon Resource Names
367
+ # (ARNs)][1] in the *AWS General Reference*.
356
368
  #
357
369
  #
358
370
  #
@@ -366,7 +378,7 @@ module Aws::ResilienceHub
366
378
  # @!attribute [rw] assessment_arn
367
379
  # The Amazon Resource Name (ARN) of the assessment. The format for
368
380
  # this ARN is:
369
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
381
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
370
382
  # For more information about ARNs, see [ Amazon Resource Names
371
383
  # (ARNs)][1] in the *AWS General Reference*.
372
384
  #
@@ -495,15 +507,19 @@ module Aws::ResilienceHub
495
507
  # @!attribute [rw] app_arn
496
508
  # The Amazon Resource Name (ARN) of the application. The format for
497
509
  # this ARN is:
498
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
499
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
500
- # the *AWS General Reference*.
510
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
511
+ # For more information about ARNs, see [ Amazon Resource Names
512
+ # (ARNs)][1] in the *AWS General Reference*.
501
513
  #
502
514
  #
503
515
  #
504
516
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
505
517
  # @return [String]
506
518
  #
519
+ # @!attribute [rw] assessment_schedule
520
+ # Assessment execution schedule with 'Daily' or 'Disabled' values.
521
+ # @return [String]
522
+ #
507
523
  # @!attribute [rw] compliance_status
508
524
  # The current status of compliance for the resiliency policy.
509
525
  # @return [String]
@@ -528,6 +544,7 @@ module Aws::ResilienceHub
528
544
  #
529
545
  class AppSummary < Struct.new(
530
546
  :app_arn,
547
+ :assessment_schedule,
531
548
  :compliance_status,
532
549
  :creation_time,
533
550
  :description,
@@ -693,6 +710,7 @@ module Aws::ResilienceHub
693
710
  # data as a hash:
694
711
  #
695
712
  # {
713
+ # assessment_schedule: "Disabled", # accepts Disabled, Daily
696
714
  # client_token: "ClientToken",
697
715
  # description: "EntityDescription",
698
716
  # name: "EntityName", # required
@@ -702,6 +720,10 @@ module Aws::ResilienceHub
702
720
  # },
703
721
  # }
704
722
  #
723
+ # @!attribute [rw] assessment_schedule
724
+ # Assessment execution schedule with 'Daily' or 'Disabled' values.
725
+ # @return [String]
726
+ #
705
727
  # @!attribute [rw] client_token
706
728
  # Used for an idempotency token. A client token is a unique,
707
729
  # case-sensitive string of up to 64 ASCII characters. You should not
@@ -722,7 +744,7 @@ module Aws::ResilienceHub
722
744
  # @!attribute [rw] policy_arn
723
745
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
724
746
  # for this ARN is:
725
- # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
747
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
726
748
  # For more information about ARNs, see [ Amazon Resource Names
727
749
  # (ARNs)][1] in the *AWS General Reference*.
728
750
  #
@@ -740,6 +762,7 @@ module Aws::ResilienceHub
740
762
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppRequest AWS API Documentation
741
763
  #
742
764
  class CreateAppRequest < Struct.new(
765
+ :assessment_schedule,
743
766
  :client_token,
744
767
  :description,
745
768
  :name,
@@ -782,7 +805,7 @@ module Aws::ResilienceHub
782
805
  # @!attribute [rw] assessment_arn
783
806
  # The Amazon Resource Name (ARN) of the assessment. The format for
784
807
  # this ARN is:
785
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
808
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
786
809
  # For more information about ARNs, see [ Amazon Resource Names
787
810
  # (ARNs)][1] in the *AWS General Reference*.
788
811
  #
@@ -975,7 +998,7 @@ module Aws::ResilienceHub
975
998
  # @!attribute [rw] assessment_arn
976
999
  # The Amazon Resource Name (ARN) of the assessment. The format for
977
1000
  # this ARN is:
978
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
1001
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
979
1002
  # For more information about ARNs, see [ Amazon Resource Names
980
1003
  # (ARNs)][1] in the *AWS General Reference*.
981
1004
  #
@@ -1005,7 +1028,7 @@ module Aws::ResilienceHub
1005
1028
  # @!attribute [rw] assessment_arn
1006
1029
  # The Amazon Resource Name (ARN) of the assessment. The format for
1007
1030
  # this ARN is:
1008
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
1031
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
1009
1032
  # For more information about ARNs, see [ Amazon Resource Names
1010
1033
  # (ARNs)][1] in the *AWS General Reference*.
1011
1034
  #
@@ -1039,9 +1062,9 @@ module Aws::ResilienceHub
1039
1062
  # @!attribute [rw] app_arn
1040
1063
  # The Amazon Resource Name (ARN) of the application. The format for
1041
1064
  # this ARN is:
1042
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
1043
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1044
- # the *AWS General Reference*.
1065
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
1066
+ # For more information about ARNs, see [ Amazon Resource Names
1067
+ # (ARNs)][1] in the *AWS General Reference*.
1045
1068
  #
1046
1069
  #
1047
1070
  #
@@ -1075,9 +1098,9 @@ module Aws::ResilienceHub
1075
1098
  # @!attribute [rw] app_arn
1076
1099
  # The Amazon Resource Name (ARN) of the application. The format for
1077
1100
  # this ARN is:
1078
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
1079
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1080
- # the *AWS General Reference*.
1101
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
1102
+ # For more information about ARNs, see [ Amazon Resource Names
1103
+ # (ARNs)][1] in the *AWS General Reference*.
1081
1104
  #
1082
1105
  #
1083
1106
  #
@@ -1159,7 +1182,7 @@ module Aws::ResilienceHub
1159
1182
  # @!attribute [rw] policy_arn
1160
1183
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
1161
1184
  # for this ARN is:
1162
- # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
1185
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
1163
1186
  # For more information about ARNs, see [ Amazon Resource Names
1164
1187
  # (ARNs)][1] in the *AWS General Reference*.
1165
1188
  #
@@ -1180,7 +1203,7 @@ module Aws::ResilienceHub
1180
1203
  # @!attribute [rw] policy_arn
1181
1204
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
1182
1205
  # for this ARN is:
1183
- # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
1206
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
1184
1207
  # For more information about ARNs, see [ Amazon Resource Names
1185
1208
  # (ARNs)][1] in the *AWS General Reference*.
1186
1209
  #
@@ -1207,7 +1230,7 @@ module Aws::ResilienceHub
1207
1230
  # @!attribute [rw] assessment_arn
1208
1231
  # The Amazon Resource Name (ARN) of the assessment. The format for
1209
1232
  # this ARN is:
1210
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
1233
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
1211
1234
  # For more information about ARNs, see [ Amazon Resource Names
1212
1235
  # (ARNs)][1] in the *AWS General Reference*.
1213
1236
  #
@@ -1249,9 +1272,9 @@ module Aws::ResilienceHub
1249
1272
  # @!attribute [rw] app_arn
1250
1273
  # The Amazon Resource Name (ARN) of the application. The format for
1251
1274
  # this ARN is:
1252
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
1253
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1254
- # the *AWS General Reference*.
1275
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
1276
+ # For more information about ARNs, see [ Amazon Resource Names
1277
+ # (ARNs)][1] in the *AWS General Reference*.
1255
1278
  #
1256
1279
  #
1257
1280
  #
@@ -1292,9 +1315,9 @@ module Aws::ResilienceHub
1292
1315
  # @!attribute [rw] app_arn
1293
1316
  # The Amazon Resource Name (ARN) of the application. The format for
1294
1317
  # this ARN is:
1295
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
1296
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1297
- # the *AWS General Reference*.
1318
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
1319
+ # For more information about ARNs, see [ Amazon Resource Names
1320
+ # (ARNs)][1] in the *AWS General Reference*.
1298
1321
  #
1299
1322
  #
1300
1323
  #
@@ -1322,9 +1345,9 @@ module Aws::ResilienceHub
1322
1345
  # @!attribute [rw] app_arn
1323
1346
  # The Amazon Resource Name (ARN) of the application. The format for
1324
1347
  # this ARN is:
1325
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
1326
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1327
- # the *AWS General Reference*.
1348
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
1349
+ # For more information about ARNs, see [ Amazon Resource Names
1350
+ # (ARNs)][1] in the *AWS General Reference*.
1328
1351
  #
1329
1352
  #
1330
1353
  #
@@ -1370,9 +1393,9 @@ module Aws::ResilienceHub
1370
1393
  # @!attribute [rw] app_arn
1371
1394
  # The Amazon Resource Name (ARN) of the application. The format for
1372
1395
  # this ARN is:
1373
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
1374
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1375
- # the *AWS General Reference*.
1396
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
1397
+ # For more information about ARNs, see [ Amazon Resource Names
1398
+ # (ARNs)][1] in the *AWS General Reference*.
1376
1399
  #
1377
1400
  #
1378
1401
  #
@@ -1395,9 +1418,9 @@ module Aws::ResilienceHub
1395
1418
  # @!attribute [rw] app_arn
1396
1419
  # The Amazon Resource Name (ARN) of the application. The format for
1397
1420
  # this ARN is:
1398
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
1399
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1400
- # the *AWS General Reference*.
1421
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
1422
+ # For more information about ARNs, see [ Amazon Resource Names
1423
+ # (ARNs)][1] in the *AWS General Reference*.
1401
1424
  #
1402
1425
  #
1403
1426
  #
@@ -1432,9 +1455,9 @@ module Aws::ResilienceHub
1432
1455
  # @!attribute [rw] app_arn
1433
1456
  # The Amazon Resource Name (ARN) of the application. The format for
1434
1457
  # this ARN is:
1435
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
1436
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1437
- # the *AWS General Reference*.
1458
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
1459
+ # For more information about ARNs, see [ Amazon Resource Names
1460
+ # (ARNs)][1] in the *AWS General Reference*.
1438
1461
  #
1439
1462
  #
1440
1463
  #
@@ -1452,9 +1475,9 @@ module Aws::ResilienceHub
1452
1475
  # @!attribute [rw] app_arn
1453
1476
  # The Amazon Resource Name (ARN) of the application. The format for
1454
1477
  # this ARN is:
1455
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
1456
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1457
- # the *AWS General Reference*.
1478
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
1479
+ # For more information about ARNs, see [ Amazon Resource Names
1480
+ # (ARNs)][1] in the *AWS General Reference*.
1458
1481
  #
1459
1482
  #
1460
1483
  #
@@ -1499,7 +1522,7 @@ module Aws::ResilienceHub
1499
1522
  # @!attribute [rw] policy_arn
1500
1523
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
1501
1524
  # for this ARN is:
1502
- # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
1525
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
1503
1526
  # For more information about ARNs, see [ Amazon Resource Names
1504
1527
  # (ARNs)][1] in the *AWS General Reference*.
1505
1528
  #
@@ -1623,15 +1646,20 @@ module Aws::ResilienceHub
1623
1646
  #
1624
1647
  # {
1625
1648
  # app_arn: "Arn", # required
1626
- # source_arns: ["Arn"], # required
1649
+ # source_arns: ["Arn"],
1650
+ # terraform_sources: [
1651
+ # {
1652
+ # s3_state_file_url: "S3Url", # required
1653
+ # },
1654
+ # ],
1627
1655
  # }
1628
1656
  #
1629
1657
  # @!attribute [rw] app_arn
1630
1658
  # The Amazon Resource Name (ARN) of the application. The format for
1631
1659
  # this ARN is:
1632
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
1633
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1634
- # the *AWS General Reference*.
1660
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
1661
+ # For more information about ARNs, see [ Amazon Resource Names
1662
+ # (ARNs)][1] in the *AWS General Reference*.
1635
1663
  #
1636
1664
  #
1637
1665
  #
@@ -1643,11 +1671,16 @@ module Aws::ResilienceHub
1643
1671
  # import.
1644
1672
  # @return [Array<String>]
1645
1673
  #
1674
+ # @!attribute [rw] terraform_sources
1675
+ # A list of terraform file s3 URLs you need to import.
1676
+ # @return [Array<Types::TerraformSource>]
1677
+ #
1646
1678
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersionRequest AWS API Documentation
1647
1679
  #
1648
1680
  class ImportResourcesToDraftAppVersionRequest < Struct.new(
1649
1681
  :app_arn,
1650
- :source_arns)
1682
+ :source_arns,
1683
+ :terraform_sources)
1651
1684
  SENSITIVE = []
1652
1685
  include Aws::Structure
1653
1686
  end
@@ -1655,9 +1688,9 @@ module Aws::ResilienceHub
1655
1688
  # @!attribute [rw] app_arn
1656
1689
  # The Amazon Resource Name (ARN) of the application. The format for
1657
1690
  # this ARN is:
1658
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
1659
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1660
- # the *AWS General Reference*.
1691
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
1692
+ # For more information about ARNs, see [ Amazon Resource Names
1693
+ # (ARNs)][1] in the *AWS General Reference*.
1661
1694
  #
1662
1695
  #
1663
1696
  #
@@ -1677,13 +1710,18 @@ module Aws::ResilienceHub
1677
1710
  # The status of the action.
1678
1711
  # @return [String]
1679
1712
  #
1713
+ # @!attribute [rw] terraform_sources
1714
+ # A list of terraform file s3 URLs you need to import.
1715
+ # @return [Array<Types::TerraformSource>]
1716
+ #
1680
1717
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersionResponse AWS API Documentation
1681
1718
  #
1682
1719
  class ImportResourcesToDraftAppVersionResponse < Struct.new(
1683
1720
  :app_arn,
1684
1721
  :app_version,
1685
1722
  :source_arns,
1686
- :status)
1723
+ :status,
1724
+ :terraform_sources)
1687
1725
  SENSITIVE = []
1688
1726
  include Aws::Structure
1689
1727
  end
@@ -1714,7 +1752,7 @@ module Aws::ResilienceHub
1714
1752
  # @!attribute [rw] assessment_arn
1715
1753
  # The Amazon Resource Name (ARN) of the assessment. The format for
1716
1754
  # this ARN is:
1717
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
1755
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
1718
1756
  # For more information about ARNs, see [ Amazon Resource Names
1719
1757
  # (ARNs)][1] in the *AWS General Reference*.
1720
1758
  #
@@ -1783,9 +1821,9 @@ module Aws::ResilienceHub
1783
1821
  # @!attribute [rw] app_arn
1784
1822
  # The Amazon Resource Name (ARN) of the application. The format for
1785
1823
  # this ARN is:
1786
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
1787
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1788
- # the *AWS General Reference*.
1824
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
1825
+ # For more information about ARNs, see [ Amazon Resource Names
1826
+ # (ARNs)][1] in the *AWS General Reference*.
1789
1827
  #
1790
1828
  #
1791
1829
  #
@@ -1874,7 +1912,7 @@ module Aws::ResilienceHub
1874
1912
  # @!attribute [rw] assessment_arn
1875
1913
  # The Amazon Resource Name (ARN) of the assessment. The format for
1876
1914
  # this ARN is:
1877
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
1915
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
1878
1916
  # For more information about ARNs, see [ Amazon Resource Names
1879
1917
  # (ARNs)][1] in the *AWS General Reference*.
1880
1918
  #
@@ -1937,7 +1975,7 @@ module Aws::ResilienceHub
1937
1975
  # @!attribute [rw] assessment_arn
1938
1976
  # The Amazon Resource Name (ARN) of the assessment. The format for
1939
1977
  # this ARN is:
1940
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
1978
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
1941
1979
  # For more information about ARNs, see [ Amazon Resource Names
1942
1980
  # (ARNs)][1] in the *AWS General Reference*.
1943
1981
  #
@@ -2001,9 +2039,9 @@ module Aws::ResilienceHub
2001
2039
  # @!attribute [rw] app_arn
2002
2040
  # The Amazon Resource Name (ARN) of the application. The format for
2003
2041
  # this ARN is:
2004
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
2005
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2006
- # the *AWS General Reference*.
2042
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
2043
+ # For more information about ARNs, see [ Amazon Resource Names
2044
+ # (ARNs)][1] in the *AWS General Reference*.
2007
2045
  #
2008
2046
  #
2009
2047
  #
@@ -2074,9 +2112,9 @@ module Aws::ResilienceHub
2074
2112
  # @!attribute [rw] app_arn
2075
2113
  # The Amazon Resource Name (ARN) of the application. The format for
2076
2114
  # this ARN is:
2077
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
2078
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2079
- # the *AWS General Reference*.
2115
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
2116
+ # For more information about ARNs, see [ Amazon Resource Names
2117
+ # (ARNs)][1] in the *AWS General Reference*.
2080
2118
  #
2081
2119
  #
2082
2120
  #
@@ -2150,9 +2188,9 @@ module Aws::ResilienceHub
2150
2188
  # @!attribute [rw] app_arn
2151
2189
  # The Amazon Resource Name (ARN) of the application. The format for
2152
2190
  # this ARN is:
2153
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
2154
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2155
- # the *AWS General Reference*.
2191
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
2192
+ # For more information about ARNs, see [ Amazon Resource Names
2193
+ # (ARNs)][1] in the *AWS General Reference*.
2156
2194
  #
2157
2195
  #
2158
2196
  #
@@ -2212,9 +2250,9 @@ module Aws::ResilienceHub
2212
2250
  # @!attribute [rw] app_arn
2213
2251
  # The Amazon Resource Name (ARN) of the application. The format for
2214
2252
  # this ARN is:
2215
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
2216
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2217
- # the *AWS General Reference*.
2253
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
2254
+ # For more information about ARNs, see [ Amazon Resource Names
2255
+ # (ARNs)][1] in the *AWS General Reference*.
2218
2256
  #
2219
2257
  #
2220
2258
  #
@@ -2282,7 +2320,7 @@ module Aws::ResilienceHub
2282
2320
  # @!attribute [rw] assessment_arn
2283
2321
  # The Amazon Resource Name (ARN) of the assessment. The format for
2284
2322
  # this ARN is:
2285
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
2323
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
2286
2324
  # For more information about ARNs, see [ Amazon Resource Names
2287
2325
  # (ARNs)][1] in the *AWS General Reference*.
2288
2326
  #
@@ -2417,7 +2455,7 @@ module Aws::ResilienceHub
2417
2455
  # @!attribute [rw] assessment_arn
2418
2456
  # The Amazon Resource Name (ARN) of the assessment. The format for
2419
2457
  # this ARN is:
2420
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
2458
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
2421
2459
  # For more information about ARNs, see [ Amazon Resource Names
2422
2460
  # (ARNs)][1] in the *AWS General Reference*.
2423
2461
  #
@@ -2561,7 +2599,7 @@ module Aws::ResilienceHub
2561
2599
  # @!attribute [rw] assessment_arn
2562
2600
  # The Amazon Resource Name (ARN) of the assessment. The format for
2563
2601
  # this ARN is:
2564
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
2602
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
2565
2603
  # For more information about ARNs, see [ Amazon Resource Names
2566
2604
  # (ARNs)][1] in the *AWS General Reference*.
2567
2605
  #
@@ -2624,9 +2662,9 @@ module Aws::ResilienceHub
2624
2662
  # @!attribute [rw] app_arn
2625
2663
  # The Amazon Resource Name (ARN) of the application. The format for
2626
2664
  # this ARN is:
2627
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
2628
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2629
- # the *AWS General Reference*.
2665
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
2666
+ # For more information about ARNs, see [ Amazon Resource Names
2667
+ # (ARNs)][1] in the *AWS General Reference*.
2630
2668
  #
2631
2669
  #
2632
2670
  #
@@ -2702,12 +2740,17 @@ module Aws::ResilienceHub
2702
2740
  # The name of the resource group that this resource belongs to.
2703
2741
  # @return [String]
2704
2742
  #
2743
+ # @!attribute [rw] terraform_source_name
2744
+ # The name of the Terraform S3 state file this resource belongs to.
2745
+ # @return [String]
2746
+ #
2705
2747
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/LogicalResourceId AWS API Documentation
2706
2748
  #
2707
2749
  class LogicalResourceId < Struct.new(
2708
2750
  :identifier,
2709
2751
  :logical_stack_name,
2710
- :resource_group_name)
2752
+ :resource_group_name,
2753
+ :terraform_source_name)
2711
2754
  SENSITIVE = []
2712
2755
  include Aws::Structure
2713
2756
  end
@@ -2806,9 +2849,9 @@ module Aws::ResilienceHub
2806
2849
  # @!attribute [rw] app_arn
2807
2850
  # The Amazon Resource Name (ARN) of the application. The format for
2808
2851
  # this ARN is:
2809
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
2810
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2811
- # the *AWS General Reference*.
2852
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
2853
+ # For more information about ARNs, see [ Amazon Resource Names
2854
+ # (ARNs)][1] in the *AWS General Reference*.
2812
2855
  #
2813
2856
  #
2814
2857
  #
@@ -2826,9 +2869,9 @@ module Aws::ResilienceHub
2826
2869
  # @!attribute [rw] app_arn
2827
2870
  # The Amazon Resource Name (ARN) of the application. The format for
2828
2871
  # this ARN is:
2829
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
2830
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2831
- # the *AWS General Reference*.
2872
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
2873
+ # For more information about ARNs, see [ Amazon Resource Names
2874
+ # (ARNs)][1] in the *AWS General Reference*.
2832
2875
  #
2833
2876
  #
2834
2877
  #
@@ -2859,9 +2902,9 @@ module Aws::ResilienceHub
2859
2902
  # @!attribute [rw] app_arn
2860
2903
  # The Amazon Resource Name (ARN) of the application. The format for
2861
2904
  # this ARN is:
2862
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
2863
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2864
- # the *AWS General Reference*.
2905
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
2906
+ # For more information about ARNs, see [ Amazon Resource Names
2907
+ # (ARNs)][1] in the *AWS General Reference*.
2865
2908
  #
2866
2909
  #
2867
2910
  #
@@ -2884,9 +2927,9 @@ module Aws::ResilienceHub
2884
2927
  # @!attribute [rw] app_arn
2885
2928
  # The Amazon Resource Name (ARN) of the application. The format for
2886
2929
  # this ARN is:
2887
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
2888
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2889
- # the *AWS General Reference*.
2930
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
2931
+ # For more information about ARNs, see [ Amazon Resource Names
2932
+ # (ARNs)][1] in the *AWS General Reference*.
2890
2933
  #
2891
2934
  #
2892
2935
  #
@@ -2980,9 +3023,9 @@ module Aws::ResilienceHub
2980
3023
  # @!attribute [rw] app_arn
2981
3024
  # The Amazon Resource Name (ARN) of the application. The format for
2982
3025
  # this ARN is:
2983
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
2984
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2985
- # the *AWS General Reference*.
3026
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
3027
+ # For more information about ARNs, see [ Amazon Resource Names
3028
+ # (ARNs)][1] in the *AWS General Reference*.
2986
3029
  #
2987
3030
  #
2988
3031
  #
@@ -2992,7 +3035,7 @@ module Aws::ResilienceHub
2992
3035
  # @!attribute [rw] assessment_arn
2993
3036
  # The Amazon Resource Name (ARN) of the assessment. The format for
2994
3037
  # this ARN is:
2995
- # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
3038
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
2996
3039
  # For more information about ARNs, see [ Amazon Resource Names
2997
3040
  # (ARNs)][1] in the *AWS General Reference*.
2998
3041
  #
@@ -3103,14 +3146,15 @@ module Aws::ResilienceHub
3103
3146
  # logical_stack_names: ["String255"],
3104
3147
  # resource_group_names: ["EntityName"],
3105
3148
  # resource_names: ["EntityName"],
3149
+ # terraform_source_names: ["String255"],
3106
3150
  # }
3107
3151
  #
3108
3152
  # @!attribute [rw] app_arn
3109
3153
  # The Amazon Resource Name (ARN) of the application. The format for
3110
3154
  # this ARN is:
3111
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
3112
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3113
- # the *AWS General Reference*.
3155
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
3156
+ # For more information about ARNs, see [ Amazon Resource Names
3157
+ # (ARNs)][1] in the *AWS General Reference*.
3114
3158
  #
3115
3159
  #
3116
3160
  #
@@ -3136,6 +3180,10 @@ module Aws::ResilienceHub
3136
3180
  # The names of the resources to remove from the resource mappings.
3137
3181
  # @return [Array<String>]
3138
3182
  #
3183
+ # @!attribute [rw] terraform_source_names
3184
+ # </p>
3185
+ # @return [Array<String>]
3186
+ #
3139
3187
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappingsRequest AWS API Documentation
3140
3188
  #
3141
3189
  class RemoveDraftAppVersionResourceMappingsRequest < Struct.new(
@@ -3143,7 +3191,8 @@ module Aws::ResilienceHub
3143
3191
  :app_registry_app_names,
3144
3192
  :logical_stack_names,
3145
3193
  :resource_group_names,
3146
- :resource_names)
3194
+ :resource_names,
3195
+ :terraform_source_names)
3147
3196
  SENSITIVE = []
3148
3197
  include Aws::Structure
3149
3198
  end
@@ -3151,9 +3200,9 @@ module Aws::ResilienceHub
3151
3200
  # @!attribute [rw] app_arn
3152
3201
  # The Amazon Resource Name (ARN) of the application. The format for
3153
3202
  # this ARN is:
3154
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
3155
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3156
- # the *AWS General Reference*.
3203
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
3204
+ # For more information about ARNs, see [ Amazon Resource Names
3205
+ # (ARNs)][1] in the *AWS General Reference*.
3157
3206
  #
3158
3207
  #
3159
3208
  #
@@ -3195,7 +3244,7 @@ module Aws::ResilienceHub
3195
3244
  # @!attribute [rw] policy_arn
3196
3245
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
3197
3246
  # for this ARN is:
3198
- # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
3247
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
3199
3248
  # For more information about ARNs, see [ Amazon Resource Names
3200
3249
  # (ARNs)][1] in the *AWS General Reference*.
3201
3250
  #
@@ -3270,9 +3319,9 @@ module Aws::ResilienceHub
3270
3319
  # @!attribute [rw] app_arn
3271
3320
  # The Amazon Resource Name (ARN) of the application. The format for
3272
3321
  # this ARN is:
3273
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
3274
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3275
- # the *AWS General Reference*.
3322
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
3323
+ # For more information about ARNs, see [ Amazon Resource Names
3324
+ # (ARNs)][1] in the *AWS General Reference*.
3276
3325
  #
3277
3326
  #
3278
3327
  #
@@ -3295,9 +3344,9 @@ module Aws::ResilienceHub
3295
3344
  # @!attribute [rw] app_arn
3296
3345
  # The Amazon Resource Name (ARN) of the application. The format for
3297
3346
  # this ARN is:
3298
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
3299
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3300
- # the *AWS General Reference*.
3347
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
3348
+ # For more information about ARNs, see [ Amazon Resource Names
3349
+ # (ARNs)][1] in the *AWS General Reference*.
3301
3350
  #
3302
3351
  #
3303
3352
  #
@@ -3327,6 +3376,50 @@ module Aws::ResilienceHub
3327
3376
  include Aws::Structure
3328
3377
  end
3329
3378
 
3379
+ # Defines application resource errors.
3380
+ #
3381
+ # @!attribute [rw] logical_resource_id
3382
+ # This is the identifier of the resource.
3383
+ # @return [String]
3384
+ #
3385
+ # @!attribute [rw] physical_resource_id
3386
+ # This is the identifier of the physical resource.
3387
+ # @return [String]
3388
+ #
3389
+ # @!attribute [rw] reason
3390
+ # This is the error message.
3391
+ # @return [String]
3392
+ #
3393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResourceError AWS API Documentation
3394
+ #
3395
+ class ResourceError < Struct.new(
3396
+ :logical_resource_id,
3397
+ :physical_resource_id,
3398
+ :reason)
3399
+ SENSITIVE = []
3400
+ include Aws::Structure
3401
+ end
3402
+
3403
+ # A list of errors retrieving an application's resources.
3404
+ #
3405
+ # @!attribute [rw] has_more_errors
3406
+ # This indicates if there are more errors not listed in the
3407
+ # resourceErrors list.
3408
+ # @return [Boolean]
3409
+ #
3410
+ # @!attribute [rw] resource_errors
3411
+ # A list of errors retrieving an application's resources.
3412
+ # @return [Array<Types::ResourceError>]
3413
+ #
3414
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResourceErrorsDetails AWS API Documentation
3415
+ #
3416
+ class ResourceErrorsDetails < Struct.new(
3417
+ :has_more_errors,
3418
+ :resource_errors)
3419
+ SENSITIVE = []
3420
+ include Aws::Structure
3421
+ end
3422
+
3330
3423
  # Defines a resource mapping.
3331
3424
  #
3332
3425
  # @note When making an API call, you may pass ResourceMapping
@@ -3335,7 +3428,7 @@ module Aws::ResilienceHub
3335
3428
  # {
3336
3429
  # app_registry_app_name: "EntityName",
3337
3430
  # logical_stack_name: "String255",
3338
- # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup
3431
+ # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform
3339
3432
  # physical_resource_id: { # required
3340
3433
  # aws_account_id: "CustomerId",
3341
3434
  # aws_region: "AwsRegion",
@@ -3344,6 +3437,7 @@ module Aws::ResilienceHub
3344
3437
  # },
3345
3438
  # resource_group_name: "EntityName",
3346
3439
  # resource_name: "EntityName",
3440
+ # terraform_source_name: "String255",
3347
3441
  # }
3348
3442
  #
3349
3443
  # @!attribute [rw] app_registry_app_name
@@ -3391,6 +3485,10 @@ module Aws::ResilienceHub
3391
3485
  # The name of the resource this resource is mapped to.
3392
3486
  # @return [String]
3393
3487
  #
3488
+ # @!attribute [rw] terraform_source_name
3489
+ # The short name of the Terraform source.
3490
+ # @return [String]
3491
+ #
3394
3492
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResourceMapping AWS API Documentation
3395
3493
  #
3396
3494
  class ResourceMapping < Struct.new(
@@ -3399,7 +3497,8 @@ module Aws::ResilienceHub
3399
3497
  :mapping_type,
3400
3498
  :physical_resource_id,
3401
3499
  :resource_group_name,
3402
- :resource_name)
3500
+ :resource_name,
3501
+ :terraform_source_name)
3403
3502
  SENSITIVE = []
3404
3503
  include Aws::Structure
3405
3504
  end
@@ -3526,9 +3625,9 @@ module Aws::ResilienceHub
3526
3625
  # @!attribute [rw] app_arn
3527
3626
  # The Amazon Resource Name (ARN) of the application. The format for
3528
3627
  # this ARN is:
3529
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
3530
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3531
- # the *AWS General Reference*.
3628
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
3629
+ # For more information about ARNs, see [ Amazon Resource Names
3630
+ # (ARNs)][1] in the *AWS General Reference*.
3532
3631
  #
3533
3632
  #
3534
3633
  #
@@ -3614,12 +3713,38 @@ module Aws::ResilienceHub
3614
3713
  #
3615
3714
  class TagResourceResponse < Aws::EmptyStructure; end
3616
3715
 
3716
+ # The Terraform s3 state file you need to import.
3717
+ #
3718
+ # @note When making an API call, you may pass TerraformSource
3719
+ # data as a hash:
3720
+ #
3721
+ # {
3722
+ # s3_state_file_url: "S3Url", # required
3723
+ # }
3724
+ #
3725
+ # @!attribute [rw] s3_state_file_url
3726
+ # The Terraform s3 state file you need to import.
3727
+ # @return [String]
3728
+ #
3729
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TerraformSource AWS API Documentation
3730
+ #
3731
+ class TerraformSource < Struct.new(
3732
+ :s3_state_file_url)
3733
+ SENSITIVE = []
3734
+ include Aws::Structure
3735
+ end
3736
+
3617
3737
  # Defines a test recommendation.
3618
3738
  #
3619
3739
  # @!attribute [rw] app_component_name
3620
3740
  # The name of the application component.
3621
3741
  # @return [String]
3622
3742
  #
3743
+ # @!attribute [rw] depends_on_alarms
3744
+ # A list of recommended alarms that are used in the test and must be
3745
+ # exported before or with the test.
3746
+ # @return [Array<String>]
3747
+ #
3623
3748
  # @!attribute [rw] description
3624
3749
  # The description for the test recommendation.
3625
3750
  # @return [String]
@@ -3660,6 +3785,7 @@ module Aws::ResilienceHub
3660
3785
  #
3661
3786
  class TestRecommendation < Struct.new(
3662
3787
  :app_component_name,
3788
+ :depends_on_alarms,
3663
3789
  :description,
3664
3790
  :intent,
3665
3791
  :items,
@@ -3749,6 +3875,7 @@ module Aws::ResilienceHub
3749
3875
  #
3750
3876
  # {
3751
3877
  # app_arn: "Arn", # required
3878
+ # assessment_schedule: "Disabled", # accepts Disabled, Daily
3752
3879
  # clear_resiliency_policy_arn: false,
3753
3880
  # description: "EntityDescription",
3754
3881
  # policy_arn: "Arn",
@@ -3757,15 +3884,19 @@ module Aws::ResilienceHub
3757
3884
  # @!attribute [rw] app_arn
3758
3885
  # The Amazon Resource Name (ARN) of the application. The format for
3759
3886
  # this ARN is:
3760
- # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
3761
- # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3762
- # the *AWS General Reference*.
3887
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
3888
+ # For more information about ARNs, see [ Amazon Resource Names
3889
+ # (ARNs)][1] in the *AWS General Reference*.
3763
3890
  #
3764
3891
  #
3765
3892
  #
3766
3893
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3767
3894
  # @return [String]
3768
3895
  #
3896
+ # @!attribute [rw] assessment_schedule
3897
+ # Assessment execution schedule with 'Daily' or 'Disabled' values.
3898
+ # @return [String]
3899
+ #
3769
3900
  # @!attribute [rw] clear_resiliency_policy_arn
3770
3901
  # Specifies if the resiliency policy ARN should be cleared.
3771
3902
  # @return [Boolean]
@@ -3777,7 +3908,7 @@ module Aws::ResilienceHub
3777
3908
  # @!attribute [rw] policy_arn
3778
3909
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
3779
3910
  # for this ARN is:
3780
- # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
3911
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
3781
3912
  # For more information about ARNs, see [ Amazon Resource Names
3782
3913
  # (ARNs)][1] in the *AWS General Reference*.
3783
3914
  #
@@ -3790,6 +3921,7 @@ module Aws::ResilienceHub
3790
3921
  #
3791
3922
  class UpdateAppRequest < Struct.new(
3792
3923
  :app_arn,
3924
+ :assessment_schedule,
3793
3925
  :clear_resiliency_policy_arn,
3794
3926
  :description,
3795
3927
  :policy_arn)
@@ -3836,12 +3968,18 @@ module Aws::ResilienceHub
3836
3968
  # @!attribute [rw] policy
3837
3969
  # The type of resiliency policy to be created, including the recovery
3838
3970
  # time objective (RTO) and recovery point objective (RPO) in seconds.
3971
+ #
3972
+ # <note markdown="1"> If you do not want to specify regional targets for a regional
3973
+ # policy, you must set the values of `rpoInSecs` and `rtoInSecs` to
3974
+ # `-1`.
3975
+ #
3976
+ # </note>
3839
3977
  # @return [Hash<String,Types::FailurePolicy>]
3840
3978
  #
3841
3979
  # @!attribute [rw] policy_arn
3842
3980
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
3843
3981
  # for this ARN is:
3844
- # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
3982
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
3845
3983
  # For more information about ARNs, see [ Amazon Resource Names
3846
3984
  # (ARNs)][1] in the *AWS General Reference*.
3847
3985
  #