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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehub/client.rb +113 -40
- data/lib/aws-sdk-resiliencehub/client_api.rb +40 -2
- data/lib/aws-sdk-resiliencehub/types.rb +269 -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: 90b3a9f618f2daecf531030ef4cab39fe864bb51ed08f0334c9df972f7f5e899
|
4
|
+
data.tar.gz: b4b1799e0cf8e4426c18ad8484f51decdd09df2e547e8ee10e18cded80fb8d8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b156d2422489d09f780c7836b95a226fecf11c884d894576fcfb333cc6cc9ac92413f85d17916278af4ce21451dca63c449cf7ece7c6c695790d222ba432277
|
7
|
+
data.tar.gz: 98d29d58b382afd3def6486156b37d8eae62fb764022c7c5c7c729d67c19ac95bf4d42d650aa4f79886840fc5dac0cba25a9436725a799656936e11d29898ac0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.6.0 (2022-10-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation change for AWS Resilience Hub. Doc-only update to fix Documentation layout
|
8
|
+
|
9
|
+
1.5.0 (2022-05-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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
|
13
|
+
|
4
14
|
1.4.0 (2022-02-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.6.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
|
#
|
@@ -429,7 +432,15 @@ module Aws::ResilienceHub
|
|
429
432
|
# from one or more–up to five–CloudFormation stacks, and an appropriate
|
430
433
|
# resiliency policy.
|
431
434
|
#
|
432
|
-
#
|
435
|
+
# After you create a Resilience Hub application, you publish it so that
|
436
|
+
# you can run a resiliency assessment on it. You can then use
|
437
|
+
# recommendations from the assessment to improve resiliency by running
|
438
|
+
# another assessment, comparing results, and then iterating the process
|
439
|
+
# until you achieve your goals for recovery time objective (RTO) and
|
440
|
+
# recovery point objective (RPO).
|
441
|
+
#
|
442
|
+
# @option params [String] :assessment_schedule
|
443
|
+
# Assessment execution schedule with 'Daily' or 'Disabled' values.
|
433
444
|
#
|
434
445
|
# @option params [String] :client_token
|
435
446
|
# Used for an idempotency token. A client token is a unique,
|
@@ -448,7 +459,7 @@ module Aws::ResilienceHub
|
|
448
459
|
# @option params [String] :policy_arn
|
449
460
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
450
461
|
# for this ARN is:
|
451
|
-
# arn:`partition`\:
|
462
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
452
463
|
# For more information about ARNs, see [ Amazon Resource Names
|
453
464
|
# (ARNs)][1] in the *AWS General Reference*.
|
454
465
|
#
|
@@ -468,6 +479,7 @@ module Aws::ResilienceHub
|
|
468
479
|
# @example Request syntax with placeholder values
|
469
480
|
#
|
470
481
|
# resp = client.create_app({
|
482
|
+
# assessment_schedule: "Disabled", # accepts Disabled, Daily
|
471
483
|
# client_token: "ClientToken",
|
472
484
|
# description: "EntityDescription",
|
473
485
|
# name: "EntityName", # required
|
@@ -480,6 +492,7 @@ module Aws::ResilienceHub
|
|
480
492
|
# @example Response structure
|
481
493
|
#
|
482
494
|
# resp.app.app_arn #=> String
|
495
|
+
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
483
496
|
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
484
497
|
# resp.app.creation_time #=> Time
|
485
498
|
# resp.app.description #=> String
|
@@ -506,7 +519,7 @@ module Aws::ResilienceHub
|
|
506
519
|
# @option params [required, String] :assessment_arn
|
507
520
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
508
521
|
# ARN is:
|
509
|
-
# arn:`partition`\:
|
522
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
510
523
|
# For more information about ARNs, see [ Amazon Resource Names
|
511
524
|
# (ARNs)][1] in the *AWS General Reference*.
|
512
525
|
#
|
@@ -699,7 +712,8 @@ module Aws::ResilienceHub
|
|
699
712
|
#
|
700
713
|
# @option params [required, String] :app_arn
|
701
714
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
702
|
-
# ARN is:
|
715
|
+
# ARN is:
|
716
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
703
717
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
704
718
|
# the *AWS General Reference*.
|
705
719
|
#
|
@@ -750,7 +764,7 @@ module Aws::ResilienceHub
|
|
750
764
|
# @option params [required, String] :assessment_arn
|
751
765
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
752
766
|
# ARN is:
|
753
|
-
# arn:`partition`\:
|
767
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
754
768
|
# For more information about ARNs, see [ Amazon Resource Names
|
755
769
|
# (ARNs)][1] in the *AWS General Reference*.
|
756
770
|
#
|
@@ -846,7 +860,7 @@ module Aws::ResilienceHub
|
|
846
860
|
# @option params [required, String] :policy_arn
|
847
861
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
848
862
|
# for this ARN is:
|
849
|
-
# arn:`partition`\:
|
863
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
850
864
|
# For more information about ARNs, see [ Amazon Resource Names
|
851
865
|
# (ARNs)][1] in the *AWS General Reference*.
|
852
866
|
#
|
@@ -882,7 +896,8 @@ module Aws::ResilienceHub
|
|
882
896
|
#
|
883
897
|
# @option params [required, String] :app_arn
|
884
898
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
885
|
-
# ARN is:
|
899
|
+
# ARN is:
|
900
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
886
901
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
887
902
|
# the *AWS General Reference*.
|
888
903
|
#
|
@@ -903,6 +918,7 @@ module Aws::ResilienceHub
|
|
903
918
|
# @example Response structure
|
904
919
|
#
|
905
920
|
# resp.app.app_arn #=> String
|
921
|
+
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
906
922
|
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
907
923
|
# resp.app.creation_time #=> Time
|
908
924
|
# resp.app.description #=> String
|
@@ -929,7 +945,7 @@ module Aws::ResilienceHub
|
|
929
945
|
# @option params [required, String] :assessment_arn
|
930
946
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
931
947
|
# ARN is:
|
932
|
-
# arn:`partition`\:
|
948
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
933
949
|
# For more information about ARNs, see [ Amazon Resource Names
|
934
950
|
# (ARNs)][1] in the *AWS General Reference*.
|
935
951
|
#
|
@@ -987,6 +1003,11 @@ module Aws::ResilienceHub
|
|
987
1003
|
# resp.assessment.resiliency_score.disruption_score #=> Hash
|
988
1004
|
# resp.assessment.resiliency_score.disruption_score["DisruptionType"] #=> Float
|
989
1005
|
# resp.assessment.resiliency_score.score #=> Float
|
1006
|
+
# resp.assessment.resource_errors_details.has_more_errors #=> Boolean
|
1007
|
+
# resp.assessment.resource_errors_details.resource_errors #=> Array
|
1008
|
+
# resp.assessment.resource_errors_details.resource_errors[0].logical_resource_id #=> String
|
1009
|
+
# resp.assessment.resource_errors_details.resource_errors[0].physical_resource_id #=> String
|
1010
|
+
# resp.assessment.resource_errors_details.resource_errors[0].reason #=> String
|
990
1011
|
# resp.assessment.start_time #=> Time
|
991
1012
|
# resp.assessment.tags #=> Hash
|
992
1013
|
# resp.assessment.tags["TagKey"] #=> String
|
@@ -1006,7 +1027,8 @@ module Aws::ResilienceHub
|
|
1006
1027
|
#
|
1007
1028
|
# @option params [required, String] :app_arn
|
1008
1029
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1009
|
-
# ARN is:
|
1030
|
+
# ARN is:
|
1031
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1010
1032
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1011
1033
|
# the *AWS General Reference*.
|
1012
1034
|
#
|
@@ -1057,7 +1079,8 @@ module Aws::ResilienceHub
|
|
1057
1079
|
#
|
1058
1080
|
# @option params [required, String] :app_arn
|
1059
1081
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1060
|
-
# ARN is:
|
1082
|
+
# ARN is:
|
1083
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1061
1084
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1062
1085
|
# the *AWS General Reference*.
|
1063
1086
|
#
|
@@ -1100,7 +1123,8 @@ module Aws::ResilienceHub
|
|
1100
1123
|
#
|
1101
1124
|
# @option params [required, String] :app_arn
|
1102
1125
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1103
|
-
# ARN is:
|
1126
|
+
# ARN is:
|
1127
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1104
1128
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1105
1129
|
# the *AWS General Reference*.
|
1106
1130
|
#
|
@@ -1147,7 +1171,7 @@ module Aws::ResilienceHub
|
|
1147
1171
|
# @option params [required, String] :policy_arn
|
1148
1172
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1149
1173
|
# for this ARN is:
|
1150
|
-
# arn:`partition`\:
|
1174
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
1151
1175
|
# For more information about ARNs, see [ Amazon Resource Names
|
1152
1176
|
# (ARNs)][1] in the *AWS General Reference*.
|
1153
1177
|
#
|
@@ -1195,7 +1219,8 @@ module Aws::ResilienceHub
|
|
1195
1219
|
#
|
1196
1220
|
# @option params [required, String] :app_arn
|
1197
1221
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1198
|
-
# ARN is:
|
1222
|
+
# ARN is:
|
1223
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1199
1224
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1200
1225
|
# the *AWS General Reference*.
|
1201
1226
|
#
|
@@ -1203,22 +1228,31 @@ module Aws::ResilienceHub
|
|
1203
1228
|
#
|
1204
1229
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1205
1230
|
#
|
1206
|
-
# @option params [
|
1231
|
+
# @option params [Array<String>] :source_arns
|
1207
1232
|
# The Amazon Resource Names (ARNs) for the resources that you want to
|
1208
1233
|
# import.
|
1209
1234
|
#
|
1235
|
+
# @option params [Array<Types::TerraformSource>] :terraform_sources
|
1236
|
+
# A list of terraform file s3 URLs you need to import.
|
1237
|
+
#
|
1210
1238
|
# @return [Types::ImportResourcesToDraftAppVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1211
1239
|
#
|
1212
1240
|
# * {Types::ImportResourcesToDraftAppVersionResponse#app_arn #app_arn} => String
|
1213
1241
|
# * {Types::ImportResourcesToDraftAppVersionResponse#app_version #app_version} => String
|
1214
1242
|
# * {Types::ImportResourcesToDraftAppVersionResponse#source_arns #source_arns} => Array<String>
|
1215
1243
|
# * {Types::ImportResourcesToDraftAppVersionResponse#status #status} => String
|
1244
|
+
# * {Types::ImportResourcesToDraftAppVersionResponse#terraform_sources #terraform_sources} => Array<Types::TerraformSource>
|
1216
1245
|
#
|
1217
1246
|
# @example Request syntax with placeholder values
|
1218
1247
|
#
|
1219
1248
|
# resp = client.import_resources_to_draft_app_version({
|
1220
1249
|
# app_arn: "Arn", # required
|
1221
|
-
# source_arns: ["Arn"],
|
1250
|
+
# source_arns: ["Arn"],
|
1251
|
+
# terraform_sources: [
|
1252
|
+
# {
|
1253
|
+
# s3_state_file_url: "S3Url", # required
|
1254
|
+
# },
|
1255
|
+
# ],
|
1222
1256
|
# })
|
1223
1257
|
#
|
1224
1258
|
# @example Response structure
|
@@ -1228,6 +1262,8 @@ module Aws::ResilienceHub
|
|
1228
1262
|
# resp.source_arns #=> Array
|
1229
1263
|
# resp.source_arns[0] #=> String
|
1230
1264
|
# resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
|
1265
|
+
# resp.terraform_sources #=> Array
|
1266
|
+
# resp.terraform_sources[0].s3_state_file_url #=> String
|
1231
1267
|
#
|
1232
1268
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion AWS API Documentation
|
1233
1269
|
#
|
@@ -1243,7 +1279,7 @@ module Aws::ResilienceHub
|
|
1243
1279
|
# @option params [required, String] :assessment_arn
|
1244
1280
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1245
1281
|
# ARN is:
|
1246
|
-
# arn:`partition`\:
|
1282
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1247
1283
|
# For more information about ARNs, see [ Amazon Resource Names
|
1248
1284
|
# (ARNs)][1] in the *AWS General Reference*.
|
1249
1285
|
#
|
@@ -1307,7 +1343,8 @@ module Aws::ResilienceHub
|
|
1307
1343
|
#
|
1308
1344
|
# @option params [String] :app_arn
|
1309
1345
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1310
|
-
# ARN is:
|
1346
|
+
# ARN is:
|
1347
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1311
1348
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1312
1349
|
# the *AWS General Reference*.
|
1313
1350
|
#
|
@@ -1395,7 +1432,7 @@ module Aws::ResilienceHub
|
|
1395
1432
|
# @option params [required, String] :assessment_arn
|
1396
1433
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1397
1434
|
# ARN is:
|
1398
|
-
# arn:`partition`\:
|
1435
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1399
1436
|
# For more information about ARNs, see [ Amazon Resource Names
|
1400
1437
|
# (ARNs)][1] in the *AWS General Reference*.
|
1401
1438
|
#
|
@@ -1467,7 +1504,7 @@ module Aws::ResilienceHub
|
|
1467
1504
|
# @option params [required, String] :assessment_arn
|
1468
1505
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1469
1506
|
# ARN is:
|
1470
|
-
# arn:`partition`\:
|
1507
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1471
1508
|
# For more information about ARNs, see [ Amazon Resource Names
|
1472
1509
|
# (ARNs)][1] in the *AWS General Reference*.
|
1473
1510
|
#
|
@@ -1551,7 +1588,8 @@ module Aws::ResilienceHub
|
|
1551
1588
|
#
|
1552
1589
|
# @option params [required, String] :app_arn
|
1553
1590
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1554
|
-
# ARN is:
|
1591
|
+
# ARN is:
|
1592
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1555
1593
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1556
1594
|
# the *AWS General Reference*.
|
1557
1595
|
#
|
@@ -1594,13 +1632,14 @@ module Aws::ResilienceHub
|
|
1594
1632
|
# resp.resource_mappings #=> Array
|
1595
1633
|
# resp.resource_mappings[0].app_registry_app_name #=> String
|
1596
1634
|
# resp.resource_mappings[0].logical_stack_name #=> String
|
1597
|
-
# resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup"
|
1635
|
+
# resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform"
|
1598
1636
|
# resp.resource_mappings[0].physical_resource_id.aws_account_id #=> String
|
1599
1637
|
# resp.resource_mappings[0].physical_resource_id.aws_region #=> String
|
1600
1638
|
# resp.resource_mappings[0].physical_resource_id.identifier #=> String
|
1601
1639
|
# resp.resource_mappings[0].physical_resource_id.type #=> String, one of "Arn", "Native"
|
1602
1640
|
# resp.resource_mappings[0].resource_group_name #=> String
|
1603
1641
|
# resp.resource_mappings[0].resource_name #=> String
|
1642
|
+
# resp.resource_mappings[0].terraform_source_name #=> String
|
1604
1643
|
#
|
1605
1644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappings AWS API Documentation
|
1606
1645
|
#
|
@@ -1615,7 +1654,8 @@ module Aws::ResilienceHub
|
|
1615
1654
|
#
|
1616
1655
|
# @option params [required, String] :app_arn
|
1617
1656
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1618
|
-
# ARN is:
|
1657
|
+
# ARN is:
|
1658
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1619
1659
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1620
1660
|
# the *AWS General Reference*.
|
1621
1661
|
#
|
@@ -1667,6 +1707,7 @@ module Aws::ResilienceHub
|
|
1667
1707
|
# resp.physical_resources[0].logical_resource_id.identifier #=> String
|
1668
1708
|
# resp.physical_resources[0].logical_resource_id.logical_stack_name #=> String
|
1669
1709
|
# resp.physical_resources[0].logical_resource_id.resource_group_name #=> String
|
1710
|
+
# resp.physical_resources[0].logical_resource_id.terraform_source_name #=> String
|
1670
1711
|
# resp.physical_resources[0].physical_resource_id.aws_account_id #=> String
|
1671
1712
|
# resp.physical_resources[0].physical_resource_id.aws_region #=> String
|
1672
1713
|
# resp.physical_resources[0].physical_resource_id.identifier #=> String
|
@@ -1688,7 +1729,8 @@ module Aws::ResilienceHub
|
|
1688
1729
|
#
|
1689
1730
|
# @option params [required, String] :app_arn
|
1690
1731
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1691
|
-
# ARN is:
|
1732
|
+
# ARN is:
|
1733
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1692
1734
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1693
1735
|
# the *AWS General Reference*.
|
1694
1736
|
#
|
@@ -1740,7 +1782,8 @@ module Aws::ResilienceHub
|
|
1740
1782
|
#
|
1741
1783
|
# @option params [String] :app_arn
|
1742
1784
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1743
|
-
# ARN is:
|
1785
|
+
# ARN is:
|
1786
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1744
1787
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1745
1788
|
# the *AWS General Reference*.
|
1746
1789
|
#
|
@@ -1781,6 +1824,7 @@ module Aws::ResilienceHub
|
|
1781
1824
|
#
|
1782
1825
|
# resp.app_summaries #=> Array
|
1783
1826
|
# resp.app_summaries[0].app_arn #=> String
|
1827
|
+
# resp.app_summaries[0].assessment_schedule #=> String, one of "Disabled", "Daily"
|
1784
1828
|
# resp.app_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
1785
1829
|
# resp.app_summaries[0].creation_time #=> Time
|
1786
1830
|
# resp.app_summaries[0].description #=> String
|
@@ -1803,7 +1847,7 @@ module Aws::ResilienceHub
|
|
1803
1847
|
# @option params [required, String] :assessment_arn
|
1804
1848
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1805
1849
|
# ARN is:
|
1806
|
-
# arn:`partition`\:
|
1850
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1807
1851
|
# For more information about ARNs, see [ Amazon Resource Names
|
1808
1852
|
# (ARNs)][1] in the *AWS General Reference*.
|
1809
1853
|
#
|
@@ -1947,7 +1991,7 @@ module Aws::ResilienceHub
|
|
1947
1991
|
# @option params [required, String] :assessment_arn
|
1948
1992
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1949
1993
|
# ARN is:
|
1950
|
-
# arn:`partition`\:
|
1994
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1951
1995
|
# For more information about ARNs, see [ Amazon Resource Names
|
1952
1996
|
# (ARNs)][1] in the *AWS General Reference*.
|
1953
1997
|
#
|
@@ -2094,7 +2138,7 @@ module Aws::ResilienceHub
|
|
2094
2138
|
# @option params [required, String] :assessment_arn
|
2095
2139
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
2096
2140
|
# ARN is:
|
2097
|
-
# arn:`partition`\:
|
2141
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
2098
2142
|
# For more information about ARNs, see [ Amazon Resource Names
|
2099
2143
|
# (ARNs)][1] in the *AWS General Reference*.
|
2100
2144
|
#
|
@@ -2132,6 +2176,8 @@ module Aws::ResilienceHub
|
|
2132
2176
|
# resp.next_token #=> String
|
2133
2177
|
# resp.test_recommendations #=> Array
|
2134
2178
|
# resp.test_recommendations[0].app_component_name #=> String
|
2179
|
+
# resp.test_recommendations[0].depends_on_alarms #=> Array
|
2180
|
+
# resp.test_recommendations[0].depends_on_alarms[0] #=> String
|
2135
2181
|
# resp.test_recommendations[0].description #=> String
|
2136
2182
|
# resp.test_recommendations[0].intent #=> String
|
2137
2183
|
# resp.test_recommendations[0].items #=> Array
|
@@ -2162,7 +2208,8 @@ module Aws::ResilienceHub
|
|
2162
2208
|
#
|
2163
2209
|
# @option params [required, String] :app_arn
|
2164
2210
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2165
|
-
# ARN is:
|
2211
|
+
# ARN is:
|
2212
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2166
2213
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2167
2214
|
# the *AWS General Reference*.
|
2168
2215
|
#
|
@@ -2212,6 +2259,7 @@ module Aws::ResilienceHub
|
|
2212
2259
|
# resp.unsupported_resources[0].logical_resource_id.identifier #=> String
|
2213
2260
|
# resp.unsupported_resources[0].logical_resource_id.logical_stack_name #=> String
|
2214
2261
|
# resp.unsupported_resources[0].logical_resource_id.resource_group_name #=> String
|
2262
|
+
# resp.unsupported_resources[0].logical_resource_id.terraform_source_name #=> String
|
2215
2263
|
# resp.unsupported_resources[0].physical_resource_id.aws_account_id #=> String
|
2216
2264
|
# resp.unsupported_resources[0].physical_resource_id.aws_region #=> String
|
2217
2265
|
# resp.unsupported_resources[0].physical_resource_id.identifier #=> String
|
@@ -2231,7 +2279,8 @@ module Aws::ResilienceHub
|
|
2231
2279
|
#
|
2232
2280
|
# @option params [required, String] :app_arn
|
2233
2281
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2234
|
-
# ARN is:
|
2282
|
+
# ARN is:
|
2283
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2235
2284
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2236
2285
|
# the *AWS General Reference*.
|
2237
2286
|
#
|
@@ -2269,7 +2318,8 @@ module Aws::ResilienceHub
|
|
2269
2318
|
#
|
2270
2319
|
# @option params [required, String] :app_arn
|
2271
2320
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2272
|
-
# ARN is:
|
2321
|
+
# ARN is:
|
2322
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2273
2323
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2274
2324
|
# the *AWS General Reference*.
|
2275
2325
|
#
|
@@ -2310,7 +2360,8 @@ module Aws::ResilienceHub
|
|
2310
2360
|
#
|
2311
2361
|
# @option params [required, String] :app_arn
|
2312
2362
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2313
|
-
# ARN is:
|
2363
|
+
# ARN is:
|
2364
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2314
2365
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2315
2366
|
# the *AWS General Reference*.
|
2316
2367
|
#
|
@@ -2332,6 +2383,9 @@ module Aws::ResilienceHub
|
|
2332
2383
|
# @option params [Array<String>] :resource_names
|
2333
2384
|
# The names of the resources to remove from the resource mappings.
|
2334
2385
|
#
|
2386
|
+
# @option params [Array<String>] :terraform_source_names
|
2387
|
+
# </p>
|
2388
|
+
#
|
2335
2389
|
# @return [Types::RemoveDraftAppVersionResourceMappingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2336
2390
|
#
|
2337
2391
|
# * {Types::RemoveDraftAppVersionResourceMappingsResponse#app_arn #app_arn} => String
|
@@ -2345,6 +2399,7 @@ module Aws::ResilienceHub
|
|
2345
2399
|
# logical_stack_names: ["String255"],
|
2346
2400
|
# resource_group_names: ["EntityName"],
|
2347
2401
|
# resource_names: ["EntityName"],
|
2402
|
+
# terraform_source_names: ["String255"],
|
2348
2403
|
# })
|
2349
2404
|
#
|
2350
2405
|
# @example Response structure
|
@@ -2365,7 +2420,8 @@ module Aws::ResilienceHub
|
|
2365
2420
|
#
|
2366
2421
|
# @option params [required, String] :app_arn
|
2367
2422
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2368
|
-
# ARN is:
|
2423
|
+
# ARN is:
|
2424
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2369
2425
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2370
2426
|
# the *AWS General Reference*.
|
2371
2427
|
#
|
@@ -2410,7 +2466,8 @@ module Aws::ResilienceHub
|
|
2410
2466
|
#
|
2411
2467
|
# @option params [required, String] :app_arn
|
2412
2468
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2413
|
-
# ARN is:
|
2469
|
+
# ARN is:
|
2470
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2414
2471
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2415
2472
|
# the *AWS General Reference*.
|
2416
2473
|
#
|
@@ -2493,6 +2550,11 @@ module Aws::ResilienceHub
|
|
2493
2550
|
# resp.assessment.resiliency_score.disruption_score #=> Hash
|
2494
2551
|
# resp.assessment.resiliency_score.disruption_score["DisruptionType"] #=> Float
|
2495
2552
|
# resp.assessment.resiliency_score.score #=> Float
|
2553
|
+
# resp.assessment.resource_errors_details.has_more_errors #=> Boolean
|
2554
|
+
# resp.assessment.resource_errors_details.resource_errors #=> Array
|
2555
|
+
# resp.assessment.resource_errors_details.resource_errors[0].logical_resource_id #=> String
|
2556
|
+
# resp.assessment.resource_errors_details.resource_errors[0].physical_resource_id #=> String
|
2557
|
+
# resp.assessment.resource_errors_details.resource_errors[0].reason #=> String
|
2496
2558
|
# resp.assessment.start_time #=> Time
|
2497
2559
|
# resp.assessment.tags #=> Hash
|
2498
2560
|
# resp.assessment.tags["TagKey"] #=> String
|
@@ -2565,7 +2627,8 @@ module Aws::ResilienceHub
|
|
2565
2627
|
#
|
2566
2628
|
# @option params [required, String] :app_arn
|
2567
2629
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2568
|
-
# ARN is:
|
2630
|
+
# ARN is:
|
2631
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2569
2632
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2570
2633
|
# the *AWS General Reference*.
|
2571
2634
|
#
|
@@ -2573,6 +2636,9 @@ module Aws::ResilienceHub
|
|
2573
2636
|
#
|
2574
2637
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2575
2638
|
#
|
2639
|
+
# @option params [String] :assessment_schedule
|
2640
|
+
# Assessment execution schedule with 'Daily' or 'Disabled' values.
|
2641
|
+
#
|
2576
2642
|
# @option params [Boolean] :clear_resiliency_policy_arn
|
2577
2643
|
# Specifies if the resiliency policy ARN should be cleared.
|
2578
2644
|
#
|
@@ -2582,7 +2648,7 @@ module Aws::ResilienceHub
|
|
2582
2648
|
# @option params [String] :policy_arn
|
2583
2649
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
2584
2650
|
# for this ARN is:
|
2585
|
-
# arn:`partition`\:
|
2651
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
2586
2652
|
# For more information about ARNs, see [ Amazon Resource Names
|
2587
2653
|
# (ARNs)][1] in the *AWS General Reference*.
|
2588
2654
|
#
|
@@ -2598,6 +2664,7 @@ module Aws::ResilienceHub
|
|
2598
2664
|
#
|
2599
2665
|
# resp = client.update_app({
|
2600
2666
|
# app_arn: "Arn", # required
|
2667
|
+
# assessment_schedule: "Disabled", # accepts Disabled, Daily
|
2601
2668
|
# clear_resiliency_policy_arn: false,
|
2602
2669
|
# description: "EntityDescription",
|
2603
2670
|
# policy_arn: "Arn",
|
@@ -2606,6 +2673,7 @@ module Aws::ResilienceHub
|
|
2606
2673
|
# @example Response structure
|
2607
2674
|
#
|
2608
2675
|
# resp.app.app_arn #=> String
|
2676
|
+
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
2609
2677
|
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
2610
2678
|
# resp.app.creation_time #=> Time
|
2611
2679
|
# resp.app.description #=> String
|
@@ -2637,10 +2705,15 @@ module Aws::ResilienceHub
|
|
2637
2705
|
# The type of resiliency policy to be created, including the recovery
|
2638
2706
|
# time objective (RTO) and recovery point objective (RPO) in seconds.
|
2639
2707
|
#
|
2708
|
+
# <note markdown="1"> If you do not want to specify regional targets for a regional policy,
|
2709
|
+
# you must set the values of `rpoInSecs` and `rtoInSecs` to `-1`.
|
2710
|
+
#
|
2711
|
+
# </note>
|
2712
|
+
#
|
2640
2713
|
# @option params [required, String] :policy_arn
|
2641
2714
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
2642
2715
|
# for this ARN is:
|
2643
|
-
# arn:`partition`\:
|
2716
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
2644
2717
|
# For more information about ARNs, see [ Amazon Resource Names
|
2645
2718
|
# (ARNs)][1] in the *AWS General Reference*.
|
2646
2719
|
#
|
@@ -2715,7 +2788,7 @@ module Aws::ResilienceHub
|
|
2715
2788
|
params: params,
|
2716
2789
|
config: config)
|
2717
2790
|
context[:gem_name] = 'aws-sdk-resiliencehub'
|
2718
|
-
context[:gem_version] = '1.
|
2791
|
+
context[:gem_version] = '1.6.0'
|
2719
2792
|
Seahorse::Client::Request.new(handlers, context)
|
2720
2793
|
end
|
2721
2794
|
|