aws-sdk-resiliencehub 1.2.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehub/client.rb +106 -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 +4 -4
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,21 @@
|
|
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
|
+
|
9
|
+
1.4.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.3.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.2.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::ResilienceHub
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -351,7 +355,8 @@ module Aws::ResilienceHub
|
|
351
355
|
#
|
352
356
|
# @option params [required, String] :app_arn
|
353
357
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
354
|
-
# ARN is:
|
358
|
+
# ARN is:
|
359
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
355
360
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
356
361
|
# the *AWS General Reference*.
|
357
362
|
#
|
@@ -381,7 +386,7 @@ module Aws::ResilienceHub
|
|
381
386
|
# {
|
382
387
|
# app_registry_app_name: "EntityName",
|
383
388
|
# logical_stack_name: "String255",
|
384
|
-
# mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup
|
389
|
+
# mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform
|
385
390
|
# physical_resource_id: { # required
|
386
391
|
# aws_account_id: "CustomerId",
|
387
392
|
# aws_region: "AwsRegion",
|
@@ -390,6 +395,7 @@ module Aws::ResilienceHub
|
|
390
395
|
# },
|
391
396
|
# resource_group_name: "EntityName",
|
392
397
|
# resource_name: "EntityName",
|
398
|
+
# terraform_source_name: "String255",
|
393
399
|
# },
|
394
400
|
# ],
|
395
401
|
# })
|
@@ -401,13 +407,14 @@ module Aws::ResilienceHub
|
|
401
407
|
# resp.resource_mappings #=> Array
|
402
408
|
# resp.resource_mappings[0].app_registry_app_name #=> String
|
403
409
|
# resp.resource_mappings[0].logical_stack_name #=> String
|
404
|
-
# 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"
|
405
411
|
# resp.resource_mappings[0].physical_resource_id.aws_account_id #=> String
|
406
412
|
# resp.resource_mappings[0].physical_resource_id.aws_region #=> String
|
407
413
|
# resp.resource_mappings[0].physical_resource_id.identifier #=> String
|
408
414
|
# resp.resource_mappings[0].physical_resource_id.type #=> String, one of "Arn", "Native"
|
409
415
|
# resp.resource_mappings[0].resource_group_name #=> String
|
410
416
|
# resp.resource_mappings[0].resource_name #=> String
|
417
|
+
# resp.resource_mappings[0].terraform_source_name #=> String
|
411
418
|
#
|
412
419
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AddDraftAppVersionResourceMappings AWS API Documentation
|
413
420
|
#
|
@@ -427,6 +434,9 @@ module Aws::ResilienceHub
|
|
427
434
|
#
|
428
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>
|
429
436
|
#
|
437
|
+
# @option params [String] :assessment_schedule
|
438
|
+
# Assessment execution schedule with 'Daily' or 'Disabled' values.
|
439
|
+
#
|
430
440
|
# @option params [String] :client_token
|
431
441
|
# Used for an idempotency token. A client token is a unique,
|
432
442
|
# case-sensitive string of up to 64 ASCII characters. You should not
|
@@ -444,7 +454,7 @@ module Aws::ResilienceHub
|
|
444
454
|
# @option params [String] :policy_arn
|
445
455
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
446
456
|
# for this ARN is:
|
447
|
-
# arn:`partition`\:
|
457
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
448
458
|
# For more information about ARNs, see [ Amazon Resource Names
|
449
459
|
# (ARNs)][1] in the *AWS General Reference*.
|
450
460
|
#
|
@@ -464,6 +474,7 @@ module Aws::ResilienceHub
|
|
464
474
|
# @example Request syntax with placeholder values
|
465
475
|
#
|
466
476
|
# resp = client.create_app({
|
477
|
+
# assessment_schedule: "Disabled", # accepts Disabled, Daily
|
467
478
|
# client_token: "ClientToken",
|
468
479
|
# description: "EntityDescription",
|
469
480
|
# name: "EntityName", # required
|
@@ -476,6 +487,7 @@ module Aws::ResilienceHub
|
|
476
487
|
# @example Response structure
|
477
488
|
#
|
478
489
|
# resp.app.app_arn #=> String
|
490
|
+
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
479
491
|
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
480
492
|
# resp.app.creation_time #=> Time
|
481
493
|
# resp.app.description #=> String
|
@@ -502,7 +514,7 @@ module Aws::ResilienceHub
|
|
502
514
|
# @option params [required, String] :assessment_arn
|
503
515
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
504
516
|
# ARN is:
|
505
|
-
# arn:`partition`\:
|
517
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
506
518
|
# For more information about ARNs, see [ Amazon Resource Names
|
507
519
|
# (ARNs)][1] in the *AWS General Reference*.
|
508
520
|
#
|
@@ -695,7 +707,8 @@ module Aws::ResilienceHub
|
|
695
707
|
#
|
696
708
|
# @option params [required, String] :app_arn
|
697
709
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
698
|
-
# ARN is:
|
710
|
+
# ARN is:
|
711
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
699
712
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
700
713
|
# the *AWS General Reference*.
|
701
714
|
#
|
@@ -746,7 +759,7 @@ module Aws::ResilienceHub
|
|
746
759
|
# @option params [required, String] :assessment_arn
|
747
760
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
748
761
|
# ARN is:
|
749
|
-
# arn:`partition`\:
|
762
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
750
763
|
# For more information about ARNs, see [ Amazon Resource Names
|
751
764
|
# (ARNs)][1] in the *AWS General Reference*.
|
752
765
|
#
|
@@ -842,7 +855,7 @@ module Aws::ResilienceHub
|
|
842
855
|
# @option params [required, String] :policy_arn
|
843
856
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
844
857
|
# for this ARN is:
|
845
|
-
# arn:`partition`\:
|
858
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
846
859
|
# For more information about ARNs, see [ Amazon Resource Names
|
847
860
|
# (ARNs)][1] in the *AWS General Reference*.
|
848
861
|
#
|
@@ -878,7 +891,8 @@ module Aws::ResilienceHub
|
|
878
891
|
#
|
879
892
|
# @option params [required, String] :app_arn
|
880
893
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
881
|
-
# ARN is:
|
894
|
+
# ARN is:
|
895
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
882
896
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
883
897
|
# the *AWS General Reference*.
|
884
898
|
#
|
@@ -899,6 +913,7 @@ module Aws::ResilienceHub
|
|
899
913
|
# @example Response structure
|
900
914
|
#
|
901
915
|
# resp.app.app_arn #=> String
|
916
|
+
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
902
917
|
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
903
918
|
# resp.app.creation_time #=> Time
|
904
919
|
# resp.app.description #=> String
|
@@ -925,7 +940,7 @@ module Aws::ResilienceHub
|
|
925
940
|
# @option params [required, String] :assessment_arn
|
926
941
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
927
942
|
# ARN is:
|
928
|
-
# arn:`partition`\:
|
943
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
929
944
|
# For more information about ARNs, see [ Amazon Resource Names
|
930
945
|
# (ARNs)][1] in the *AWS General Reference*.
|
931
946
|
#
|
@@ -983,6 +998,11 @@ module Aws::ResilienceHub
|
|
983
998
|
# resp.assessment.resiliency_score.disruption_score #=> Hash
|
984
999
|
# resp.assessment.resiliency_score.disruption_score["DisruptionType"] #=> Float
|
985
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
|
986
1006
|
# resp.assessment.start_time #=> Time
|
987
1007
|
# resp.assessment.tags #=> Hash
|
988
1008
|
# resp.assessment.tags["TagKey"] #=> String
|
@@ -1002,7 +1022,8 @@ module Aws::ResilienceHub
|
|
1002
1022
|
#
|
1003
1023
|
# @option params [required, String] :app_arn
|
1004
1024
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1005
|
-
# ARN is:
|
1025
|
+
# ARN is:
|
1026
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1006
1027
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1007
1028
|
# the *AWS General Reference*.
|
1008
1029
|
#
|
@@ -1053,7 +1074,8 @@ module Aws::ResilienceHub
|
|
1053
1074
|
#
|
1054
1075
|
# @option params [required, String] :app_arn
|
1055
1076
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1056
|
-
# ARN is:
|
1077
|
+
# ARN is:
|
1078
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1057
1079
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1058
1080
|
# the *AWS General Reference*.
|
1059
1081
|
#
|
@@ -1096,7 +1118,8 @@ module Aws::ResilienceHub
|
|
1096
1118
|
#
|
1097
1119
|
# @option params [required, String] :app_arn
|
1098
1120
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1099
|
-
# ARN is:
|
1121
|
+
# ARN is:
|
1122
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1100
1123
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1101
1124
|
# the *AWS General Reference*.
|
1102
1125
|
#
|
@@ -1143,7 +1166,7 @@ module Aws::ResilienceHub
|
|
1143
1166
|
# @option params [required, String] :policy_arn
|
1144
1167
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1145
1168
|
# for this ARN is:
|
1146
|
-
# arn:`partition`\:
|
1169
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
1147
1170
|
# For more information about ARNs, see [ Amazon Resource Names
|
1148
1171
|
# (ARNs)][1] in the *AWS General Reference*.
|
1149
1172
|
#
|
@@ -1191,7 +1214,8 @@ module Aws::ResilienceHub
|
|
1191
1214
|
#
|
1192
1215
|
# @option params [required, String] :app_arn
|
1193
1216
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1194
|
-
# ARN is:
|
1217
|
+
# ARN is:
|
1218
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1195
1219
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1196
1220
|
# the *AWS General Reference*.
|
1197
1221
|
#
|
@@ -1199,22 +1223,31 @@ module Aws::ResilienceHub
|
|
1199
1223
|
#
|
1200
1224
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1201
1225
|
#
|
1202
|
-
# @option params [
|
1226
|
+
# @option params [Array<String>] :source_arns
|
1203
1227
|
# The Amazon Resource Names (ARNs) for the resources that you want to
|
1204
1228
|
# import.
|
1205
1229
|
#
|
1230
|
+
# @option params [Array<Types::TerraformSource>] :terraform_sources
|
1231
|
+
# A list of terraform file s3 URLs you need to import.
|
1232
|
+
#
|
1206
1233
|
# @return [Types::ImportResourcesToDraftAppVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1207
1234
|
#
|
1208
1235
|
# * {Types::ImportResourcesToDraftAppVersionResponse#app_arn #app_arn} => String
|
1209
1236
|
# * {Types::ImportResourcesToDraftAppVersionResponse#app_version #app_version} => String
|
1210
1237
|
# * {Types::ImportResourcesToDraftAppVersionResponse#source_arns #source_arns} => Array<String>
|
1211
1238
|
# * {Types::ImportResourcesToDraftAppVersionResponse#status #status} => String
|
1239
|
+
# * {Types::ImportResourcesToDraftAppVersionResponse#terraform_sources #terraform_sources} => Array<Types::TerraformSource>
|
1212
1240
|
#
|
1213
1241
|
# @example Request syntax with placeholder values
|
1214
1242
|
#
|
1215
1243
|
# resp = client.import_resources_to_draft_app_version({
|
1216
1244
|
# app_arn: "Arn", # required
|
1217
|
-
# source_arns: ["Arn"],
|
1245
|
+
# source_arns: ["Arn"],
|
1246
|
+
# terraform_sources: [
|
1247
|
+
# {
|
1248
|
+
# s3_state_file_url: "S3Url", # required
|
1249
|
+
# },
|
1250
|
+
# ],
|
1218
1251
|
# })
|
1219
1252
|
#
|
1220
1253
|
# @example Response structure
|
@@ -1224,6 +1257,8 @@ module Aws::ResilienceHub
|
|
1224
1257
|
# resp.source_arns #=> Array
|
1225
1258
|
# resp.source_arns[0] #=> String
|
1226
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
|
1227
1262
|
#
|
1228
1263
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion AWS API Documentation
|
1229
1264
|
#
|
@@ -1239,7 +1274,7 @@ module Aws::ResilienceHub
|
|
1239
1274
|
# @option params [required, String] :assessment_arn
|
1240
1275
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1241
1276
|
# ARN is:
|
1242
|
-
# arn:`partition`\:
|
1277
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1243
1278
|
# For more information about ARNs, see [ Amazon Resource Names
|
1244
1279
|
# (ARNs)][1] in the *AWS General Reference*.
|
1245
1280
|
#
|
@@ -1303,7 +1338,8 @@ module Aws::ResilienceHub
|
|
1303
1338
|
#
|
1304
1339
|
# @option params [String] :app_arn
|
1305
1340
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1306
|
-
# ARN is:
|
1341
|
+
# ARN is:
|
1342
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1307
1343
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1308
1344
|
# the *AWS General Reference*.
|
1309
1345
|
#
|
@@ -1391,7 +1427,7 @@ module Aws::ResilienceHub
|
|
1391
1427
|
# @option params [required, String] :assessment_arn
|
1392
1428
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1393
1429
|
# ARN is:
|
1394
|
-
# arn:`partition`\:
|
1430
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1395
1431
|
# For more information about ARNs, see [ Amazon Resource Names
|
1396
1432
|
# (ARNs)][1] in the *AWS General Reference*.
|
1397
1433
|
#
|
@@ -1463,7 +1499,7 @@ module Aws::ResilienceHub
|
|
1463
1499
|
# @option params [required, String] :assessment_arn
|
1464
1500
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1465
1501
|
# ARN is:
|
1466
|
-
# arn:`partition`\:
|
1502
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1467
1503
|
# For more information about ARNs, see [ Amazon Resource Names
|
1468
1504
|
# (ARNs)][1] in the *AWS General Reference*.
|
1469
1505
|
#
|
@@ -1547,7 +1583,8 @@ module Aws::ResilienceHub
|
|
1547
1583
|
#
|
1548
1584
|
# @option params [required, String] :app_arn
|
1549
1585
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1550
|
-
# ARN is:
|
1586
|
+
# ARN is:
|
1587
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1551
1588
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1552
1589
|
# the *AWS General Reference*.
|
1553
1590
|
#
|
@@ -1590,13 +1627,14 @@ module Aws::ResilienceHub
|
|
1590
1627
|
# resp.resource_mappings #=> Array
|
1591
1628
|
# resp.resource_mappings[0].app_registry_app_name #=> String
|
1592
1629
|
# resp.resource_mappings[0].logical_stack_name #=> String
|
1593
|
-
# 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"
|
1594
1631
|
# resp.resource_mappings[0].physical_resource_id.aws_account_id #=> String
|
1595
1632
|
# resp.resource_mappings[0].physical_resource_id.aws_region #=> String
|
1596
1633
|
# resp.resource_mappings[0].physical_resource_id.identifier #=> String
|
1597
1634
|
# resp.resource_mappings[0].physical_resource_id.type #=> String, one of "Arn", "Native"
|
1598
1635
|
# resp.resource_mappings[0].resource_group_name #=> String
|
1599
1636
|
# resp.resource_mappings[0].resource_name #=> String
|
1637
|
+
# resp.resource_mappings[0].terraform_source_name #=> String
|
1600
1638
|
#
|
1601
1639
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappings AWS API Documentation
|
1602
1640
|
#
|
@@ -1611,7 +1649,8 @@ module Aws::ResilienceHub
|
|
1611
1649
|
#
|
1612
1650
|
# @option params [required, String] :app_arn
|
1613
1651
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1614
|
-
# ARN is:
|
1652
|
+
# ARN is:
|
1653
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1615
1654
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1616
1655
|
# the *AWS General Reference*.
|
1617
1656
|
#
|
@@ -1663,6 +1702,7 @@ module Aws::ResilienceHub
|
|
1663
1702
|
# resp.physical_resources[0].logical_resource_id.identifier #=> String
|
1664
1703
|
# resp.physical_resources[0].logical_resource_id.logical_stack_name #=> String
|
1665
1704
|
# resp.physical_resources[0].logical_resource_id.resource_group_name #=> String
|
1705
|
+
# resp.physical_resources[0].logical_resource_id.terraform_source_name #=> String
|
1666
1706
|
# resp.physical_resources[0].physical_resource_id.aws_account_id #=> String
|
1667
1707
|
# resp.physical_resources[0].physical_resource_id.aws_region #=> String
|
1668
1708
|
# resp.physical_resources[0].physical_resource_id.identifier #=> String
|
@@ -1684,7 +1724,8 @@ module Aws::ResilienceHub
|
|
1684
1724
|
#
|
1685
1725
|
# @option params [required, String] :app_arn
|
1686
1726
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1687
|
-
# ARN is:
|
1727
|
+
# ARN is:
|
1728
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1688
1729
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1689
1730
|
# the *AWS General Reference*.
|
1690
1731
|
#
|
@@ -1736,7 +1777,8 @@ module Aws::ResilienceHub
|
|
1736
1777
|
#
|
1737
1778
|
# @option params [String] :app_arn
|
1738
1779
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
1739
|
-
# ARN is:
|
1780
|
+
# ARN is:
|
1781
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
1740
1782
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1741
1783
|
# the *AWS General Reference*.
|
1742
1784
|
#
|
@@ -1777,6 +1819,7 @@ module Aws::ResilienceHub
|
|
1777
1819
|
#
|
1778
1820
|
# resp.app_summaries #=> Array
|
1779
1821
|
# resp.app_summaries[0].app_arn #=> String
|
1822
|
+
# resp.app_summaries[0].assessment_schedule #=> String, one of "Disabled", "Daily"
|
1780
1823
|
# resp.app_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
1781
1824
|
# resp.app_summaries[0].creation_time #=> Time
|
1782
1825
|
# resp.app_summaries[0].description #=> String
|
@@ -1799,7 +1842,7 @@ module Aws::ResilienceHub
|
|
1799
1842
|
# @option params [required, String] :assessment_arn
|
1800
1843
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1801
1844
|
# ARN is:
|
1802
|
-
# arn:`partition`\:
|
1845
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1803
1846
|
# For more information about ARNs, see [ Amazon Resource Names
|
1804
1847
|
# (ARNs)][1] in the *AWS General Reference*.
|
1805
1848
|
#
|
@@ -1943,7 +1986,7 @@ module Aws::ResilienceHub
|
|
1943
1986
|
# @option params [required, String] :assessment_arn
|
1944
1987
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1945
1988
|
# ARN is:
|
1946
|
-
# arn:`partition`\:
|
1989
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1947
1990
|
# For more information about ARNs, see [ Amazon Resource Names
|
1948
1991
|
# (ARNs)][1] in the *AWS General Reference*.
|
1949
1992
|
#
|
@@ -2090,7 +2133,7 @@ module Aws::ResilienceHub
|
|
2090
2133
|
# @option params [required, String] :assessment_arn
|
2091
2134
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
2092
2135
|
# ARN is:
|
2093
|
-
# arn:`partition`\:
|
2136
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
2094
2137
|
# For more information about ARNs, see [ Amazon Resource Names
|
2095
2138
|
# (ARNs)][1] in the *AWS General Reference*.
|
2096
2139
|
#
|
@@ -2128,6 +2171,8 @@ module Aws::ResilienceHub
|
|
2128
2171
|
# resp.next_token #=> String
|
2129
2172
|
# resp.test_recommendations #=> Array
|
2130
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
|
2131
2176
|
# resp.test_recommendations[0].description #=> String
|
2132
2177
|
# resp.test_recommendations[0].intent #=> String
|
2133
2178
|
# resp.test_recommendations[0].items #=> Array
|
@@ -2158,7 +2203,8 @@ module Aws::ResilienceHub
|
|
2158
2203
|
#
|
2159
2204
|
# @option params [required, String] :app_arn
|
2160
2205
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2161
|
-
# ARN is:
|
2206
|
+
# ARN is:
|
2207
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2162
2208
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2163
2209
|
# the *AWS General Reference*.
|
2164
2210
|
#
|
@@ -2208,6 +2254,7 @@ module Aws::ResilienceHub
|
|
2208
2254
|
# resp.unsupported_resources[0].logical_resource_id.identifier #=> String
|
2209
2255
|
# resp.unsupported_resources[0].logical_resource_id.logical_stack_name #=> String
|
2210
2256
|
# resp.unsupported_resources[0].logical_resource_id.resource_group_name #=> String
|
2257
|
+
# resp.unsupported_resources[0].logical_resource_id.terraform_source_name #=> String
|
2211
2258
|
# resp.unsupported_resources[0].physical_resource_id.aws_account_id #=> String
|
2212
2259
|
# resp.unsupported_resources[0].physical_resource_id.aws_region #=> String
|
2213
2260
|
# resp.unsupported_resources[0].physical_resource_id.identifier #=> String
|
@@ -2227,7 +2274,8 @@ module Aws::ResilienceHub
|
|
2227
2274
|
#
|
2228
2275
|
# @option params [required, String] :app_arn
|
2229
2276
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2230
|
-
# ARN is:
|
2277
|
+
# ARN is:
|
2278
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2231
2279
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2232
2280
|
# the *AWS General Reference*.
|
2233
2281
|
#
|
@@ -2265,7 +2313,8 @@ module Aws::ResilienceHub
|
|
2265
2313
|
#
|
2266
2314
|
# @option params [required, String] :app_arn
|
2267
2315
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2268
|
-
# ARN is:
|
2316
|
+
# ARN is:
|
2317
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2269
2318
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2270
2319
|
# the *AWS General Reference*.
|
2271
2320
|
#
|
@@ -2306,7 +2355,8 @@ module Aws::ResilienceHub
|
|
2306
2355
|
#
|
2307
2356
|
# @option params [required, String] :app_arn
|
2308
2357
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2309
|
-
# ARN is:
|
2358
|
+
# ARN is:
|
2359
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2310
2360
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2311
2361
|
# the *AWS General Reference*.
|
2312
2362
|
#
|
@@ -2328,6 +2378,9 @@ module Aws::ResilienceHub
|
|
2328
2378
|
# @option params [Array<String>] :resource_names
|
2329
2379
|
# The names of the resources to remove from the resource mappings.
|
2330
2380
|
#
|
2381
|
+
# @option params [Array<String>] :terraform_source_names
|
2382
|
+
# </p>
|
2383
|
+
#
|
2331
2384
|
# @return [Types::RemoveDraftAppVersionResourceMappingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2332
2385
|
#
|
2333
2386
|
# * {Types::RemoveDraftAppVersionResourceMappingsResponse#app_arn #app_arn} => String
|
@@ -2341,6 +2394,7 @@ module Aws::ResilienceHub
|
|
2341
2394
|
# logical_stack_names: ["String255"],
|
2342
2395
|
# resource_group_names: ["EntityName"],
|
2343
2396
|
# resource_names: ["EntityName"],
|
2397
|
+
# terraform_source_names: ["String255"],
|
2344
2398
|
# })
|
2345
2399
|
#
|
2346
2400
|
# @example Response structure
|
@@ -2361,7 +2415,8 @@ module Aws::ResilienceHub
|
|
2361
2415
|
#
|
2362
2416
|
# @option params [required, String] :app_arn
|
2363
2417
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2364
|
-
# ARN is:
|
2418
|
+
# ARN is:
|
2419
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2365
2420
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2366
2421
|
# the *AWS General Reference*.
|
2367
2422
|
#
|
@@ -2406,7 +2461,8 @@ module Aws::ResilienceHub
|
|
2406
2461
|
#
|
2407
2462
|
# @option params [required, String] :app_arn
|
2408
2463
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2409
|
-
# ARN is:
|
2464
|
+
# ARN is:
|
2465
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2410
2466
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2411
2467
|
# the *AWS General Reference*.
|
2412
2468
|
#
|
@@ -2489,6 +2545,11 @@ module Aws::ResilienceHub
|
|
2489
2545
|
# resp.assessment.resiliency_score.disruption_score #=> Hash
|
2490
2546
|
# resp.assessment.resiliency_score.disruption_score["DisruptionType"] #=> Float
|
2491
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
|
2492
2553
|
# resp.assessment.start_time #=> Time
|
2493
2554
|
# resp.assessment.tags #=> Hash
|
2494
2555
|
# resp.assessment.tags["TagKey"] #=> String
|
@@ -2561,7 +2622,8 @@ module Aws::ResilienceHub
|
|
2561
2622
|
#
|
2562
2623
|
# @option params [required, String] :app_arn
|
2563
2624
|
# The Amazon Resource Name (ARN) of the application. The format for this
|
2564
|
-
# ARN is:
|
2625
|
+
# ARN is:
|
2626
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
|
2565
2627
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2566
2628
|
# the *AWS General Reference*.
|
2567
2629
|
#
|
@@ -2569,6 +2631,9 @@ module Aws::ResilienceHub
|
|
2569
2631
|
#
|
2570
2632
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2571
2633
|
#
|
2634
|
+
# @option params [String] :assessment_schedule
|
2635
|
+
# Assessment execution schedule with 'Daily' or 'Disabled' values.
|
2636
|
+
#
|
2572
2637
|
# @option params [Boolean] :clear_resiliency_policy_arn
|
2573
2638
|
# Specifies if the resiliency policy ARN should be cleared.
|
2574
2639
|
#
|
@@ -2578,7 +2643,7 @@ module Aws::ResilienceHub
|
|
2578
2643
|
# @option params [String] :policy_arn
|
2579
2644
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
2580
2645
|
# for this ARN is:
|
2581
|
-
# arn:`partition`\:
|
2646
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
2582
2647
|
# For more information about ARNs, see [ Amazon Resource Names
|
2583
2648
|
# (ARNs)][1] in the *AWS General Reference*.
|
2584
2649
|
#
|
@@ -2594,6 +2659,7 @@ module Aws::ResilienceHub
|
|
2594
2659
|
#
|
2595
2660
|
# resp = client.update_app({
|
2596
2661
|
# app_arn: "Arn", # required
|
2662
|
+
# assessment_schedule: "Disabled", # accepts Disabled, Daily
|
2597
2663
|
# clear_resiliency_policy_arn: false,
|
2598
2664
|
# description: "EntityDescription",
|
2599
2665
|
# policy_arn: "Arn",
|
@@ -2602,6 +2668,7 @@ module Aws::ResilienceHub
|
|
2602
2668
|
# @example Response structure
|
2603
2669
|
#
|
2604
2670
|
# resp.app.app_arn #=> String
|
2671
|
+
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
2605
2672
|
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
2606
2673
|
# resp.app.creation_time #=> Time
|
2607
2674
|
# resp.app.description #=> String
|
@@ -2636,7 +2703,7 @@ module Aws::ResilienceHub
|
|
2636
2703
|
# @option params [required, String] :policy_arn
|
2637
2704
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
2638
2705
|
# for this ARN is:
|
2639
|
-
# arn:`partition`\:
|
2706
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
2640
2707
|
# For more information about ARNs, see [ Amazon Resource Names
|
2641
2708
|
# (ARNs)][1] in the *AWS General Reference*.
|
2642
2709
|
#
|
@@ -2711,7 +2778,7 @@ module Aws::ResilienceHub
|
|
2711
2778
|
params: params,
|
2712
2779
|
config: config)
|
2713
2780
|
context[:gem_name] = 'aws-sdk-resiliencehub'
|
2714
|
-
context[:gem_version] = '1.
|
2781
|
+
context[:gem_version] = '1.5.0'
|
2715
2782
|
Seahorse::Client::Request.new(handlers, context)
|
2716
2783
|
end
|
2717
2784
|
|