aws-sdk-resiliencehub 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehub/client.rb +102 -39
- data/lib/aws-sdk-resiliencehub/client_api.rb +40 -2
- data/lib/aws-sdk-resiliencehub/types.rb +263 -131
- data/lib/aws-sdk-resiliencehub.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8979ee8acd68f258735a878c2d5a0159038063ffe0e05faa591a7f33a90faf8b
|
4
|
+
data.tar.gz: 854653ca2387f473574f982aeaa9fef53757df6f4371a598017f6ef3a5ad5bb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c924a7909ef38a7407c9d0d305017cacc9f8637bcfd75ba0032325b4762bd4f534ccb35f058307b8c0128837c7d6f562db8249b7587ecf64c8376cf9f4b940f
|
7
|
+
data.tar.gz: 19644d301b8bf90059f6bfd5407e39510e194c3bf8a5ce05869a2eeeb3f187782e4352b0696b58445cfbe228fbf00f9020c14eee15d0ef3922d859a0a38e755a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.5.0 (2022-05-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - In this release, we are introducing support for Amazon Elastic Container Service, Amazon Route 53, AWS Elastic Disaster Recovery, AWS Backup in addition to the existing supported Services. This release also supports Terraform file input from S3 and scheduling daily assessments
|
8
|
+
|
4
9
|
1.4.0 (2022-02-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
@@ -355,7 +355,8 @@ module Aws::ResilienceHub
|
|
355
355
|
#
|
356
356
|
# @option params [required, String] :app_arn
|
357
357
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
358
|
-
# ARN is:
|
358
|
+
# ARN is:
|
359
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
359
360
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
360
361
|
# the *AWS General Reference*.
|
361
362
|
#
|
@@ -385,7 +386,7 @@ module Aws::ResilienceHub
|
|
385
386
|
# {
|
386
387
|
# app_registry_app_name: "EntityName",
|
387
388
|
# logical_stack_name: "String255",
|
388
|
-
# mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup
|
389
|
+
# mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform
|
389
390
|
# physical_resource_id: { # required
|
390
391
|
# aws_account_id: "CustomerId",
|
391
392
|
# aws_region: "AwsRegion",
|
@@ -394,6 +395,7 @@ module Aws::ResilienceHub
|
|
394
395
|
# },
|
395
396
|
# resource_group_name: "EntityName",
|
396
397
|
# resource_name: "EntityName",
|
398
|
+
# terraform_source_name: "String255",
|
397
399
|
# },
|
398
400
|
# ],
|
399
401
|
# })
|
@@ -405,13 +407,14 @@ module Aws::ResilienceHub
|
|
405
407
|
# resp.resource_mappings #=> Array
|
406
408
|
# resp.resource_mappings[0].app_registry_app_name #=> String
|
407
409
|
# resp.resource_mappings[0].logical_stack_name #=> String
|
408
|
-
# resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup"
|
410
|
+
# resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform"
|
409
411
|
# resp.resource_mappings[0].physical_resource_id.aws_account_id #=> String
|
410
412
|
# resp.resource_mappings[0].physical_resource_id.aws_region #=> String
|
411
413
|
# resp.resource_mappings[0].physical_resource_id.identifier #=> String
|
412
414
|
# resp.resource_mappings[0].physical_resource_id.type #=> String, one of "Arn", "Native"
|
413
415
|
# resp.resource_mappings[0].resource_group_name #=> String
|
414
416
|
# resp.resource_mappings[0].resource_name #=> String
|
417
|
+
# resp.resource_mappings[0].terraform_source_name #=> String
|
415
418
|
#
|
416
419
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AddDraftAppVersionResourceMappings AWS API Documentation
|
417
420
|
#
|
@@ -431,6 +434,9 @@ module Aws::ResilienceHub
|
|
431
434
|
#
|
432
435
|
# <p>After you create a Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).</p>
|
433
436
|
#
|
437
|
+
# @option params [String] :assessment_schedule
|
438
|
+
# Assessment execution schedule with 'Daily' or 'Disabled' values.
|
439
|
+
#
|
434
440
|
# @option params [String] :client_token
|
435
441
|
# Used for an idempotency token. A client token is a unique,
|
436
442
|
# case-sensitive string of up to 64 ASCII characters. You should not
|
@@ -448,7 +454,7 @@ module Aws::ResilienceHub
|
|
448
454
|
# @option params [String] :policy_arn
|
449
455
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
450
456
|
# for this ARN is:
|
451
|
-
# arn:`partition`\:
|
457
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
452
458
|
# For more information about ARNs, see [ Amazon Resource Names
|
453
459
|
# (ARNs)][1] in the *AWS General Reference*.
|
454
460
|
#
|
@@ -468,6 +474,7 @@ module Aws::ResilienceHub
|
|
468
474
|
# @example Request syntax with placeholder values
|
469
475
|
#
|
470
476
|
# resp = client.create_app({
|
477
|
+
# assessment_schedule: "Disabled", # accepts Disabled, Daily
|
471
478
|
# client_token: "ClientToken",
|
472
479
|
# description: "EntityDescription",
|
473
480
|
# name: "EntityName", # required
|
@@ -480,6 +487,7 @@ module Aws::ResilienceHub
|
|
480
487
|
# @example Response structure
|
481
488
|
#
|
482
489
|
# resp.app.app_arn #=> String
|
490
|
+
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
483
491
|
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
484
492
|
# resp.app.creation_time #=> Time
|
485
493
|
# resp.app.description #=> String
|
@@ -506,7 +514,7 @@ module Aws::ResilienceHub
|
|
506
514
|
# @option params [required, String] :assessment_arn
|
507
515
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
508
516
|
# ARN is:
|
509
|
-
# arn:`partition`\:
|
517
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
510
518
|
# For more information about ARNs, see [ Amazon Resource Names
|
511
519
|
# (ARNs)][1] in the *AWS General Reference*.
|
512
520
|
#
|
@@ -699,7 +707,8 @@ module Aws::ResilienceHub
|
|
699
707
|
#
|
700
708
|
# @option params [required, String] :app_arn
|
701
709
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
702
|
-
# ARN is:
|
710
|
+
# ARN is:
|
711
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
703
712
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
704
713
|
# the *AWS General Reference*.
|
705
714
|
#
|
@@ -750,7 +759,7 @@ module Aws::ResilienceHub
|
|
750
759
|
# @option params [required, String] :assessment_arn
|
751
760
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
752
761
|
# ARN is:
|
753
|
-
# arn:`partition`\:
|
762
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
754
763
|
# For more information about ARNs, see [ Amazon Resource Names
|
755
764
|
# (ARNs)][1] in the *AWS General Reference*.
|
756
765
|
#
|
@@ -846,7 +855,7 @@ module Aws::ResilienceHub
|
|
846
855
|
# @option params [required, String] :policy_arn
|
847
856
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
848
857
|
# for this ARN is:
|
849
|
-
# arn:`partition`\:
|
858
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
850
859
|
# For more information about ARNs, see [ Amazon Resource Names
|
851
860
|
# (ARNs)][1] in the *AWS General Reference*.
|
852
861
|
#
|
@@ -882,7 +891,8 @@ module Aws::ResilienceHub
|
|
882
891
|
#
|
883
892
|
# @option params [required, String] :app_arn
|
884
893
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
885
|
-
# ARN is:
|
894
|
+
# ARN is:
|
895
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
886
896
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
887
897
|
# the *AWS General Reference*.
|
888
898
|
#
|
@@ -903,6 +913,7 @@ module Aws::ResilienceHub
|
|
903
913
|
# @example Response structure
|
904
914
|
#
|
905
915
|
# resp.app.app_arn #=> String
|
916
|
+
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
906
917
|
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
907
918
|
# resp.app.creation_time #=> Time
|
908
919
|
# resp.app.description #=> String
|
@@ -929,7 +940,7 @@ module Aws::ResilienceHub
|
|
929
940
|
# @option params [required, String] :assessment_arn
|
930
941
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
931
942
|
# ARN is:
|
932
|
-
# arn:`partition`\:
|
943
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
933
944
|
# For more information about ARNs, see [ Amazon Resource Names
|
934
945
|
# (ARNs)][1] in the *AWS General Reference*.
|
935
946
|
#
|
@@ -987,6 +998,11 @@ module Aws::ResilienceHub
|
|
987
998
|
# resp.assessment.resiliency_score.disruption_score #=> Hash
|
988
999
|
# resp.assessment.resiliency_score.disruption_score["DisruptionType"] #=> Float
|
989
1000
|
# resp.assessment.resiliency_score.score #=> Float
|
1001
|
+
# resp.assessment.resource_errors_details.has_more_errors #=> Boolean
|
1002
|
+
# resp.assessment.resource_errors_details.resource_errors #=> Array
|
1003
|
+
# resp.assessment.resource_errors_details.resource_errors[0].logical_resource_id #=> String
|
1004
|
+
# resp.assessment.resource_errors_details.resource_errors[0].physical_resource_id #=> String
|
1005
|
+
# resp.assessment.resource_errors_details.resource_errors[0].reason #=> String
|
990
1006
|
# resp.assessment.start_time #=> Time
|
991
1007
|
# resp.assessment.tags #=> Hash
|
992
1008
|
# resp.assessment.tags["TagKey"] #=> String
|
@@ -1006,7 +1022,8 @@ module Aws::ResilienceHub
|
|
1006
1022
|
#
|
1007
1023
|
# @option params [required, String] :app_arn
|
1008
1024
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1009
|
-
# ARN is:
|
1025
|
+
# ARN is:
|
1026
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1010
1027
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1011
1028
|
# the *AWS General Reference*.
|
1012
1029
|
#
|
@@ -1057,7 +1074,8 @@ module Aws::ResilienceHub
|
|
1057
1074
|
#
|
1058
1075
|
# @option params [required, String] :app_arn
|
1059
1076
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1060
|
-
# ARN is:
|
1077
|
+
# ARN is:
|
1078
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1061
1079
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1062
1080
|
# the *AWS General Reference*.
|
1063
1081
|
#
|
@@ -1100,7 +1118,8 @@ module Aws::ResilienceHub
|
|
1100
1118
|
#
|
1101
1119
|
# @option params [required, String] :app_arn
|
1102
1120
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1103
|
-
# ARN is:
|
1121
|
+
# ARN is:
|
1122
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1104
1123
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1105
1124
|
# the *AWS General Reference*.
|
1106
1125
|
#
|
@@ -1147,7 +1166,7 @@ module Aws::ResilienceHub
|
|
1147
1166
|
# @option params [required, String] :policy_arn
|
1148
1167
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1149
1168
|
# for this ARN is:
|
1150
|
-
# arn:`partition`\:
|
1169
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
1151
1170
|
# For more information about ARNs, see [ Amazon Resource Names
|
1152
1171
|
# (ARNs)][1] in the *AWS General Reference*.
|
1153
1172
|
#
|
@@ -1195,7 +1214,8 @@ module Aws::ResilienceHub
|
|
1195
1214
|
#
|
1196
1215
|
# @option params [required, String] :app_arn
|
1197
1216
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1198
|
-
# ARN is:
|
1217
|
+
# ARN is:
|
1218
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1199
1219
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1200
1220
|
# the *AWS General Reference*.
|
1201
1221
|
#
|
@@ -1203,22 +1223,31 @@ module Aws::ResilienceHub
|
|
1203
1223
|
#
|
1204
1224
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1205
1225
|
#
|
1206
|
-
# @option params [
|
1226
|
+
# @option params [Array<String>] :source_arns
|
1207
1227
|
# The Amazon Resource Names (ARNs) for the resources that you want to
|
1208
1228
|
# import.
|
1209
1229
|
#
|
1230
|
+
# @option params [Array<Types::TerraformSource>] :terraform_sources
|
1231
|
+
# A list of terraform file s3 URLs you need to import.
|
1232
|
+
#
|
1210
1233
|
# @return [Types::ImportResourcesToDraftAppVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1211
1234
|
#
|
1212
1235
|
# * {Types::ImportResourcesToDraftAppVersionResponse#app_arn #app_arn} => String
|
1213
1236
|
# * {Types::ImportResourcesToDraftAppVersionResponse#app_version #app_version} => String
|
1214
1237
|
# * {Types::ImportResourcesToDraftAppVersionResponse#source_arns #source_arns} => Array<String>
|
1215
1238
|
# * {Types::ImportResourcesToDraftAppVersionResponse#status #status} => String
|
1239
|
+
# * {Types::ImportResourcesToDraftAppVersionResponse#terraform_sources #terraform_sources} => Array<Types::TerraformSource>
|
1216
1240
|
#
|
1217
1241
|
# @example Request syntax with placeholder values
|
1218
1242
|
#
|
1219
1243
|
# resp = client.import_resources_to_draft_app_version({
|
1220
1244
|
# app_arn: "Arn", # required
|
1221
|
-
# source_arns: ["Arn"],
|
1245
|
+
# source_arns: ["Arn"],
|
1246
|
+
# terraform_sources: [
|
1247
|
+
# {
|
1248
|
+
# s3_state_file_url: "S3Url", # required
|
1249
|
+
# },
|
1250
|
+
# ],
|
1222
1251
|
# })
|
1223
1252
|
#
|
1224
1253
|
# @example Response structure
|
@@ -1228,6 +1257,8 @@ module Aws::ResilienceHub
|
|
1228
1257
|
# resp.source_arns #=> Array
|
1229
1258
|
# resp.source_arns[0] #=> String
|
1230
1259
|
# resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
|
1260
|
+
# resp.terraform_sources #=> Array
|
1261
|
+
# resp.terraform_sources[0].s3_state_file_url #=> String
|
1231
1262
|
#
|
1232
1263
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion AWS API Documentation
|
1233
1264
|
#
|
@@ -1243,7 +1274,7 @@ module Aws::ResilienceHub
|
|
1243
1274
|
# @option params [required, String] :assessment_arn
|
1244
1275
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1245
1276
|
# ARN is:
|
1246
|
-
# arn:`partition`\:
|
1277
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1247
1278
|
# For more information about ARNs, see [ Amazon Resource Names
|
1248
1279
|
# (ARNs)][1] in the *AWS General Reference*.
|
1249
1280
|
#
|
@@ -1307,7 +1338,8 @@ module Aws::ResilienceHub
|
|
1307
1338
|
#
|
1308
1339
|
# @option params [String] :app_arn
|
1309
1340
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1310
|
-
# ARN is:
|
1341
|
+
# ARN is:
|
1342
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1311
1343
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1312
1344
|
# the *AWS General Reference*.
|
1313
1345
|
#
|
@@ -1395,7 +1427,7 @@ module Aws::ResilienceHub
|
|
1395
1427
|
# @option params [required, String] :assessment_arn
|
1396
1428
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1397
1429
|
# ARN is:
|
1398
|
-
# arn:`partition`\:
|
1430
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1399
1431
|
# For more information about ARNs, see [ Amazon Resource Names
|
1400
1432
|
# (ARNs)][1] in the *AWS General Reference*.
|
1401
1433
|
#
|
@@ -1467,7 +1499,7 @@ module Aws::ResilienceHub
|
|
1467
1499
|
# @option params [required, String] :assessment_arn
|
1468
1500
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1469
1501
|
# ARN is:
|
1470
|
-
# arn:`partition`\:
|
1502
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1471
1503
|
# For more information about ARNs, see [ Amazon Resource Names
|
1472
1504
|
# (ARNs)][1] in the *AWS General Reference*.
|
1473
1505
|
#
|
@@ -1551,7 +1583,8 @@ module Aws::ResilienceHub
|
|
1551
1583
|
#
|
1552
1584
|
# @option params [required, String] :app_arn
|
1553
1585
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1554
|
-
# ARN is:
|
1586
|
+
# ARN is:
|
1587
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1555
1588
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1556
1589
|
# the *AWS General Reference*.
|
1557
1590
|
#
|
@@ -1594,13 +1627,14 @@ module Aws::ResilienceHub
|
|
1594
1627
|
# resp.resource_mappings #=> Array
|
1595
1628
|
# resp.resource_mappings[0].app_registry_app_name #=> String
|
1596
1629
|
# resp.resource_mappings[0].logical_stack_name #=> String
|
1597
|
-
# resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup"
|
1630
|
+
# resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform"
|
1598
1631
|
# resp.resource_mappings[0].physical_resource_id.aws_account_id #=> String
|
1599
1632
|
# resp.resource_mappings[0].physical_resource_id.aws_region #=> String
|
1600
1633
|
# resp.resource_mappings[0].physical_resource_id.identifier #=> String
|
1601
1634
|
# resp.resource_mappings[0].physical_resource_id.type #=> String, one of "Arn", "Native"
|
1602
1635
|
# resp.resource_mappings[0].resource_group_name #=> String
|
1603
1636
|
# resp.resource_mappings[0].resource_name #=> String
|
1637
|
+
# resp.resource_mappings[0].terraform_source_name #=> String
|
1604
1638
|
#
|
1605
1639
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappings AWS API Documentation
|
1606
1640
|
#
|
@@ -1615,7 +1649,8 @@ module Aws::ResilienceHub
|
|
1615
1649
|
#
|
1616
1650
|
# @option params [required, String] :app_arn
|
1617
1651
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1618
|
-
# ARN is:
|
1652
|
+
# ARN is:
|
1653
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1619
1654
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1620
1655
|
# the *AWS General Reference*.
|
1621
1656
|
#
|
@@ -1667,6 +1702,7 @@ module Aws::ResilienceHub
|
|
1667
1702
|
# resp.physical_resources[0].logical_resource_id.identifier #=> String
|
1668
1703
|
# resp.physical_resources[0].logical_resource_id.logical_stack_name #=> String
|
1669
1704
|
# resp.physical_resources[0].logical_resource_id.resource_group_name #=> String
|
1705
|
+
# resp.physical_resources[0].logical_resource_id.terraform_source_name #=> String
|
1670
1706
|
# resp.physical_resources[0].physical_resource_id.aws_account_id #=> String
|
1671
1707
|
# resp.physical_resources[0].physical_resource_id.aws_region #=> String
|
1672
1708
|
# resp.physical_resources[0].physical_resource_id.identifier #=> String
|
@@ -1688,7 +1724,8 @@ module Aws::ResilienceHub
|
|
1688
1724
|
#
|
1689
1725
|
# @option params [required, String] :app_arn
|
1690
1726
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1691
|
-
# ARN is:
|
1727
|
+
# ARN is:
|
1728
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1692
1729
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1693
1730
|
# the *AWS General Reference*.
|
1694
1731
|
#
|
@@ -1740,7 +1777,8 @@ module Aws::ResilienceHub
|
|
1740
1777
|
#
|
1741
1778
|
# @option params [String] :app_arn
|
1742
1779
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1743
|
-
# ARN is:
|
1780
|
+
# ARN is:
|
1781
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1744
1782
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1745
1783
|
# the *AWS General Reference*.
|
1746
1784
|
#
|
@@ -1781,6 +1819,7 @@ module Aws::ResilienceHub
|
|
1781
1819
|
#
|
1782
1820
|
# resp.app_summaries #=> Array
|
1783
1821
|
# resp.app_summaries[0].app_arn #=> String
|
1822
|
+
# resp.app_summaries[0].assessment_schedule #=> String, one of "Disabled", "Daily"
|
1784
1823
|
# resp.app_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
1785
1824
|
# resp.app_summaries[0].creation_time #=> Time
|
1786
1825
|
# resp.app_summaries[0].description #=> String
|
@@ -1803,7 +1842,7 @@ module Aws::ResilienceHub
|
|
1803
1842
|
# @option params [required, String] :assessment_arn
|
1804
1843
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1805
1844
|
# ARN is:
|
1806
|
-
# arn:`partition`\:
|
1845
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1807
1846
|
# For more information about ARNs, see [ Amazon Resource Names
|
1808
1847
|
# (ARNs)][1] in the *AWS General Reference*.
|
1809
1848
|
#
|
@@ -1947,7 +1986,7 @@ module Aws::ResilienceHub
|
|
1947
1986
|
# @option params [required, String] :assessment_arn
|
1948
1987
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1949
1988
|
# ARN is:
|
1950
|
-
# arn:`partition`\:
|
1989
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1951
1990
|
# For more information about ARNs, see [ Amazon Resource Names
|
1952
1991
|
# (ARNs)][1] in the *AWS General Reference*.
|
1953
1992
|
#
|
@@ -2094,7 +2133,7 @@ module Aws::ResilienceHub
|
|
2094
2133
|
# @option params [required, String] :assessment_arn
|
2095
2134
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
2096
2135
|
# ARN is:
|
2097
|
-
# arn:`partition`\:
|
2136
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
2098
2137
|
# For more information about ARNs, see [ Amazon Resource Names
|
2099
2138
|
# (ARNs)][1] in the *AWS General Reference*.
|
2100
2139
|
#
|
@@ -2132,6 +2171,8 @@ module Aws::ResilienceHub
|
|
2132
2171
|
# resp.next_token #=> String
|
2133
2172
|
# resp.test_recommendations #=> Array
|
2134
2173
|
# resp.test_recommendations[0].app_component_name #=> String
|
2174
|
+
# resp.test_recommendations[0].depends_on_alarms #=> Array
|
2175
|
+
# resp.test_recommendations[0].depends_on_alarms[0] #=> String
|
2135
2176
|
# resp.test_recommendations[0].description #=> String
|
2136
2177
|
# resp.test_recommendations[0].intent #=> String
|
2137
2178
|
# resp.test_recommendations[0].items #=> Array
|
@@ -2162,7 +2203,8 @@ module Aws::ResilienceHub
|
|
2162
2203
|
#
|
2163
2204
|
# @option params [required, String] :app_arn
|
2164
2205
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2165
|
-
# ARN is:
|
2206
|
+
# ARN is:
|
2207
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2166
2208
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2167
2209
|
# the *AWS General Reference*.
|
2168
2210
|
#
|
@@ -2212,6 +2254,7 @@ module Aws::ResilienceHub
|
|
2212
2254
|
# resp.unsupported_resources[0].logical_resource_id.identifier #=> String
|
2213
2255
|
# resp.unsupported_resources[0].logical_resource_id.logical_stack_name #=> String
|
2214
2256
|
# resp.unsupported_resources[0].logical_resource_id.resource_group_name #=> String
|
2257
|
+
# resp.unsupported_resources[0].logical_resource_id.terraform_source_name #=> String
|
2215
2258
|
# resp.unsupported_resources[0].physical_resource_id.aws_account_id #=> String
|
2216
2259
|
# resp.unsupported_resources[0].physical_resource_id.aws_region #=> String
|
2217
2260
|
# resp.unsupported_resources[0].physical_resource_id.identifier #=> String
|
@@ -2231,7 +2274,8 @@ module Aws::ResilienceHub
|
|
2231
2274
|
#
|
2232
2275
|
# @option params [required, String] :app_arn
|
2233
2276
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2234
|
-
# ARN is:
|
2277
|
+
# ARN is:
|
2278
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2235
2279
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2236
2280
|
# the *AWS General Reference*.
|
2237
2281
|
#
|
@@ -2269,7 +2313,8 @@ module Aws::ResilienceHub
|
|
2269
2313
|
#
|
2270
2314
|
# @option params [required, String] :app_arn
|
2271
2315
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2272
|
-
# ARN is:
|
2316
|
+
# ARN is:
|
2317
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2273
2318
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2274
2319
|
# the *AWS General Reference*.
|
2275
2320
|
#
|
@@ -2310,7 +2355,8 @@ module Aws::ResilienceHub
|
|
2310
2355
|
#
|
2311
2356
|
# @option params [required, String] :app_arn
|
2312
2357
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2313
|
-
# ARN is:
|
2358
|
+
# ARN is:
|
2359
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2314
2360
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2315
2361
|
# the *AWS General Reference*.
|
2316
2362
|
#
|
@@ -2332,6 +2378,9 @@ module Aws::ResilienceHub
|
|
2332
2378
|
# @option params [Array<String>] :resource_names
|
2333
2379
|
# The names of the resources to remove from the resource mappings.
|
2334
2380
|
#
|
2381
|
+
# @option params [Array<String>] :terraform_source_names
|
2382
|
+
# </p>
|
2383
|
+
#
|
2335
2384
|
# @return [Types::RemoveDraftAppVersionResourceMappingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2336
2385
|
#
|
2337
2386
|
# * {Types::RemoveDraftAppVersionResourceMappingsResponse#app_arn #app_arn} => String
|
@@ -2345,6 +2394,7 @@ module Aws::ResilienceHub
|
|
2345
2394
|
# logical_stack_names: ["String255"],
|
2346
2395
|
# resource_group_names: ["EntityName"],
|
2347
2396
|
# resource_names: ["EntityName"],
|
2397
|
+
# terraform_source_names: ["String255"],
|
2348
2398
|
# })
|
2349
2399
|
#
|
2350
2400
|
# @example Response structure
|
@@ -2365,7 +2415,8 @@ module Aws::ResilienceHub
|
|
2365
2415
|
#
|
2366
2416
|
# @option params [required, String] :app_arn
|
2367
2417
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2368
|
-
# ARN is:
|
2418
|
+
# ARN is:
|
2419
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2369
2420
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2370
2421
|
# the *AWS General Reference*.
|
2371
2422
|
#
|
@@ -2410,7 +2461,8 @@ module Aws::ResilienceHub
|
|
2410
2461
|
#
|
2411
2462
|
# @option params [required, String] :app_arn
|
2412
2463
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2413
|
-
# ARN is:
|
2464
|
+
# ARN is:
|
2465
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2414
2466
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2415
2467
|
# the *AWS General Reference*.
|
2416
2468
|
#
|
@@ -2493,6 +2545,11 @@ module Aws::ResilienceHub
|
|
2493
2545
|
# resp.assessment.resiliency_score.disruption_score #=> Hash
|
2494
2546
|
# resp.assessment.resiliency_score.disruption_score["DisruptionType"] #=> Float
|
2495
2547
|
# resp.assessment.resiliency_score.score #=> Float
|
2548
|
+
# resp.assessment.resource_errors_details.has_more_errors #=> Boolean
|
2549
|
+
# resp.assessment.resource_errors_details.resource_errors #=> Array
|
2550
|
+
# resp.assessment.resource_errors_details.resource_errors[0].logical_resource_id #=> String
|
2551
|
+
# resp.assessment.resource_errors_details.resource_errors[0].physical_resource_id #=> String
|
2552
|
+
# resp.assessment.resource_errors_details.resource_errors[0].reason #=> String
|
2496
2553
|
# resp.assessment.start_time #=> Time
|
2497
2554
|
# resp.assessment.tags #=> Hash
|
2498
2555
|
# resp.assessment.tags["TagKey"] #=> String
|
@@ -2565,7 +2622,8 @@ module Aws::ResilienceHub
|
|
2565
2622
|
#
|
2566
2623
|
# @option params [required, String] :app_arn
|
2567
2624
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2568
|
-
# ARN is:
|
2625
|
+
# ARN is:
|
2626
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2569
2627
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2570
2628
|
# the *AWS General Reference*.
|
2571
2629
|
#
|
@@ -2573,6 +2631,9 @@ module Aws::ResilienceHub
|
|
2573
2631
|
#
|
2574
2632
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2575
2633
|
#
|
2634
|
+
# @option params [String] :assessment_schedule
|
2635
|
+
# Assessment execution schedule with 'Daily' or 'Disabled' values.
|
2636
|
+
#
|
2576
2637
|
# @option params [Boolean] :clear_resiliency_policy_arn
|
2577
2638
|
# Specifies if the resiliency policy ARN should be cleared.
|
2578
2639
|
#
|
@@ -2582,7 +2643,7 @@ module Aws::ResilienceHub
|
|
2582
2643
|
# @option params [String] :policy_arn
|
2583
2644
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
2584
2645
|
# for this ARN is:
|
2585
|
-
# arn:`partition`\:
|
2646
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
2586
2647
|
# For more information about ARNs, see [ Amazon Resource Names
|
2587
2648
|
# (ARNs)][1] in the *AWS General Reference*.
|
2588
2649
|
#
|
@@ -2598,6 +2659,7 @@ module Aws::ResilienceHub
|
|
2598
2659
|
#
|
2599
2660
|
# resp = client.update_app({
|
2600
2661
|
# app_arn: "Arn", # required
|
2662
|
+
# assessment_schedule: "Disabled", # accepts Disabled, Daily
|
2601
2663
|
# clear_resiliency_policy_arn: false,
|
2602
2664
|
# description: "EntityDescription",
|
2603
2665
|
# policy_arn: "Arn",
|
@@ -2606,6 +2668,7 @@ module Aws::ResilienceHub
|
|
2606
2668
|
# @example Response structure
|
2607
2669
|
#
|
2608
2670
|
# resp.app.app_arn #=> String
|
2671
|
+
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
2609
2672
|
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
2610
2673
|
# resp.app.creation_time #=> Time
|
2611
2674
|
# resp.app.description #=> String
|
@@ -2640,7 +2703,7 @@ module Aws::ResilienceHub
|
|
2640
2703
|
# @option params [required, String] :policy_arn
|
2641
2704
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
2642
2705
|
# for this ARN is:
|
2643
|
-
# arn:`partition`\:
|
2706
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
2644
2707
|
# For more information about ARNs, see [ Amazon Resource Names
|
2645
2708
|
# (ARNs)][1] in the *AWS General Reference*.
|
2646
2709
|
#
|
@@ -2715,7 +2778,7 @@ module Aws::ResilienceHub
|
|
2715
2778
|
params: params,
|
2716
2779
|
config: config)
|
2717
2780
|
context[:gem_name] = 'aws-sdk-resiliencehub'
|
2718
|
-
context[:gem_version] = '1.
|
2781
|
+
context[:gem_version] = '1.5.0'
|
2719
2782
|
Seahorse::Client::Request.new(handlers, context)
|
2720
2783
|
end
|
2721
2784
|
|