aws-sdk-resiliencehub 1.10.0 → 1.11.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 +230 -155
- data/lib/aws-sdk-resiliencehub/client_api.rb +25 -0
- data/lib/aws-sdk-resiliencehub/types.rb +425 -243
- data/lib/aws-sdk-resiliencehub.rb +1 -1
- metadata +2 -2
@@ -374,7 +374,7 @@ module Aws::ResilienceHub
|
|
374
374
|
# @option params [required, String] :app_arn
|
375
375
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
376
376
|
# The format for this ARN is:
|
377
|
-
# arn:`partition
|
377
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
378
378
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
379
379
|
# the *AWS General Reference* guide.
|
380
380
|
#
|
@@ -403,8 +403,9 @@ module Aws::ResilienceHub
|
|
403
403
|
# resource_mappings: [ # required
|
404
404
|
# {
|
405
405
|
# app_registry_app_name: "EntityName",
|
406
|
+
# eks_source_name: "String255",
|
406
407
|
# logical_stack_name: "String255",
|
407
|
-
# mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform
|
408
|
+
# mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform, EKS
|
408
409
|
# physical_resource_id: { # required
|
409
410
|
# aws_account_id: "CustomerId",
|
410
411
|
# aws_region: "AwsRegion",
|
@@ -424,8 +425,9 @@ module Aws::ResilienceHub
|
|
424
425
|
# resp.app_version #=> String
|
425
426
|
# resp.resource_mappings #=> Array
|
426
427
|
# resp.resource_mappings[0].app_registry_app_name #=> String
|
428
|
+
# resp.resource_mappings[0].eks_source_name #=> String
|
427
429
|
# resp.resource_mappings[0].logical_stack_name #=> String
|
428
|
-
# resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform"
|
430
|
+
# resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform", "EKS"
|
429
431
|
# resp.resource_mappings[0].physical_resource_id.aws_account_id #=> String
|
430
432
|
# resp.resource_mappings[0].physical_resource_id.aws_region #=> String
|
431
433
|
# resp.resource_mappings[0].physical_resource_id.identifier #=> String
|
@@ -443,15 +445,15 @@ module Aws::ResilienceHub
|
|
443
445
|
req.send_request(options)
|
444
446
|
end
|
445
447
|
|
446
|
-
# Creates an
|
447
|
-
#
|
448
|
-
#
|
449
|
-
#
|
450
|
-
#
|
451
|
-
#
|
452
|
-
#
|
453
|
-
# After you create an
|
454
|
-
#
|
448
|
+
# Creates an Resilience Hub application. An Resilience Hub application
|
449
|
+
# is a collection of Amazon Web Services resources structured to prevent
|
450
|
+
# and recover Amazon Web Services application disruptions. To describe a
|
451
|
+
# Resilience Hub application, you provide an application name, resources
|
452
|
+
# from one or more–up to five–CloudFormation stacks, and an appropriate
|
453
|
+
# resiliency policy.
|
454
|
+
#
|
455
|
+
# After you create an Resilience Hub application, you publish it so that
|
456
|
+
# you can run a resiliency assessment on it. You can then use
|
455
457
|
# recommendations from the assessment to improve resiliency by running
|
456
458
|
# another assessment, comparing results, and then iterating the process
|
457
459
|
# until you achieve your goals for recovery time objective (RTO) and
|
@@ -477,7 +479,7 @@ module Aws::ResilienceHub
|
|
477
479
|
# @option params [String] :policy_arn
|
478
480
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
479
481
|
# for this ARN is:
|
480
|
-
# arn:`partition
|
482
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
481
483
|
# For more information about ARNs, see [ Amazon Resource Names
|
482
484
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
483
485
|
#
|
@@ -532,13 +534,11 @@ module Aws::ResilienceHub
|
|
532
534
|
req.send_request(options)
|
533
535
|
end
|
534
536
|
|
535
|
-
# Creates a new Application Component in the
|
536
|
-
# application.
|
537
|
+
# Creates a new Application Component in the Resilience Hub application.
|
537
538
|
#
|
538
|
-
# <note markdown="1"> This API updates the
|
539
|
-
#
|
540
|
-
#
|
541
|
-
# `PublishAppVersion` API.
|
539
|
+
# <note markdown="1"> This API updates the Resilience Hub application draft version. To use
|
540
|
+
# this Application Component for running assessments, you must publish
|
541
|
+
# the Resilience Hub application using the `PublishAppVersion` API.
|
542
542
|
#
|
543
543
|
# </note>
|
544
544
|
#
|
@@ -549,7 +549,7 @@ module Aws::ResilienceHub
|
|
549
549
|
# @option params [required, String] :app_arn
|
550
550
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
551
551
|
# The format for this ARN is:
|
552
|
-
# arn:`partition
|
552
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
553
553
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
554
554
|
# the *AWS General Reference* guide.
|
555
555
|
#
|
@@ -619,17 +619,17 @@ module Aws::ResilienceHub
|
|
619
619
|
req.send_request(options)
|
620
620
|
end
|
621
621
|
|
622
|
-
# Adds a resource to the
|
622
|
+
# Adds a resource to the Resilience Hub application and assigns it to
|
623
623
|
# the specified Application Components. If you specify a new Application
|
624
|
-
# Component,
|
625
|
-
#
|
624
|
+
# Component, Resilience Hub will automatically create the Application
|
625
|
+
# Component.
|
626
626
|
#
|
627
|
-
# <note markdown="1"> * This action has no effect outside
|
627
|
+
# <note markdown="1"> * This action has no effect outside Resilience Hub.
|
628
628
|
#
|
629
|
-
# * This API updates the
|
630
|
-
#
|
631
|
-
# publish the
|
632
|
-
#
|
629
|
+
# * This API updates the Resilience Hub application draft version. To
|
630
|
+
# use this resource for running resiliency assessments, you must
|
631
|
+
# publish the Resilience Hub application using the `PublishAppVersion`
|
632
|
+
# API.
|
633
633
|
#
|
634
634
|
# * To update application version with new `physicalResourceID`, you
|
635
635
|
# must call `ResolveAppVersionResources` API.
|
@@ -642,7 +642,7 @@ module Aws::ResilienceHub
|
|
642
642
|
# @option params [required, String] :app_arn
|
643
643
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
644
644
|
# The format for this ARN is:
|
645
|
-
# arn:`partition
|
645
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
646
646
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
647
647
|
# the *AWS General Reference* guide.
|
648
648
|
#
|
@@ -699,6 +699,7 @@ module Aws::ResilienceHub
|
|
699
699
|
# aws_region: "AwsRegion",
|
700
700
|
# client_token: "ClientToken",
|
701
701
|
# logical_resource_id: { # required
|
702
|
+
# eks_source_name: "String255",
|
702
703
|
# identifier: "String255", # required
|
703
704
|
# logical_stack_name: "String255",
|
704
705
|
# resource_group_name: "EntityName",
|
@@ -724,6 +725,7 @@ module Aws::ResilienceHub
|
|
724
725
|
# resp.physical_resource.app_components[0].name #=> String
|
725
726
|
# resp.physical_resource.app_components[0].type #=> String
|
726
727
|
# resp.physical_resource.excluded #=> Boolean
|
728
|
+
# resp.physical_resource.logical_resource_id.eks_source_name #=> String
|
727
729
|
# resp.physical_resource.logical_resource_id.identifier #=> String
|
728
730
|
# resp.physical_resource.logical_resource_id.logical_stack_name #=> String
|
729
731
|
# resp.physical_resource.logical_resource_id.resource_group_name #=> String
|
@@ -744,13 +746,13 @@ module Aws::ResilienceHub
|
|
744
746
|
req.send_request(options)
|
745
747
|
end
|
746
748
|
|
747
|
-
# Creates a new recommendation template for the
|
749
|
+
# Creates a new recommendation template for the Resilience Hub
|
748
750
|
# application.
|
749
751
|
#
|
750
752
|
# @option params [required, String] :assessment_arn
|
751
753
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
752
754
|
# ARN is:
|
753
|
-
# arn:`partition
|
755
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
754
756
|
# For more information about ARNs, see [ Amazon Resource Names
|
755
757
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
756
758
|
#
|
@@ -938,13 +940,13 @@ module Aws::ResilienceHub
|
|
938
940
|
req.send_request(options)
|
939
941
|
end
|
940
942
|
|
941
|
-
# Deletes an
|
942
|
-
#
|
943
|
+
# Deletes an Resilience Hub application. This is a destructive action
|
944
|
+
# that can't be undone.
|
943
945
|
#
|
944
946
|
# @option params [required, String] :app_arn
|
945
947
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
946
948
|
# The format for this ARN is:
|
947
|
-
# arn:`partition
|
949
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
948
950
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
949
951
|
# the *AWS General Reference* guide.
|
950
952
|
#
|
@@ -961,7 +963,7 @@ module Aws::ResilienceHub
|
|
961
963
|
# not need to pass this option.**
|
962
964
|
#
|
963
965
|
# @option params [Boolean] :force_delete
|
964
|
-
# A boolean option to force the deletion of an
|
966
|
+
# A boolean option to force the deletion of an Resilience Hub
|
965
967
|
# application.
|
966
968
|
#
|
967
969
|
# @return [Types::DeleteAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -989,13 +991,13 @@ module Aws::ResilienceHub
|
|
989
991
|
req.send_request(options)
|
990
992
|
end
|
991
993
|
|
992
|
-
# Deletes an
|
994
|
+
# Deletes an Resilience Hub application assessment. This is a
|
993
995
|
# destructive action that can't be undone.
|
994
996
|
#
|
995
997
|
# @option params [required, String] :assessment_arn
|
996
998
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
997
999
|
# ARN is:
|
998
|
-
# arn:`partition
|
1000
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
999
1001
|
# For more information about ARNs, see [ Amazon Resource Names
|
1000
1002
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
1001
1003
|
#
|
@@ -1038,12 +1040,12 @@ module Aws::ResilienceHub
|
|
1038
1040
|
end
|
1039
1041
|
|
1040
1042
|
# Deletes the input source and all of its imported resources from the
|
1041
|
-
#
|
1043
|
+
# Resilience Hub application.
|
1042
1044
|
#
|
1043
1045
|
# @option params [required, String] :app_arn
|
1044
1046
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
1045
1047
|
# The format for this ARN is:
|
1046
|
-
# arn:`partition
|
1048
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1047
1049
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1048
1050
|
# the *AWS General Reference* guide.
|
1049
1051
|
#
|
@@ -1059,10 +1061,14 @@ module Aws::ResilienceHub
|
|
1059
1061
|
# **A suitable default value is auto-generated.** You should normally
|
1060
1062
|
# not need to pass this option.**
|
1061
1063
|
#
|
1064
|
+
# @option params [Types::EksSourceClusterNamespace] :eks_source_cluster_namespace
|
1065
|
+
# The namespace on your Amazon Elastic Kubernetes Service cluster that
|
1066
|
+
# you want to delete from the Resilience Hub application.
|
1067
|
+
#
|
1062
1068
|
# @option params [String] :source_arn
|
1063
1069
|
# The Amazon Resource Name (ARN) of the imported resource you want to
|
1064
|
-
# remove from the
|
1065
|
-
#
|
1070
|
+
# remove from the Resilience Hub application. For more information about
|
1071
|
+
# ARNs, see [ Amazon Resource Names (ARNs)][1] in the *AWS General
|
1066
1072
|
# Reference* guide.
|
1067
1073
|
#
|
1068
1074
|
#
|
@@ -1070,7 +1076,7 @@ module Aws::ResilienceHub
|
|
1070
1076
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1071
1077
|
#
|
1072
1078
|
# @option params [Types::TerraformSource] :terraform_source
|
1073
|
-
# The imported Terraform s3 state file you want to remove from the
|
1079
|
+
# The imported Terraform s3 state file you want to remove from the
|
1074
1080
|
# Resilience Hub application.
|
1075
1081
|
#
|
1076
1082
|
# @return [Types::DeleteAppInputSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1083,6 +1089,10 @@ module Aws::ResilienceHub
|
|
1083
1089
|
# resp = client.delete_app_input_source({
|
1084
1090
|
# app_arn: "Arn", # required
|
1085
1091
|
# client_token: "ClientToken",
|
1092
|
+
# eks_source_cluster_namespace: {
|
1093
|
+
# eks_cluster_arn: "Arn", # required
|
1094
|
+
# namespace: "EksNamespace", # required
|
1095
|
+
# },
|
1086
1096
|
# source_arn: "Arn",
|
1087
1097
|
# terraform_source: {
|
1088
1098
|
# s3_state_file_url: "S3Url", # required
|
@@ -1092,7 +1102,9 @@ module Aws::ResilienceHub
|
|
1092
1102
|
# @example Response structure
|
1093
1103
|
#
|
1094
1104
|
# resp.app_arn #=> String
|
1095
|
-
# resp.app_input_source.
|
1105
|
+
# resp.app_input_source.eks_source_cluster_namespace.eks_cluster_arn #=> String
|
1106
|
+
# resp.app_input_source.eks_source_cluster_namespace.namespace #=> String
|
1107
|
+
# resp.app_input_source.import_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform", "EKS"
|
1096
1108
|
# resp.app_input_source.resource_count #=> Integer
|
1097
1109
|
# resp.app_input_source.source_arn #=> String
|
1098
1110
|
# resp.app_input_source.source_name #=> String
|
@@ -1107,13 +1119,12 @@ module Aws::ResilienceHub
|
|
1107
1119
|
req.send_request(options)
|
1108
1120
|
end
|
1109
1121
|
|
1110
|
-
# Deletes an Application Component from the
|
1111
|
-
# application.
|
1122
|
+
# Deletes an Application Component from the Resilience Hub application.
|
1112
1123
|
#
|
1113
|
-
# <note markdown="1"> * This API updates the
|
1114
|
-
#
|
1115
|
-
# publish the
|
1116
|
-
#
|
1124
|
+
# <note markdown="1"> * This API updates the Resilience Hub application draft version. To
|
1125
|
+
# use this Application Component for running assessments, you must
|
1126
|
+
# publish the Resilience Hub application using the `PublishAppVersion`
|
1127
|
+
# API.
|
1117
1128
|
#
|
1118
1129
|
# * You will not be able to delete an Application Component if it has
|
1119
1130
|
# resources associated with it.
|
@@ -1123,7 +1134,7 @@ module Aws::ResilienceHub
|
|
1123
1134
|
# @option params [required, String] :app_arn
|
1124
1135
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
1125
1136
|
# The format for this ARN is:
|
1126
|
-
# arn:`partition
|
1137
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1127
1138
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1128
1139
|
# the *AWS General Reference* guide.
|
1129
1140
|
#
|
@@ -1176,25 +1187,25 @@ module Aws::ResilienceHub
|
|
1176
1187
|
req.send_request(options)
|
1177
1188
|
end
|
1178
1189
|
|
1179
|
-
# Deletes a resource from the
|
1190
|
+
# Deletes a resource from the Resilience Hub application.
|
1180
1191
|
#
|
1181
1192
|
# <note markdown="1"> * You can only delete a manually added resource. To exclude
|
1182
1193
|
# non-manually added resources, use the `UpdateAppVersionResource`
|
1183
1194
|
# API.
|
1184
1195
|
#
|
1185
|
-
# * This action has no effect outside
|
1196
|
+
# * This action has no effect outside Resilience Hub.
|
1186
1197
|
#
|
1187
|
-
# * This API updates the
|
1188
|
-
#
|
1189
|
-
# publish the
|
1190
|
-
#
|
1198
|
+
# * This API updates the Resilience Hub application draft version. To
|
1199
|
+
# use this resource for running resiliency assessments, you must
|
1200
|
+
# publish the Resilience Hub application using the `PublishAppVersion`
|
1201
|
+
# API.
|
1191
1202
|
#
|
1192
1203
|
# </note>
|
1193
1204
|
#
|
1194
1205
|
# @option params [required, String] :app_arn
|
1195
1206
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
1196
1207
|
# The format for this ARN is:
|
1197
|
-
# arn:`partition
|
1208
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1198
1209
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1199
1210
|
# the *AWS General Reference* guide.
|
1200
1211
|
#
|
@@ -1239,6 +1250,7 @@ module Aws::ResilienceHub
|
|
1239
1250
|
# aws_region: "AwsRegion",
|
1240
1251
|
# client_token: "ClientToken",
|
1241
1252
|
# logical_resource_id: {
|
1253
|
+
# eks_source_name: "String255",
|
1242
1254
|
# identifier: "String255", # required
|
1243
1255
|
# logical_stack_name: "String255",
|
1244
1256
|
# resource_group_name: "EntityName",
|
@@ -1263,6 +1275,7 @@ module Aws::ResilienceHub
|
|
1263
1275
|
# resp.physical_resource.app_components[0].name #=> String
|
1264
1276
|
# resp.physical_resource.app_components[0].type #=> String
|
1265
1277
|
# resp.physical_resource.excluded #=> Boolean
|
1278
|
+
# resp.physical_resource.logical_resource_id.eks_source_name #=> String
|
1266
1279
|
# resp.physical_resource.logical_resource_id.identifier #=> String
|
1267
1280
|
# resp.physical_resource.logical_resource_id.logical_stack_name #=> String
|
1268
1281
|
# resp.physical_resource.logical_resource_id.resource_group_name #=> String
|
@@ -1337,7 +1350,7 @@ module Aws::ResilienceHub
|
|
1337
1350
|
# @option params [required, String] :policy_arn
|
1338
1351
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1339
1352
|
# for this ARN is:
|
1340
|
-
# arn:`partition
|
1353
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
1341
1354
|
# For more information about ARNs, see [ Amazon Resource Names
|
1342
1355
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
1343
1356
|
#
|
@@ -1369,12 +1382,12 @@ module Aws::ResilienceHub
|
|
1369
1382
|
req.send_request(options)
|
1370
1383
|
end
|
1371
1384
|
|
1372
|
-
# Describes an
|
1385
|
+
# Describes an Resilience Hub application.
|
1373
1386
|
#
|
1374
1387
|
# @option params [required, String] :app_arn
|
1375
1388
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
1376
1389
|
# The format for this ARN is:
|
1377
|
-
# arn:`partition
|
1390
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1378
1391
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1379
1392
|
# the *AWS General Reference* guide.
|
1380
1393
|
#
|
@@ -1417,12 +1430,12 @@ module Aws::ResilienceHub
|
|
1417
1430
|
req.send_request(options)
|
1418
1431
|
end
|
1419
1432
|
|
1420
|
-
# Describes an assessment for an
|
1433
|
+
# Describes an assessment for an Resilience Hub application.
|
1421
1434
|
#
|
1422
1435
|
# @option params [required, String] :assessment_arn
|
1423
1436
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1424
1437
|
# ARN is:
|
1425
|
-
# arn:`partition
|
1438
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
1426
1439
|
# For more information about ARNs, see [ Amazon Resource Names
|
1427
1440
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
1428
1441
|
#
|
@@ -1498,12 +1511,12 @@ module Aws::ResilienceHub
|
|
1498
1511
|
req.send_request(options)
|
1499
1512
|
end
|
1500
1513
|
|
1501
|
-
# Describes the
|
1514
|
+
# Describes the Resilience Hub application version.
|
1502
1515
|
#
|
1503
1516
|
# @option params [required, String] :app_arn
|
1504
1517
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
1505
1518
|
# The format for this ARN is:
|
1506
|
-
# arn:`partition
|
1519
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1507
1520
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1508
1521
|
# the *AWS General Reference* guide.
|
1509
1522
|
#
|
@@ -1544,13 +1557,12 @@ module Aws::ResilienceHub
|
|
1544
1557
|
req.send_request(options)
|
1545
1558
|
end
|
1546
1559
|
|
1547
|
-
# Describes an Application Component in the
|
1548
|
-
# application.
|
1560
|
+
# Describes an Application Component in the Resilience Hub application.
|
1549
1561
|
#
|
1550
1562
|
# @option params [required, String] :app_arn
|
1551
1563
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
1552
1564
|
# The format for this ARN is:
|
1553
|
-
# arn:`partition
|
1565
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1554
1566
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1555
1567
|
# the *AWS General Reference* guide.
|
1556
1568
|
#
|
@@ -1598,7 +1610,7 @@ module Aws::ResilienceHub
|
|
1598
1610
|
req.send_request(options)
|
1599
1611
|
end
|
1600
1612
|
|
1601
|
-
# Describes a resource of the
|
1613
|
+
# Describes a resource of the Resilience Hub application.
|
1602
1614
|
#
|
1603
1615
|
# <note markdown="1"> This API accepts only one of the following parameters to descibe the
|
1604
1616
|
# resource:
|
@@ -1615,7 +1627,7 @@ module Aws::ResilienceHub
|
|
1615
1627
|
# @option params [required, String] :app_arn
|
1616
1628
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
1617
1629
|
# The format for this ARN is:
|
1618
|
-
# arn:`partition
|
1630
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1619
1631
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1620
1632
|
# the *AWS General Reference* guide.
|
1621
1633
|
#
|
@@ -1655,6 +1667,7 @@ module Aws::ResilienceHub
|
|
1655
1667
|
# aws_account_id: "CustomerId",
|
1656
1668
|
# aws_region: "AwsRegion",
|
1657
1669
|
# logical_resource_id: {
|
1670
|
+
# eks_source_name: "String255",
|
1658
1671
|
# identifier: "String255", # required
|
1659
1672
|
# logical_stack_name: "String255",
|
1660
1673
|
# resource_group_name: "EntityName",
|
@@ -1679,6 +1692,7 @@ module Aws::ResilienceHub
|
|
1679
1692
|
# resp.physical_resource.app_components[0].name #=> String
|
1680
1693
|
# resp.physical_resource.app_components[0].type #=> String
|
1681
1694
|
# resp.physical_resource.excluded #=> Boolean
|
1695
|
+
# resp.physical_resource.logical_resource_id.eks_source_name #=> String
|
1682
1696
|
# resp.physical_resource.logical_resource_id.identifier #=> String
|
1683
1697
|
# resp.physical_resource.logical_resource_id.logical_stack_name #=> String
|
1684
1698
|
# resp.physical_resource.logical_resource_id.resource_group_name #=> String
|
@@ -1706,7 +1720,7 @@ module Aws::ResilienceHub
|
|
1706
1720
|
# @option params [required, String] :app_arn
|
1707
1721
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
1708
1722
|
# The format for this ARN is:
|
1709
|
-
# arn:`partition
|
1723
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1710
1724
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1711
1725
|
# the *AWS General Reference* guide.
|
1712
1726
|
#
|
@@ -1753,12 +1767,12 @@ module Aws::ResilienceHub
|
|
1753
1767
|
req.send_request(options)
|
1754
1768
|
end
|
1755
1769
|
|
1756
|
-
# Describes details about an
|
1770
|
+
# Describes details about an Resilience Hub application.
|
1757
1771
|
#
|
1758
1772
|
# @option params [required, String] :app_arn
|
1759
1773
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
1760
1774
|
# The format for this ARN is:
|
1761
|
-
# arn:`partition
|
1775
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1762
1776
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1763
1777
|
# the *AWS General Reference* guide.
|
1764
1778
|
#
|
@@ -1810,7 +1824,7 @@ module Aws::ResilienceHub
|
|
1810
1824
|
# @option params [required, String] :app_arn
|
1811
1825
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
1812
1826
|
# The format for this ARN is:
|
1813
|
-
# arn:`partition
|
1827
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1814
1828
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1815
1829
|
# the *AWS General Reference* guide.
|
1816
1830
|
#
|
@@ -1849,7 +1863,7 @@ module Aws::ResilienceHub
|
|
1849
1863
|
req.send_request(options)
|
1850
1864
|
end
|
1851
1865
|
|
1852
|
-
# Describes a specified resiliency policy for an
|
1866
|
+
# Describes a specified resiliency policy for an Resilience Hub
|
1853
1867
|
# application. The returned policy object includes creation time, data
|
1854
1868
|
# location constraints, the Amazon Resource Name (ARN) for the policy,
|
1855
1869
|
# tags, tier, and more.
|
@@ -1857,7 +1871,7 @@ module Aws::ResilienceHub
|
|
1857
1871
|
# @option params [required, String] :policy_arn
|
1858
1872
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1859
1873
|
# for this ARN is:
|
1860
|
-
# arn:`partition
|
1874
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
1861
1875
|
# For more information about ARNs, see [ Amazon Resource Names
|
1862
1876
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
1863
1877
|
#
|
@@ -1899,10 +1913,10 @@ module Aws::ResilienceHub
|
|
1899
1913
|
req.send_request(options)
|
1900
1914
|
end
|
1901
1915
|
|
1902
|
-
# Imports resources to
|
1916
|
+
# Imports resources to Resilience Hub application draft version from
|
1903
1917
|
# different input sources. For more information about the input sources
|
1904
|
-
# supported by
|
1905
|
-
#
|
1918
|
+
# supported by Resilience Hub, see [Discover the structure and describe
|
1919
|
+
# your Resilience Hub application][1].
|
1906
1920
|
#
|
1907
1921
|
#
|
1908
1922
|
#
|
@@ -1911,7 +1925,7 @@ module Aws::ResilienceHub
|
|
1911
1925
|
# @option params [required, String] :app_arn
|
1912
1926
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
1913
1927
|
# The format for this ARN is:
|
1914
|
-
# arn:`partition
|
1928
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1915
1929
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1916
1930
|
# the *AWS General Reference* guide.
|
1917
1931
|
#
|
@@ -1919,13 +1933,16 @@ module Aws::ResilienceHub
|
|
1919
1933
|
#
|
1920
1934
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1921
1935
|
#
|
1936
|
+
# @option params [Array<Types::EksSource>] :eks_sources
|
1937
|
+
# The input sources of the Amazon Elastic Kubernetes Service resources
|
1938
|
+
# you need to import.
|
1939
|
+
#
|
1922
1940
|
# @option params [String] :import_strategy
|
1923
|
-
# The import strategy you would like to set to import resources into
|
1941
|
+
# The import strategy you would like to set to import resources into
|
1924
1942
|
# Resilience Hub application.
|
1925
1943
|
#
|
1926
1944
|
# @option params [Array<String>] :source_arns
|
1927
|
-
# The Amazon Resource Names (ARNs) for the resources
|
1928
|
-
# import.
|
1945
|
+
# The Amazon Resource Names (ARNs) for the resources.
|
1929
1946
|
#
|
1930
1947
|
# @option params [Array<Types::TerraformSource>] :terraform_sources
|
1931
1948
|
# A list of terraform file s3 URLs you need to import.
|
@@ -1934,6 +1951,7 @@ module Aws::ResilienceHub
|
|
1934
1951
|
#
|
1935
1952
|
# * {Types::ImportResourcesToDraftAppVersionResponse#app_arn #app_arn} => String
|
1936
1953
|
# * {Types::ImportResourcesToDraftAppVersionResponse#app_version #app_version} => String
|
1954
|
+
# * {Types::ImportResourcesToDraftAppVersionResponse#eks_sources #eks_sources} => Array<Types::EksSource>
|
1937
1955
|
# * {Types::ImportResourcesToDraftAppVersionResponse#source_arns #source_arns} => Array<String>
|
1938
1956
|
# * {Types::ImportResourcesToDraftAppVersionResponse#status #status} => String
|
1939
1957
|
# * {Types::ImportResourcesToDraftAppVersionResponse#terraform_sources #terraform_sources} => Array<Types::TerraformSource>
|
@@ -1942,6 +1960,12 @@ module Aws::ResilienceHub
|
|
1942
1960
|
#
|
1943
1961
|
# resp = client.import_resources_to_draft_app_version({
|
1944
1962
|
# app_arn: "Arn", # required
|
1963
|
+
# eks_sources: [
|
1964
|
+
# {
|
1965
|
+
# eks_cluster_arn: "Arn", # required
|
1966
|
+
# namespaces: ["EksNamespace"], # required
|
1967
|
+
# },
|
1968
|
+
# ],
|
1945
1969
|
# import_strategy: "AddOnly", # accepts AddOnly, ReplaceAll
|
1946
1970
|
# source_arns: ["Arn"],
|
1947
1971
|
# terraform_sources: [
|
@@ -1955,6 +1979,10 @@ module Aws::ResilienceHub
|
|
1955
1979
|
#
|
1956
1980
|
# resp.app_arn #=> String
|
1957
1981
|
# resp.app_version #=> String
|
1982
|
+
# resp.eks_sources #=> Array
|
1983
|
+
# resp.eks_sources[0].eks_cluster_arn #=> String
|
1984
|
+
# resp.eks_sources[0].namespaces #=> Array
|
1985
|
+
# resp.eks_sources[0].namespaces[0] #=> String
|
1958
1986
|
# resp.source_arns #=> Array
|
1959
1987
|
# resp.source_arns[0] #=> String
|
1960
1988
|
# resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
|
@@ -1970,12 +1998,12 @@ module Aws::ResilienceHub
|
|
1970
1998
|
req.send_request(options)
|
1971
1999
|
end
|
1972
2000
|
|
1973
|
-
# Lists the alarm recommendations for an
|
2001
|
+
# Lists the alarm recommendations for an Resilience Hub application.
|
1974
2002
|
#
|
1975
2003
|
# @option params [required, String] :assessment_arn
|
1976
2004
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
1977
2005
|
# ARN is:
|
1978
|
-
# arn:`partition
|
2006
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
1979
2007
|
# For more information about ARNs, see [ Amazon Resource Names
|
1980
2008
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
1981
2009
|
#
|
@@ -2034,13 +2062,13 @@ module Aws::ResilienceHub
|
|
2034
2062
|
req.send_request(options)
|
2035
2063
|
end
|
2036
2064
|
|
2037
|
-
# Lists the assessments for an
|
2038
|
-
#
|
2065
|
+
# Lists the assessments for an Resilience Hub application. You can use
|
2066
|
+
# request parameters to refine the results for the response object.
|
2039
2067
|
#
|
2040
2068
|
# @option params [String] :app_arn
|
2041
2069
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
2042
2070
|
# The format for this ARN is:
|
2043
|
-
# arn:`partition
|
2071
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2044
2072
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2045
2073
|
# the *AWS General Reference* guide.
|
2046
2074
|
#
|
@@ -2123,12 +2151,12 @@ module Aws::ResilienceHub
|
|
2123
2151
|
req.send_request(options)
|
2124
2152
|
end
|
2125
2153
|
|
2126
|
-
# Lists the compliances for an
|
2154
|
+
# Lists the compliances for an Resilience Hub Application Component.
|
2127
2155
|
#
|
2128
2156
|
# @option params [required, String] :assessment_arn
|
2129
2157
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
2130
2158
|
# ARN is:
|
2131
|
-
# arn:`partition
|
2159
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
2132
2160
|
# For more information about ARNs, see [ Amazon Resource Names
|
2133
2161
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
2134
2162
|
#
|
@@ -2195,13 +2223,12 @@ module Aws::ResilienceHub
|
|
2195
2223
|
req.send_request(options)
|
2196
2224
|
end
|
2197
2225
|
|
2198
|
-
# Lists the recommendations for an
|
2199
|
-
# Component.
|
2226
|
+
# Lists the recommendations for an Resilience Hub Application Component.
|
2200
2227
|
#
|
2201
2228
|
# @option params [required, String] :assessment_arn
|
2202
2229
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
2203
2230
|
# ARN is:
|
2204
|
-
# arn:`partition
|
2231
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
2205
2232
|
# For more information about ARNs, see [ Amazon Resource Names
|
2206
2233
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
2207
2234
|
#
|
@@ -2279,9 +2306,9 @@ module Aws::ResilienceHub
|
|
2279
2306
|
req.send_request(options)
|
2280
2307
|
end
|
2281
2308
|
|
2282
|
-
# Lists all the input sources of the
|
2283
|
-
# more information about the input sources supported by
|
2284
|
-
#
|
2309
|
+
# Lists all the input sources of the Resilience Hub application. For
|
2310
|
+
# more information about the input sources supported by Resilience Hub,
|
2311
|
+
# see [Discover the structure and describe your Resilience Hub
|
2285
2312
|
# application][1].
|
2286
2313
|
#
|
2287
2314
|
#
|
@@ -2291,7 +2318,7 @@ module Aws::ResilienceHub
|
|
2291
2318
|
# @option params [required, String] :app_arn
|
2292
2319
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
2293
2320
|
# The format for this ARN is:
|
2294
|
-
# arn:`partition
|
2321
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2295
2322
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2296
2323
|
# the *AWS General Reference* guide.
|
2297
2324
|
#
|
@@ -2303,7 +2330,7 @@ module Aws::ResilienceHub
|
|
2303
2330
|
# The AWS Resilience Hub application version.
|
2304
2331
|
#
|
2305
2332
|
# @option params [Integer] :max_results
|
2306
|
-
# Maximum number of input sources to be displayed per
|
2333
|
+
# Maximum number of input sources to be displayed per Resilience Hub
|
2307
2334
|
# application.
|
2308
2335
|
#
|
2309
2336
|
# @option params [String] :next_token
|
@@ -2329,7 +2356,9 @@ module Aws::ResilienceHub
|
|
2329
2356
|
# @example Response structure
|
2330
2357
|
#
|
2331
2358
|
# resp.app_input_sources #=> Array
|
2332
|
-
# resp.app_input_sources[0].
|
2359
|
+
# resp.app_input_sources[0].eks_source_cluster_namespace.eks_cluster_arn #=> String
|
2360
|
+
# resp.app_input_sources[0].eks_source_cluster_namespace.namespace #=> String
|
2361
|
+
# resp.app_input_sources[0].import_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform", "EKS"
|
2333
2362
|
# resp.app_input_sources[0].resource_count #=> Integer
|
2334
2363
|
# resp.app_input_sources[0].source_arn #=> String
|
2335
2364
|
# resp.app_input_sources[0].source_name #=> String
|
@@ -2345,13 +2374,13 @@ module Aws::ResilienceHub
|
|
2345
2374
|
req.send_request(options)
|
2346
2375
|
end
|
2347
2376
|
|
2348
|
-
# Lists all the Application Components in the
|
2377
|
+
# Lists all the Application Components in the Resilience Hub
|
2349
2378
|
# application.
|
2350
2379
|
#
|
2351
2380
|
# @option params [required, String] :app_arn
|
2352
2381
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
2353
2382
|
# The format for this ARN is:
|
2354
|
-
# arn:`partition
|
2383
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2355
2384
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2356
2385
|
# the *AWS General Reference* guide.
|
2357
2386
|
#
|
@@ -2417,7 +2446,7 @@ module Aws::ResilienceHub
|
|
2417
2446
|
# @option params [required, String] :app_arn
|
2418
2447
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
2419
2448
|
# The format for this ARN is:
|
2420
|
-
# arn:`partition
|
2449
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2421
2450
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2422
2451
|
# the *AWS General Reference* guide.
|
2423
2452
|
#
|
@@ -2459,8 +2488,9 @@ module Aws::ResilienceHub
|
|
2459
2488
|
# resp.next_token #=> String
|
2460
2489
|
# resp.resource_mappings #=> Array
|
2461
2490
|
# resp.resource_mappings[0].app_registry_app_name #=> String
|
2491
|
+
# resp.resource_mappings[0].eks_source_name #=> String
|
2462
2492
|
# resp.resource_mappings[0].logical_stack_name #=> String
|
2463
|
-
# resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform"
|
2493
|
+
# resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform", "EKS"
|
2464
2494
|
# resp.resource_mappings[0].physical_resource_id.aws_account_id #=> String
|
2465
2495
|
# resp.resource_mappings[0].physical_resource_id.aws_region #=> String
|
2466
2496
|
# resp.resource_mappings[0].physical_resource_id.identifier #=> String
|
@@ -2478,12 +2508,12 @@ module Aws::ResilienceHub
|
|
2478
2508
|
req.send_request(options)
|
2479
2509
|
end
|
2480
2510
|
|
2481
|
-
# Lists all the resources in an
|
2511
|
+
# Lists all the resources in an Resilience Hub application.
|
2482
2512
|
#
|
2483
2513
|
# @option params [required, String] :app_arn
|
2484
2514
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
2485
2515
|
# The format for this ARN is:
|
2486
|
-
# arn:`partition
|
2516
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2487
2517
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2488
2518
|
# the *AWS General Reference* guide.
|
2489
2519
|
#
|
@@ -2540,6 +2570,7 @@ module Aws::ResilienceHub
|
|
2540
2570
|
# resp.physical_resources[0].app_components[0].name #=> String
|
2541
2571
|
# resp.physical_resources[0].app_components[0].type #=> String
|
2542
2572
|
# resp.physical_resources[0].excluded #=> Boolean
|
2573
|
+
# resp.physical_resources[0].logical_resource_id.eks_source_name #=> String
|
2543
2574
|
# resp.physical_resources[0].logical_resource_id.identifier #=> String
|
2544
2575
|
# resp.physical_resources[0].logical_resource_id.logical_stack_name #=> String
|
2545
2576
|
# resp.physical_resources[0].logical_resource_id.resource_group_name #=> String
|
@@ -2561,12 +2592,12 @@ module Aws::ResilienceHub
|
|
2561
2592
|
req.send_request(options)
|
2562
2593
|
end
|
2563
2594
|
|
2564
|
-
# Lists the different versions for the
|
2595
|
+
# Lists the different versions for the Resilience Hub applications.
|
2565
2596
|
#
|
2566
2597
|
# @option params [required, String] :app_arn
|
2567
2598
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
2568
2599
|
# The format for this ARN is:
|
2569
|
-
# arn:`partition
|
2600
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2570
2601
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2571
2602
|
# the *AWS General Reference* guide.
|
2572
2603
|
#
|
@@ -2614,7 +2645,7 @@ module Aws::ResilienceHub
|
|
2614
2645
|
req.send_request(options)
|
2615
2646
|
end
|
2616
2647
|
|
2617
|
-
# Lists your
|
2648
|
+
# Lists your Resilience Hub applications.
|
2618
2649
|
#
|
2619
2650
|
# <note markdown="1"> You can filter applications using only one filter at a time or without
|
2620
2651
|
# using any filter. If you try to filter applications using multiple
|
@@ -2628,7 +2659,7 @@ module Aws::ResilienceHub
|
|
2628
2659
|
# @option params [String] :app_arn
|
2629
2660
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
2630
2661
|
# The format for this ARN is:
|
2631
|
-
# arn:`partition
|
2662
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2632
2663
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2633
2664
|
# the *AWS General Reference* guide.
|
2634
2665
|
#
|
@@ -2687,13 +2718,13 @@ module Aws::ResilienceHub
|
|
2687
2718
|
req.send_request(options)
|
2688
2719
|
end
|
2689
2720
|
|
2690
|
-
# Lists the recommendation templates for the
|
2721
|
+
# Lists the recommendation templates for the Resilience Hub
|
2691
2722
|
# applications.
|
2692
2723
|
#
|
2693
2724
|
# @option params [required, String] :assessment_arn
|
2694
2725
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
2695
2726
|
# ARN is:
|
2696
|
-
# arn:`partition
|
2727
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
2697
2728
|
# For more information about ARNs, see [ Amazon Resource Names
|
2698
2729
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
2699
2730
|
#
|
@@ -2775,7 +2806,7 @@ module Aws::ResilienceHub
|
|
2775
2806
|
req.send_request(options)
|
2776
2807
|
end
|
2777
2808
|
|
2778
|
-
# Lists the resiliency policies for the
|
2809
|
+
# Lists the resiliency policies for the Resilience Hub applications.
|
2779
2810
|
#
|
2780
2811
|
# @option params [Integer] :max_results
|
2781
2812
|
# The maximum number of results to include in the response. If more
|
@@ -2832,12 +2863,12 @@ module Aws::ResilienceHub
|
|
2832
2863
|
end
|
2833
2864
|
|
2834
2865
|
# Lists the standard operating procedure (SOP) recommendations for the
|
2835
|
-
#
|
2866
|
+
# Resilience Hub applications.
|
2836
2867
|
#
|
2837
2868
|
# @option params [required, String] :assessment_arn
|
2838
2869
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
2839
2870
|
# ARN is:
|
2840
|
-
# arn:`partition
|
2871
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
2841
2872
|
# For more information about ARNs, see [ Amazon Resource Names
|
2842
2873
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
2843
2874
|
#
|
@@ -2896,7 +2927,7 @@ module Aws::ResilienceHub
|
|
2896
2927
|
req.send_request(options)
|
2897
2928
|
end
|
2898
2929
|
|
2899
|
-
# Lists the suggested resiliency policies for the
|
2930
|
+
# Lists the suggested resiliency policies for the Resilience Hub
|
2900
2931
|
# applications.
|
2901
2932
|
#
|
2902
2933
|
# @option params [Integer] :max_results
|
@@ -2949,11 +2980,10 @@ module Aws::ResilienceHub
|
|
2949
2980
|
req.send_request(options)
|
2950
2981
|
end
|
2951
2982
|
|
2952
|
-
# Lists the tags for your resources in your
|
2953
|
-
# applications.
|
2983
|
+
# Lists the tags for your resources in your Resilience Hub applications.
|
2954
2984
|
#
|
2955
2985
|
# @option params [required, String] :resource_arn
|
2956
|
-
# The Amazon Resource Name (ARN) for a specific resource in your
|
2986
|
+
# The Amazon Resource Name (ARN) for a specific resource in your
|
2957
2987
|
# Resilience Hub application.
|
2958
2988
|
#
|
2959
2989
|
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2980,12 +3010,12 @@ module Aws::ResilienceHub
|
|
2980
3010
|
req.send_request(options)
|
2981
3011
|
end
|
2982
3012
|
|
2983
|
-
# Lists the test recommendations for the
|
3013
|
+
# Lists the test recommendations for the Resilience Hub application.
|
2984
3014
|
#
|
2985
3015
|
# @option params [required, String] :assessment_arn
|
2986
3016
|
# The Amazon Resource Name (ARN) of the assessment. The format for this
|
2987
3017
|
# ARN is:
|
2988
|
-
# arn:`partition
|
3018
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
2989
3019
|
# For more information about ARNs, see [ Amazon Resource Names
|
2990
3020
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
2991
3021
|
#
|
@@ -3048,15 +3078,15 @@ module Aws::ResilienceHub
|
|
3048
3078
|
req.send_request(options)
|
3049
3079
|
end
|
3050
3080
|
|
3051
|
-
# Lists the resources that are not currently supported in
|
3081
|
+
# Lists the resources that are not currently supported in Resilience
|
3052
3082
|
# Hub. An unsupported resource is a resource that exists in the object
|
3053
|
-
# that was used to create an app, but is not supported by
|
3083
|
+
# that was used to create an app, but is not supported by Resilience
|
3054
3084
|
# Hub.
|
3055
3085
|
#
|
3056
3086
|
# @option params [required, String] :app_arn
|
3057
3087
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
3058
3088
|
# The format for this ARN is:
|
3059
|
-
# arn:`partition
|
3089
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3060
3090
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3061
3091
|
# the *AWS General Reference* guide.
|
3062
3092
|
#
|
@@ -3103,6 +3133,7 @@ module Aws::ResilienceHub
|
|
3103
3133
|
# resp.next_token #=> String
|
3104
3134
|
# resp.resolution_id #=> String
|
3105
3135
|
# resp.unsupported_resources #=> Array
|
3136
|
+
# resp.unsupported_resources[0].logical_resource_id.eks_source_name #=> String
|
3106
3137
|
# resp.unsupported_resources[0].logical_resource_id.identifier #=> String
|
3107
3138
|
# resp.unsupported_resources[0].logical_resource_id.logical_stack_name #=> String
|
3108
3139
|
# resp.unsupported_resources[0].logical_resource_id.resource_group_name #=> String
|
@@ -3112,6 +3143,7 @@ module Aws::ResilienceHub
|
|
3112
3143
|
# resp.unsupported_resources[0].physical_resource_id.identifier #=> String
|
3113
3144
|
# resp.unsupported_resources[0].physical_resource_id.type #=> String, one of "Arn", "Native"
|
3114
3145
|
# resp.unsupported_resources[0].resource_type #=> String
|
3146
|
+
# resp.unsupported_resources[0].unsupported_resource_status #=> String
|
3115
3147
|
#
|
3116
3148
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListUnsupportedAppVersionResources AWS API Documentation
|
3117
3149
|
#
|
@@ -3122,12 +3154,12 @@ module Aws::ResilienceHub
|
|
3122
3154
|
req.send_request(options)
|
3123
3155
|
end
|
3124
3156
|
|
3125
|
-
# Publishes a new version of a specific
|
3157
|
+
# Publishes a new version of a specific Resilience Hub application.
|
3126
3158
|
#
|
3127
3159
|
# @option params [required, String] :app_arn
|
3128
3160
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
3129
3161
|
# The format for this ARN is:
|
3130
|
-
# arn:`partition
|
3162
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3131
3163
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3132
3164
|
# the *AWS General Reference* guide.
|
3133
3165
|
#
|
@@ -3160,13 +3192,13 @@ module Aws::ResilienceHub
|
|
3160
3192
|
req.send_request(options)
|
3161
3193
|
end
|
3162
3194
|
|
3163
|
-
# Adds or updates the app template for an
|
3195
|
+
# Adds or updates the app template for an Resilience Hub application
|
3164
3196
|
# draft version.
|
3165
3197
|
#
|
3166
3198
|
# @option params [required, String] :app_arn
|
3167
3199
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
3168
3200
|
# The format for this ARN is:
|
3169
|
-
# arn:`partition
|
3201
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3170
3202
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3171
3203
|
# the *AWS General Reference* guide.
|
3172
3204
|
#
|
@@ -3184,7 +3216,7 @@ module Aws::ResilienceHub
|
|
3184
3216
|
# * <b> <code>resources</code> </b>
|
3185
3217
|
#
|
3186
3218
|
# The list of logical resources that needs to be included in the
|
3187
|
-
# application.
|
3219
|
+
# Resilience Hub application.
|
3188
3220
|
#
|
3189
3221
|
# Type: Array
|
3190
3222
|
#
|
@@ -3239,6 +3271,21 @@ module Aws::ResilienceHub
|
|
3239
3271
|
#
|
3240
3272
|
# Type: String
|
3241
3273
|
#
|
3274
|
+
# * `additionalInfo`
|
3275
|
+
#
|
3276
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
3277
|
+
# application.
|
3278
|
+
#
|
3279
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
|
3280
|
+
# format) of only one failover region and one associated account.
|
3281
|
+
#
|
3282
|
+
# Key: `"failover-regions"`
|
3283
|
+
#
|
3284
|
+
# Value: `"[\{"region":"<REGION>",
|
3285
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
3286
|
+
#
|
3287
|
+
# </note>
|
3288
|
+
#
|
3242
3289
|
# * <b> <code>appComponents</code> </b>
|
3243
3290
|
#
|
3244
3291
|
# The list of Application Components that this resource belongs to. If
|
@@ -3341,6 +3388,25 @@ module Aws::ResilienceHub
|
|
3341
3388
|
#
|
3342
3389
|
# Type: String
|
3343
3390
|
#
|
3391
|
+
# * <b> <code>version</code> </b>
|
3392
|
+
#
|
3393
|
+
# The AWS Resilience Hub application version.
|
3394
|
+
#
|
3395
|
+
# * `additionalInfo`
|
3396
|
+
#
|
3397
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
3398
|
+
# application.
|
3399
|
+
#
|
3400
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
|
3401
|
+
# format) of only one failover region and one associated account.
|
3402
|
+
#
|
3403
|
+
# Key: `"failover-regions"`
|
3404
|
+
#
|
3405
|
+
# Value: `"[\{"region":"<REGION>",
|
3406
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
3407
|
+
#
|
3408
|
+
# </note>
|
3409
|
+
#
|
3344
3410
|
#
|
3345
3411
|
#
|
3346
3412
|
# [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
|
@@ -3376,7 +3442,7 @@ module Aws::ResilienceHub
|
|
3376
3442
|
# @option params [required, String] :app_arn
|
3377
3443
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
3378
3444
|
# The format for this ARN is:
|
3379
|
-
# arn:`partition
|
3445
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3380
3446
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3381
3447
|
# the *AWS General Reference* guide.
|
3382
3448
|
#
|
@@ -3388,6 +3454,14 @@ module Aws::ResilienceHub
|
|
3388
3454
|
# The names of the registered applications you want to remove from the
|
3389
3455
|
# resource mappings.
|
3390
3456
|
#
|
3457
|
+
# @option params [Array<String>] :eks_source_names
|
3458
|
+
# The names of the Amazon Elastic Kubernetes Service clusters and
|
3459
|
+
# namespaces you want to remove from the resource mappings.
|
3460
|
+
#
|
3461
|
+
# <note markdown="1"> This parameter accepts values in "eks-cluster/namespace" format.
|
3462
|
+
#
|
3463
|
+
# </note>
|
3464
|
+
#
|
3391
3465
|
# @option params [Array<String>] :logical_stack_names
|
3392
3466
|
# The names of the CloudFormation stacks you want to remove from the
|
3393
3467
|
# resource mappings.
|
@@ -3414,6 +3488,7 @@ module Aws::ResilienceHub
|
|
3414
3488
|
# resp = client.remove_draft_app_version_resource_mappings({
|
3415
3489
|
# app_arn: "Arn", # required
|
3416
3490
|
# app_registry_app_names: ["EntityName"],
|
3491
|
+
# eks_source_names: ["String255"],
|
3417
3492
|
# logical_stack_names: ["String255"],
|
3418
3493
|
# resource_group_names: ["EntityName"],
|
3419
3494
|
# resource_names: ["EntityName"],
|
@@ -3439,7 +3514,7 @@ module Aws::ResilienceHub
|
|
3439
3514
|
# @option params [required, String] :app_arn
|
3440
3515
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
3441
3516
|
# The format for this ARN is:
|
3442
|
-
# arn:`partition
|
3517
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3443
3518
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3444
3519
|
# the *AWS General Reference* guide.
|
3445
3520
|
#
|
@@ -3485,7 +3560,7 @@ module Aws::ResilienceHub
|
|
3485
3560
|
# @option params [required, String] :app_arn
|
3486
3561
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
3487
3562
|
# The format for this ARN is:
|
3488
|
-
# arn:`partition
|
3563
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3489
3564
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3490
3565
|
# the *AWS General Reference* guide.
|
3491
3566
|
#
|
@@ -3646,7 +3721,7 @@ module Aws::ResilienceHub
|
|
3646
3721
|
# @option params [required, String] :app_arn
|
3647
3722
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
3648
3723
|
# The format for this ARN is:
|
3649
|
-
# arn:`partition
|
3724
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3650
3725
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3651
3726
|
# the *AWS General Reference* guide.
|
3652
3727
|
#
|
@@ -3666,7 +3741,7 @@ module Aws::ResilienceHub
|
|
3666
3741
|
# @option params [String] :policy_arn
|
3667
3742
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
3668
3743
|
# for this ARN is:
|
3669
|
-
# arn:`partition
|
3744
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
3670
3745
|
# For more information about ARNs, see [ Amazon Resource Names
|
3671
3746
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
3672
3747
|
#
|
@@ -3713,12 +3788,11 @@ module Aws::ResilienceHub
|
|
3713
3788
|
req.send_request(options)
|
3714
3789
|
end
|
3715
3790
|
|
3716
|
-
# Updates the
|
3791
|
+
# Updates the Resilience Hub application version.
|
3717
3792
|
#
|
3718
|
-
# <note markdown="1"> This API updates the
|
3719
|
-
#
|
3720
|
-
#
|
3721
|
-
# `PublishAppVersion` API.
|
3793
|
+
# <note markdown="1"> This API updates the Resilience Hub application draft version. To use
|
3794
|
+
# this information for running resiliency assessments, you must publish
|
3795
|
+
# the Resilience Hub application using the `PublishAppVersion` API.
|
3722
3796
|
#
|
3723
3797
|
# </note>
|
3724
3798
|
#
|
@@ -3739,7 +3813,7 @@ module Aws::ResilienceHub
|
|
3739
3813
|
# @option params [required, String] :app_arn
|
3740
3814
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
3741
3815
|
# The format for this ARN is:
|
3742
|
-
# arn:`partition
|
3816
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3743
3817
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3744
3818
|
# the *AWS General Reference* guide.
|
3745
3819
|
#
|
@@ -3779,13 +3853,12 @@ module Aws::ResilienceHub
|
|
3779
3853
|
req.send_request(options)
|
3780
3854
|
end
|
3781
3855
|
|
3782
|
-
# Updates an existing Application Component in the
|
3856
|
+
# Updates an existing Application Component in the Resilience Hub
|
3783
3857
|
# application.
|
3784
3858
|
#
|
3785
|
-
# <note markdown="1"> This API updates the
|
3786
|
-
#
|
3787
|
-
#
|
3788
|
-
# `PublishAppVersion` API.
|
3859
|
+
# <note markdown="1"> This API updates the Resilience Hub application draft version. To use
|
3860
|
+
# this Application Component for running assessments, you must publish
|
3861
|
+
# the Resilience Hub application using the `PublishAppVersion` API.
|
3789
3862
|
#
|
3790
3863
|
# </note>
|
3791
3864
|
#
|
@@ -3796,7 +3869,7 @@ module Aws::ResilienceHub
|
|
3796
3869
|
# @option params [required, String] :app_arn
|
3797
3870
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
3798
3871
|
# The format for this ARN is:
|
3799
|
-
# arn:`partition
|
3872
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3800
3873
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3801
3874
|
# the *AWS General Reference* guide.
|
3802
3875
|
#
|
@@ -3857,14 +3930,14 @@ module Aws::ResilienceHub
|
|
3857
3930
|
req.send_request(options)
|
3858
3931
|
end
|
3859
3932
|
|
3860
|
-
# Updates the resource details in the
|
3933
|
+
# Updates the resource details in the Resilience Hub application.
|
3861
3934
|
#
|
3862
|
-
# <note markdown="1"> * This action has no effect outside
|
3935
|
+
# <note markdown="1"> * This action has no effect outside Resilience Hub.
|
3863
3936
|
#
|
3864
|
-
# * This API updates the
|
3865
|
-
#
|
3866
|
-
# publish the
|
3867
|
-
#
|
3937
|
+
# * This API updates the Resilience Hub application draft version. To
|
3938
|
+
# use this resource for running resiliency assessments, you must
|
3939
|
+
# publish the Resilience Hub application using the `PublishAppVersion`
|
3940
|
+
# API.
|
3868
3941
|
#
|
3869
3942
|
# * To update application version with new `physicalResourceID`, you
|
3870
3943
|
# must call `ResolveAppVersionResources` API.
|
@@ -3877,7 +3950,7 @@ module Aws::ResilienceHub
|
|
3877
3950
|
# @option params [required, String] :app_arn
|
3878
3951
|
# The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
|
3879
3952
|
# The format for this ARN is:
|
3880
|
-
# arn:`partition
|
3953
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3881
3954
|
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3882
3955
|
# the *AWS General Reference* guide.
|
3883
3956
|
#
|
@@ -3897,10 +3970,10 @@ module Aws::ResilienceHub
|
|
3897
3970
|
# The Amazon Web Services region that owns the physical resource.
|
3898
3971
|
#
|
3899
3972
|
# @option params [Boolean] :excluded
|
3900
|
-
# Indicates if a resource is excluded from an
|
3973
|
+
# Indicates if a resource is excluded from an Resilience Hub
|
3901
3974
|
# application.
|
3902
3975
|
#
|
3903
|
-
# <note markdown="1"> You can exclude only imported resources from an
|
3976
|
+
# <note markdown="1"> You can exclude only imported resources from an Resilience Hub
|
3904
3977
|
# application.
|
3905
3978
|
#
|
3906
3979
|
# </note>
|
@@ -3935,6 +4008,7 @@ module Aws::ResilienceHub
|
|
3935
4008
|
# aws_region: "AwsRegion",
|
3936
4009
|
# excluded: false,
|
3937
4010
|
# logical_resource_id: {
|
4011
|
+
# eks_source_name: "String255",
|
3938
4012
|
# identifier: "String255", # required
|
3939
4013
|
# logical_stack_name: "String255",
|
3940
4014
|
# resource_group_name: "EntityName",
|
@@ -3960,6 +4034,7 @@ module Aws::ResilienceHub
|
|
3960
4034
|
# resp.physical_resource.app_components[0].name #=> String
|
3961
4035
|
# resp.physical_resource.app_components[0].type #=> String
|
3962
4036
|
# resp.physical_resource.excluded #=> Boolean
|
4037
|
+
# resp.physical_resource.logical_resource_id.eks_source_name #=> String
|
3963
4038
|
# resp.physical_resource.logical_resource_id.identifier #=> String
|
3964
4039
|
# resp.physical_resource.logical_resource_id.logical_stack_name #=> String
|
3965
4040
|
# resp.physical_resource.logical_resource_id.resource_group_name #=> String
|
@@ -3993,7 +4068,7 @@ module Aws::ResilienceHub
|
|
3993
4068
|
# @option params [required, String] :policy_arn
|
3994
4069
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
3995
4070
|
# for this ARN is:
|
3996
|
-
# arn:`partition
|
4071
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
3997
4072
|
# For more information about ARNs, see [ Amazon Resource Names
|
3998
4073
|
# (ARNs)][1] in the *AWS General Reference* guide.
|
3999
4074
|
#
|
@@ -4068,7 +4143,7 @@ module Aws::ResilienceHub
|
|
4068
4143
|
params: params,
|
4069
4144
|
config: config)
|
4070
4145
|
context[:gem_name] = 'aws-sdk-resiliencehub'
|
4071
|
-
context[:gem_version] = '1.
|
4146
|
+
context[:gem_version] = '1.11.0'
|
4072
4147
|
Seahorse::Client::Request.new(handlers, context)
|
4073
4148
|
end
|
4074
4149
|
|