aws-sdk-resiliencehub 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -368,14 +368,15 @@ module Aws::ResilienceHub
368
368
 
369
369
  # @!group API Operations
370
370
 
371
- # Adds the resource mapping for the draft application version.
371
+ # Adds the resource mapping for the draft application version. You can
372
+ # also update an existing resource mapping to a new physical resource.
372
373
  #
373
374
  # @option params [required, String] :app_arn
374
- # The Amazon Resource Name (ARN) of the application. The format for this
375
- # ARN is:
375
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
376
+ # The format for this ARN is:
376
377
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
377
378
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
378
- # the *AWS General Reference*.
379
+ # the *AWS General Reference* guide.
379
380
  #
380
381
  #
381
382
  #
@@ -442,15 +443,15 @@ module Aws::ResilienceHub
442
443
  req.send_request(options)
443
444
  end
444
445
 
445
- # Creates a Resilience Hub application. A Resilience Hub application is
446
- # a collection of Amazon Web Services resources structured to prevent
447
- # and recover Amazon Web Services application disruptions. To describe a
448
- # Resilience Hub application, you provide an application name, resources
449
- # from one or more–up to five–CloudFormation stacks, and an appropriate
450
- # resiliency policy.
451
- #
452
- # After you create a Resilience Hub application, you publish it so that
453
- # you can run a resiliency assessment on it. You can then use
446
+ # Creates an AWS Resilience Hub application. An AWS Resilience Hub
447
+ # application is a collection of Amazon Web Services resources
448
+ # structured to prevent and recover Amazon Web Services application
449
+ # disruptions. To describe a AWS Resilience Hub application, you provide
450
+ # an application name, resources from one or more–up to
451
+ # five–CloudFormation stacks, and an appropriate resiliency policy.
452
+ #
453
+ # After you create an AWS Resilience Hub application, you publish it so
454
+ # that you can run a resiliency assessment on it. You can then use
454
455
  # recommendations from the assessment to improve resiliency by running
455
456
  # another assessment, comparing results, and then iterating the process
456
457
  # until you achieve your goals for recovery time objective (RTO) and
@@ -478,7 +479,7 @@ module Aws::ResilienceHub
478
479
  # for this ARN is:
479
480
  # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
480
481
  # For more information about ARNs, see [ Amazon Resource Names
481
- # (ARNs)][1] in the *AWS General Reference*.
482
+ # (ARNs)][1] in the *AWS General Reference* guide.
482
483
  #
483
484
  #
484
485
  #
@@ -531,14 +532,227 @@ module Aws::ResilienceHub
531
532
  req.send_request(options)
532
533
  end
533
534
 
534
- # Creates a new recommendation template.
535
+ # Creates a new Application Component in the AWS Resilience Hub
536
+ # application.
537
+ #
538
+ # <note markdown="1"> This API updates the AWS Resilience Hub application draft version. To
539
+ # use this Application Component for running assessments, you must
540
+ # publish the AWS Resilience Hub application using the
541
+ # `PublishAppVersion` API.
542
+ #
543
+ # </note>
544
+ #
545
+ # @option params [Hash<String,Array>] :additional_info
546
+ # Currently, there is no supported additional information for
547
+ # Application Components.
548
+ #
549
+ # @option params [required, String] :app_arn
550
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
551
+ # The format for this ARN is:
552
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
553
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
554
+ # the *AWS General Reference* guide.
555
+ #
556
+ #
557
+ #
558
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
559
+ #
560
+ # @option params [String] :client_token
561
+ # Used for an idempotency token. A client token is a unique,
562
+ # case-sensitive string of up to 64 ASCII characters. You should not
563
+ # reuse the same client token for other API requests.
564
+ #
565
+ # **A suitable default value is auto-generated.** You should normally
566
+ # not need to pass this option.**
567
+ #
568
+ # @option params [String] :id
569
+ # The identifier of the Application Component.
570
+ #
571
+ # @option params [required, String] :name
572
+ # The name of the Application Component.
573
+ #
574
+ # @option params [required, String] :type
575
+ # The type of Application Component. For more information about the
576
+ # types of Application Component, see [Grouping resources in an
577
+ # AppComponent][1].
578
+ #
579
+ #
580
+ #
581
+ # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
582
+ #
583
+ # @return [Types::CreateAppVersionAppComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
584
+ #
585
+ # * {Types::CreateAppVersionAppComponentResponse#app_arn #app_arn} => String
586
+ # * {Types::CreateAppVersionAppComponentResponse#app_component #app_component} => Types::AppComponent
587
+ # * {Types::CreateAppVersionAppComponentResponse#app_version #app_version} => String
588
+ #
589
+ # @example Request syntax with placeholder values
590
+ #
591
+ # resp = client.create_app_version_app_component({
592
+ # additional_info: {
593
+ # "String128WithoutWhitespace" => ["String1024"],
594
+ # },
595
+ # app_arn: "Arn", # required
596
+ # client_token: "ClientToken",
597
+ # id: "String255",
598
+ # name: "String255", # required
599
+ # type: "String255", # required
600
+ # })
601
+ #
602
+ # @example Response structure
603
+ #
604
+ # resp.app_arn #=> String
605
+ # resp.app_component.additional_info #=> Hash
606
+ # resp.app_component.additional_info["String128WithoutWhitespace"] #=> Array
607
+ # resp.app_component.additional_info["String128WithoutWhitespace"][0] #=> String
608
+ # resp.app_component.id #=> String
609
+ # resp.app_component.name #=> String
610
+ # resp.app_component.type #=> String
611
+ # resp.app_version #=> String
612
+ #
613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionAppComponent AWS API Documentation
614
+ #
615
+ # @overload create_app_version_app_component(params = {})
616
+ # @param [Hash] params ({})
617
+ def create_app_version_app_component(params = {}, options = {})
618
+ req = build_request(:create_app_version_app_component, params)
619
+ req.send_request(options)
620
+ end
621
+
622
+ # Adds a resource to the AWS Resilience Hub applicationand assigns it to
623
+ # the specified Application Components. If you specify a new Application
624
+ # Component, AWS Resilience Hub will automatically create the
625
+ # Application Component.
626
+ #
627
+ # <note markdown="1"> * This action has no effect outside AWS Resilience Hub.
628
+ #
629
+ # * This API updates the AWS Resilience Hub application draft version.
630
+ # To use this resource for running resiliency assessments, you must
631
+ # publish the AWS Resilience Hub application using the
632
+ # `PublishAppVersion` API.
633
+ #
634
+ # * To update application version with new `physicalResourceID`, you
635
+ # must call `ResolveAppVersionResources` API.
636
+ #
637
+ # </note>
638
+ #
639
+ # @option params [Hash<String,Array>] :additional_info
640
+ # Currently, there is no supported additional information for resources.
641
+ #
642
+ # @option params [required, String] :app_arn
643
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
644
+ # The format for this ARN is:
645
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
646
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
647
+ # the *AWS General Reference* guide.
648
+ #
649
+ #
650
+ #
651
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
652
+ #
653
+ # @option params [required, Array<String>] :app_components
654
+ # The list of Application Components that this resource belongs to. If
655
+ # an Application Component is not part of the AWS Resilience Hub
656
+ # application, it will be added.
657
+ #
658
+ # @option params [String] :aws_account_id
659
+ # The Amazon Web Services account that owns the physical resource.
660
+ #
661
+ # @option params [String] :aws_region
662
+ # The Amazon Web Services region that owns the physical resource.
663
+ #
664
+ # @option params [String] :client_token
665
+ # Used for an idempotency token. A client token is a unique,
666
+ # case-sensitive string of up to 64 ASCII characters. You should not
667
+ # reuse the same client token for other API requests.
668
+ #
669
+ # **A suitable default value is auto-generated.** You should normally
670
+ # not need to pass this option.**
671
+ #
672
+ # @option params [required, Types::LogicalResourceId] :logical_resource_id
673
+ # The logical identifier of the resource.
674
+ #
675
+ # @option params [required, String] :physical_resource_id
676
+ # The physical identifier of the resource.
677
+ #
678
+ # @option params [required, String] :resource_name
679
+ # The name of the resource.
680
+ #
681
+ # @option params [required, String] :resource_type
682
+ # The type of resource.
683
+ #
684
+ # @return [Types::CreateAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
685
+ #
686
+ # * {Types::CreateAppVersionResourceResponse#app_arn #app_arn} => String
687
+ # * {Types::CreateAppVersionResourceResponse#app_version #app_version} => String
688
+ # * {Types::CreateAppVersionResourceResponse#physical_resource #physical_resource} => Types::PhysicalResource
689
+ #
690
+ # @example Request syntax with placeholder values
691
+ #
692
+ # resp = client.create_app_version_resource({
693
+ # additional_info: {
694
+ # "String128WithoutWhitespace" => ["String1024"],
695
+ # },
696
+ # app_arn: "Arn", # required
697
+ # app_components: ["String255"], # required
698
+ # aws_account_id: "CustomerId",
699
+ # aws_region: "AwsRegion",
700
+ # client_token: "ClientToken",
701
+ # logical_resource_id: { # required
702
+ # identifier: "String255", # required
703
+ # logical_stack_name: "String255",
704
+ # resource_group_name: "EntityName",
705
+ # terraform_source_name: "String255",
706
+ # },
707
+ # physical_resource_id: "String2048", # required
708
+ # resource_name: "EntityName", # required
709
+ # resource_type: "String255", # required
710
+ # })
711
+ #
712
+ # @example Response structure
713
+ #
714
+ # resp.app_arn #=> String
715
+ # resp.app_version #=> String
716
+ # resp.physical_resource.additional_info #=> Hash
717
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"] #=> Array
718
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"][0] #=> String
719
+ # resp.physical_resource.app_components #=> Array
720
+ # resp.physical_resource.app_components[0].additional_info #=> Hash
721
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"] #=> Array
722
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"][0] #=> String
723
+ # resp.physical_resource.app_components[0].id #=> String
724
+ # resp.physical_resource.app_components[0].name #=> String
725
+ # resp.physical_resource.app_components[0].type #=> String
726
+ # resp.physical_resource.excluded #=> Boolean
727
+ # resp.physical_resource.logical_resource_id.identifier #=> String
728
+ # resp.physical_resource.logical_resource_id.logical_stack_name #=> String
729
+ # resp.physical_resource.logical_resource_id.resource_group_name #=> String
730
+ # resp.physical_resource.logical_resource_id.terraform_source_name #=> String
731
+ # resp.physical_resource.physical_resource_id.aws_account_id #=> String
732
+ # resp.physical_resource.physical_resource_id.aws_region #=> String
733
+ # resp.physical_resource.physical_resource_id.identifier #=> String
734
+ # resp.physical_resource.physical_resource_id.type #=> String, one of "Arn", "Native"
735
+ # resp.physical_resource.resource_name #=> String
736
+ # resp.physical_resource.resource_type #=> String
737
+ #
738
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionResource AWS API Documentation
739
+ #
740
+ # @overload create_app_version_resource(params = {})
741
+ # @param [Hash] params ({})
742
+ def create_app_version_resource(params = {}, options = {})
743
+ req = build_request(:create_app_version_resource, params)
744
+ req.send_request(options)
745
+ end
746
+
747
+ # Creates a new recommendation template for the AWS Resilience Hub
748
+ # application.
535
749
  #
536
750
  # @option params [required, String] :assessment_arn
537
751
  # The Amazon Resource Name (ARN) of the assessment. The format for this
538
752
  # ARN is:
539
753
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
540
754
  # For more information about ARNs, see [ Amazon Resource Names
541
- # (ARNs)][1] in the *AWS General Reference*.
755
+ # (ARNs)][1] in the *AWS General Reference* guide.
542
756
  #
543
757
  #
544
758
  #
@@ -728,11 +942,11 @@ module Aws::ResilienceHub
728
942
  # action that can't be undone.
729
943
  #
730
944
  # @option params [required, String] :app_arn
731
- # The Amazon Resource Name (ARN) of the application. The format for this
732
- # ARN is:
945
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
946
+ # The format for this ARN is:
733
947
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
734
948
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
735
- # the *AWS General Reference*.
949
+ # the *AWS General Reference* guide.
736
950
  #
737
951
  #
738
952
  #
@@ -747,7 +961,7 @@ module Aws::ResilienceHub
747
961
  # not need to pass this option.**
748
962
  #
749
963
  # @option params [Boolean] :force_delete
750
- # A boolean option to force the deletion of a Resilience Hub
964
+ # A boolean option to force the deletion of an AWS Resilience Hub
751
965
  # application.
752
966
  #
753
967
  # @return [Types::DeleteAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -783,7 +997,7 @@ module Aws::ResilienceHub
783
997
  # ARN is:
784
998
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
785
999
  # For more information about ARNs, see [ Amazon Resource Names
786
- # (ARNs)][1] in the *AWS General Reference*.
1000
+ # (ARNs)][1] in the *AWS General Reference* guide.
787
1001
  #
788
1002
  #
789
1003
  #
@@ -823,6 +1037,252 @@ module Aws::ResilienceHub
823
1037
  req.send_request(options)
824
1038
  end
825
1039
 
1040
+ # Deletes the input source and all of its imported resources from the
1041
+ # AWS Resilience Hub application.
1042
+ #
1043
+ # @option params [required, String] :app_arn
1044
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1045
+ # The format for this ARN is:
1046
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1047
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1048
+ # the *AWS General Reference* guide.
1049
+ #
1050
+ #
1051
+ #
1052
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1053
+ #
1054
+ # @option params [String] :client_token
1055
+ # Used for an idempotency token. A client token is a unique,
1056
+ # case-sensitive string of up to 64 ASCII characters. You should not
1057
+ # reuse the same client token for other API requests.
1058
+ #
1059
+ # **A suitable default value is auto-generated.** You should normally
1060
+ # not need to pass this option.**
1061
+ #
1062
+ # @option params [String] :source_arn
1063
+ # The Amazon Resource Name (ARN) of the imported resource you want to
1064
+ # remove from the AWS Resilience Hub application. For more information
1065
+ # about ARNs, see [ Amazon Resource Names (ARNs)][1] in the *AWS General
1066
+ # Reference* guide.
1067
+ #
1068
+ #
1069
+ #
1070
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1071
+ #
1072
+ # @option params [Types::TerraformSource] :terraform_source
1073
+ # The imported Terraform s3 state file you want to remove from the AWS
1074
+ # Resilience Hub application.
1075
+ #
1076
+ # @return [Types::DeleteAppInputSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1077
+ #
1078
+ # * {Types::DeleteAppInputSourceResponse#app_arn #app_arn} => String
1079
+ # * {Types::DeleteAppInputSourceResponse#app_input_source #app_input_source} => Types::AppInputSource
1080
+ #
1081
+ # @example Request syntax with placeholder values
1082
+ #
1083
+ # resp = client.delete_app_input_source({
1084
+ # app_arn: "Arn", # required
1085
+ # client_token: "ClientToken",
1086
+ # source_arn: "Arn",
1087
+ # terraform_source: {
1088
+ # s3_state_file_url: "S3Url", # required
1089
+ # },
1090
+ # })
1091
+ #
1092
+ # @example Response structure
1093
+ #
1094
+ # resp.app_arn #=> String
1095
+ # resp.app_input_source.import_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform"
1096
+ # resp.app_input_source.resource_count #=> Integer
1097
+ # resp.app_input_source.source_arn #=> String
1098
+ # resp.app_input_source.source_name #=> String
1099
+ # resp.app_input_source.terraform_source.s3_state_file_url #=> String
1100
+ #
1101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppInputSource AWS API Documentation
1102
+ #
1103
+ # @overload delete_app_input_source(params = {})
1104
+ # @param [Hash] params ({})
1105
+ def delete_app_input_source(params = {}, options = {})
1106
+ req = build_request(:delete_app_input_source, params)
1107
+ req.send_request(options)
1108
+ end
1109
+
1110
+ # Deletes an Application Component from the AWS Resilience Hub
1111
+ # application.
1112
+ #
1113
+ # <note markdown="1"> * This API updates the AWS Resilience Hub application draft version.
1114
+ # To use this Application Component for running assessments, you must
1115
+ # publish the AWS Resilience Hub application using the
1116
+ # `PublishAppVersion` API.
1117
+ #
1118
+ # * You will not be able to delete an Application Component if it has
1119
+ # resources associated with it.
1120
+ #
1121
+ # </note>
1122
+ #
1123
+ # @option params [required, String] :app_arn
1124
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1125
+ # The format for this ARN is:
1126
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1127
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1128
+ # the *AWS General Reference* guide.
1129
+ #
1130
+ #
1131
+ #
1132
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1133
+ #
1134
+ # @option params [String] :client_token
1135
+ # Used for an idempotency token. A client token is a unique,
1136
+ # case-sensitive string of up to 64 ASCII characters. You should not
1137
+ # reuse the same client token for other API requests.
1138
+ #
1139
+ # **A suitable default value is auto-generated.** You should normally
1140
+ # not need to pass this option.**
1141
+ #
1142
+ # @option params [required, String] :id
1143
+ # The identifier of the Application Component.
1144
+ #
1145
+ # @return [Types::DeleteAppVersionAppComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1146
+ #
1147
+ # * {Types::DeleteAppVersionAppComponentResponse#app_arn #app_arn} => String
1148
+ # * {Types::DeleteAppVersionAppComponentResponse#app_component #app_component} => Types::AppComponent
1149
+ # * {Types::DeleteAppVersionAppComponentResponse#app_version #app_version} => String
1150
+ #
1151
+ # @example Request syntax with placeholder values
1152
+ #
1153
+ # resp = client.delete_app_version_app_component({
1154
+ # app_arn: "Arn", # required
1155
+ # client_token: "ClientToken",
1156
+ # id: "String255", # required
1157
+ # })
1158
+ #
1159
+ # @example Response structure
1160
+ #
1161
+ # resp.app_arn #=> String
1162
+ # resp.app_component.additional_info #=> Hash
1163
+ # resp.app_component.additional_info["String128WithoutWhitespace"] #=> Array
1164
+ # resp.app_component.additional_info["String128WithoutWhitespace"][0] #=> String
1165
+ # resp.app_component.id #=> String
1166
+ # resp.app_component.name #=> String
1167
+ # resp.app_component.type #=> String
1168
+ # resp.app_version #=> String
1169
+ #
1170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionAppComponent AWS API Documentation
1171
+ #
1172
+ # @overload delete_app_version_app_component(params = {})
1173
+ # @param [Hash] params ({})
1174
+ def delete_app_version_app_component(params = {}, options = {})
1175
+ req = build_request(:delete_app_version_app_component, params)
1176
+ req.send_request(options)
1177
+ end
1178
+
1179
+ # Deletes a resource from the AWS Resilience Hub application.
1180
+ #
1181
+ # <note markdown="1"> * You can only delete a manually added resource. To exclude
1182
+ # non-manually added resources, use the `UpdateAppVersionResource`
1183
+ # API.
1184
+ #
1185
+ # * This action has no effect outside AWS Resilience Hub.
1186
+ #
1187
+ # * This API updates the AWS Resilience Hub application draft version.
1188
+ # To use this resource for running resiliency assessments, you must
1189
+ # publish the AWS Resilience Hub application using the
1190
+ # `PublishAppVersion` API.
1191
+ #
1192
+ # </note>
1193
+ #
1194
+ # @option params [required, String] :app_arn
1195
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1196
+ # The format for this ARN is:
1197
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1198
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1199
+ # the *AWS General Reference* guide.
1200
+ #
1201
+ #
1202
+ #
1203
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1204
+ #
1205
+ # @option params [String] :aws_account_id
1206
+ # The Amazon Web Services account that owns the physical resource.
1207
+ #
1208
+ # @option params [String] :aws_region
1209
+ # The Amazon Web Services region that owns the physical resource.
1210
+ #
1211
+ # @option params [String] :client_token
1212
+ # Used for an idempotency token. A client token is a unique,
1213
+ # case-sensitive string of up to 64 ASCII characters. You should not
1214
+ # reuse the same client token for other API requests.
1215
+ #
1216
+ # **A suitable default value is auto-generated.** You should normally
1217
+ # not need to pass this option.**
1218
+ #
1219
+ # @option params [Types::LogicalResourceId] :logical_resource_id
1220
+ # The logical identifier of the resource.
1221
+ #
1222
+ # @option params [String] :physical_resource_id
1223
+ # The physical identifier of the resource.
1224
+ #
1225
+ # @option params [String] :resource_name
1226
+ # The name of the resource.
1227
+ #
1228
+ # @return [Types::DeleteAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1229
+ #
1230
+ # * {Types::DeleteAppVersionResourceResponse#app_arn #app_arn} => String
1231
+ # * {Types::DeleteAppVersionResourceResponse#app_version #app_version} => String
1232
+ # * {Types::DeleteAppVersionResourceResponse#physical_resource #physical_resource} => Types::PhysicalResource
1233
+ #
1234
+ # @example Request syntax with placeholder values
1235
+ #
1236
+ # resp = client.delete_app_version_resource({
1237
+ # app_arn: "Arn", # required
1238
+ # aws_account_id: "CustomerId",
1239
+ # aws_region: "AwsRegion",
1240
+ # client_token: "ClientToken",
1241
+ # logical_resource_id: {
1242
+ # identifier: "String255", # required
1243
+ # logical_stack_name: "String255",
1244
+ # resource_group_name: "EntityName",
1245
+ # terraform_source_name: "String255",
1246
+ # },
1247
+ # physical_resource_id: "String2048",
1248
+ # resource_name: "EntityName",
1249
+ # })
1250
+ #
1251
+ # @example Response structure
1252
+ #
1253
+ # resp.app_arn #=> String
1254
+ # resp.app_version #=> String
1255
+ # resp.physical_resource.additional_info #=> Hash
1256
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"] #=> Array
1257
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"][0] #=> String
1258
+ # resp.physical_resource.app_components #=> Array
1259
+ # resp.physical_resource.app_components[0].additional_info #=> Hash
1260
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"] #=> Array
1261
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"][0] #=> String
1262
+ # resp.physical_resource.app_components[0].id #=> String
1263
+ # resp.physical_resource.app_components[0].name #=> String
1264
+ # resp.physical_resource.app_components[0].type #=> String
1265
+ # resp.physical_resource.excluded #=> Boolean
1266
+ # resp.physical_resource.logical_resource_id.identifier #=> String
1267
+ # resp.physical_resource.logical_resource_id.logical_stack_name #=> String
1268
+ # resp.physical_resource.logical_resource_id.resource_group_name #=> String
1269
+ # resp.physical_resource.logical_resource_id.terraform_source_name #=> String
1270
+ # resp.physical_resource.physical_resource_id.aws_account_id #=> String
1271
+ # resp.physical_resource.physical_resource_id.aws_region #=> String
1272
+ # resp.physical_resource.physical_resource_id.identifier #=> String
1273
+ # resp.physical_resource.physical_resource_id.type #=> String, one of "Arn", "Native"
1274
+ # resp.physical_resource.resource_name #=> String
1275
+ # resp.physical_resource.resource_type #=> String
1276
+ #
1277
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionResource AWS API Documentation
1278
+ #
1279
+ # @overload delete_app_version_resource(params = {})
1280
+ # @param [Hash] params ({})
1281
+ def delete_app_version_resource(params = {}, options = {})
1282
+ req = build_request(:delete_app_version_resource, params)
1283
+ req.send_request(options)
1284
+ end
1285
+
826
1286
  # Deletes a recommendation template. This is a destructive action that
827
1287
  # can't be undone.
828
1288
  #
@@ -879,7 +1339,7 @@ module Aws::ResilienceHub
879
1339
  # for this ARN is:
880
1340
  # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
881
1341
  # For more information about ARNs, see [ Amazon Resource Names
882
- # (ARNs)][1] in the *AWS General Reference*.
1342
+ # (ARNs)][1] in the *AWS General Reference* guide.
883
1343
  #
884
1344
  #
885
1345
  #
@@ -912,11 +1372,11 @@ module Aws::ResilienceHub
912
1372
  # Describes an AWS Resilience Hub application.
913
1373
  #
914
1374
  # @option params [required, String] :app_arn
915
- # The Amazon Resource Name (ARN) of the application. The format for this
916
- # ARN is:
1375
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1376
+ # The format for this ARN is:
917
1377
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
918
1378
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
919
- # the *AWS General Reference*.
1379
+ # the *AWS General Reference* guide.
920
1380
  #
921
1381
  #
922
1382
  #
@@ -964,7 +1424,7 @@ module Aws::ResilienceHub
964
1424
  # ARN is:
965
1425
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
966
1426
  # For more information about ARNs, see [ Amazon Resource Names
967
- # (ARNs)][1] in the *AWS General Reference*.
1427
+ # (ARNs)][1] in the *AWS General Reference* guide.
968
1428
  #
969
1429
  #
970
1430
  #
@@ -1038,16 +1498,217 @@ module Aws::ResilienceHub
1038
1498
  req.send_request(options)
1039
1499
  end
1040
1500
 
1501
+ # Describes the AWS Resilience Hub application version.
1502
+ #
1503
+ # @option params [required, String] :app_arn
1504
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1505
+ # The format for this ARN is:
1506
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1507
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1508
+ # the *AWS General Reference* guide.
1509
+ #
1510
+ #
1511
+ #
1512
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1513
+ #
1514
+ # @option params [required, String] :app_version
1515
+ # The AWS Resilience Hub application version.
1516
+ #
1517
+ # @return [Types::DescribeAppVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1518
+ #
1519
+ # * {Types::DescribeAppVersionResponse#additional_info #additional_info} => Hash&lt;String,Array&lt;String&gt;&gt;
1520
+ # * {Types::DescribeAppVersionResponse#app_arn #app_arn} => String
1521
+ # * {Types::DescribeAppVersionResponse#app_version #app_version} => String
1522
+ #
1523
+ # @example Request syntax with placeholder values
1524
+ #
1525
+ # resp = client.describe_app_version({
1526
+ # app_arn: "Arn", # required
1527
+ # app_version: "EntityVersion", # required
1528
+ # })
1529
+ #
1530
+ # @example Response structure
1531
+ #
1532
+ # resp.additional_info #=> Hash
1533
+ # resp.additional_info["String128WithoutWhitespace"] #=> Array
1534
+ # resp.additional_info["String128WithoutWhitespace"][0] #=> String
1535
+ # resp.app_arn #=> String
1536
+ # resp.app_version #=> String
1537
+ #
1538
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersion AWS API Documentation
1539
+ #
1540
+ # @overload describe_app_version(params = {})
1541
+ # @param [Hash] params ({})
1542
+ def describe_app_version(params = {}, options = {})
1543
+ req = build_request(:describe_app_version, params)
1544
+ req.send_request(options)
1545
+ end
1546
+
1547
+ # Describes an Application Component in the AWS Resilience Hub
1548
+ # application.
1549
+ #
1550
+ # @option params [required, String] :app_arn
1551
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1552
+ # The format for this ARN is:
1553
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1554
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1555
+ # the *AWS General Reference* guide.
1556
+ #
1557
+ #
1558
+ #
1559
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1560
+ #
1561
+ # @option params [required, String] :app_version
1562
+ # The AWS Resilience Hub application version.
1563
+ #
1564
+ # @option params [required, String] :id
1565
+ # The identifier of the Application Component.
1566
+ #
1567
+ # @return [Types::DescribeAppVersionAppComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1568
+ #
1569
+ # * {Types::DescribeAppVersionAppComponentResponse#app_arn #app_arn} => String
1570
+ # * {Types::DescribeAppVersionAppComponentResponse#app_component #app_component} => Types::AppComponent
1571
+ # * {Types::DescribeAppVersionAppComponentResponse#app_version #app_version} => String
1572
+ #
1573
+ # @example Request syntax with placeholder values
1574
+ #
1575
+ # resp = client.describe_app_version_app_component({
1576
+ # app_arn: "Arn", # required
1577
+ # app_version: "EntityVersion", # required
1578
+ # id: "String255", # required
1579
+ # })
1580
+ #
1581
+ # @example Response structure
1582
+ #
1583
+ # resp.app_arn #=> String
1584
+ # resp.app_component.additional_info #=> Hash
1585
+ # resp.app_component.additional_info["String128WithoutWhitespace"] #=> Array
1586
+ # resp.app_component.additional_info["String128WithoutWhitespace"][0] #=> String
1587
+ # resp.app_component.id #=> String
1588
+ # resp.app_component.name #=> String
1589
+ # resp.app_component.type #=> String
1590
+ # resp.app_version #=> String
1591
+ #
1592
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionAppComponent AWS API Documentation
1593
+ #
1594
+ # @overload describe_app_version_app_component(params = {})
1595
+ # @param [Hash] params ({})
1596
+ def describe_app_version_app_component(params = {}, options = {})
1597
+ req = build_request(:describe_app_version_app_component, params)
1598
+ req.send_request(options)
1599
+ end
1600
+
1601
+ # Describes a resource of the AWS Resilience Hub application.
1602
+ #
1603
+ # <note markdown="1"> This API accepts only one of the following parameters to descibe the
1604
+ # resource:
1605
+ #
1606
+ # * `resourceName`
1607
+ #
1608
+ # * `logicalResourceId`
1609
+ #
1610
+ # * `physicalResourceId` (Along with `physicalResourceId`, you can also
1611
+ # provide `awsAccountId`, and `awsRegion`)
1612
+ #
1613
+ # </note>
1614
+ #
1615
+ # @option params [required, String] :app_arn
1616
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1617
+ # The format for this ARN is:
1618
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1619
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1620
+ # the *AWS General Reference* guide.
1621
+ #
1622
+ #
1623
+ #
1624
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1625
+ #
1626
+ # @option params [required, String] :app_version
1627
+ # The AWS Resilience Hub application version.
1628
+ #
1629
+ # @option params [String] :aws_account_id
1630
+ # The Amazon Web Services account that owns the physical resource.
1631
+ #
1632
+ # @option params [String] :aws_region
1633
+ # The Amazon Web Services region that owns the physical resource.
1634
+ #
1635
+ # @option params [Types::LogicalResourceId] :logical_resource_id
1636
+ # The logical identifier of the resource.
1637
+ #
1638
+ # @option params [String] :physical_resource_id
1639
+ # The physical identifier of the resource.
1640
+ #
1641
+ # @option params [String] :resource_name
1642
+ # The name of the resource.
1643
+ #
1644
+ # @return [Types::DescribeAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1645
+ #
1646
+ # * {Types::DescribeAppVersionResourceResponse#app_arn #app_arn} => String
1647
+ # * {Types::DescribeAppVersionResourceResponse#app_version #app_version} => String
1648
+ # * {Types::DescribeAppVersionResourceResponse#physical_resource #physical_resource} => Types::PhysicalResource
1649
+ #
1650
+ # @example Request syntax with placeholder values
1651
+ #
1652
+ # resp = client.describe_app_version_resource({
1653
+ # app_arn: "Arn", # required
1654
+ # app_version: "EntityVersion", # required
1655
+ # aws_account_id: "CustomerId",
1656
+ # aws_region: "AwsRegion",
1657
+ # logical_resource_id: {
1658
+ # identifier: "String255", # required
1659
+ # logical_stack_name: "String255",
1660
+ # resource_group_name: "EntityName",
1661
+ # terraform_source_name: "String255",
1662
+ # },
1663
+ # physical_resource_id: "String2048",
1664
+ # resource_name: "EntityName",
1665
+ # })
1666
+ #
1667
+ # @example Response structure
1668
+ #
1669
+ # resp.app_arn #=> String
1670
+ # resp.app_version #=> String
1671
+ # resp.physical_resource.additional_info #=> Hash
1672
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"] #=> Array
1673
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"][0] #=> String
1674
+ # resp.physical_resource.app_components #=> Array
1675
+ # resp.physical_resource.app_components[0].additional_info #=> Hash
1676
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"] #=> Array
1677
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"][0] #=> String
1678
+ # resp.physical_resource.app_components[0].id #=> String
1679
+ # resp.physical_resource.app_components[0].name #=> String
1680
+ # resp.physical_resource.app_components[0].type #=> String
1681
+ # resp.physical_resource.excluded #=> Boolean
1682
+ # resp.physical_resource.logical_resource_id.identifier #=> String
1683
+ # resp.physical_resource.logical_resource_id.logical_stack_name #=> String
1684
+ # resp.physical_resource.logical_resource_id.resource_group_name #=> String
1685
+ # resp.physical_resource.logical_resource_id.terraform_source_name #=> String
1686
+ # resp.physical_resource.physical_resource_id.aws_account_id #=> String
1687
+ # resp.physical_resource.physical_resource_id.aws_region #=> String
1688
+ # resp.physical_resource.physical_resource_id.identifier #=> String
1689
+ # resp.physical_resource.physical_resource_id.type #=> String, one of "Arn", "Native"
1690
+ # resp.physical_resource.resource_name #=> String
1691
+ # resp.physical_resource.resource_type #=> String
1692
+ #
1693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResource AWS API Documentation
1694
+ #
1695
+ # @overload describe_app_version_resource(params = {})
1696
+ # @param [Hash] params ({})
1697
+ def describe_app_version_resource(params = {}, options = {})
1698
+ req = build_request(:describe_app_version_resource, params)
1699
+ req.send_request(options)
1700
+ end
1701
+
1041
1702
  # Returns the resolution status for the specified resolution identifier
1042
1703
  # for an application version. If `resolutionId` is not specified, the
1043
1704
  # current resolution status is returned.
1044
1705
  #
1045
1706
  # @option params [required, String] :app_arn
1046
- # The Amazon Resource Name (ARN) of the application. The format for this
1047
- # ARN is:
1707
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1708
+ # The format for this ARN is:
1048
1709
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1049
1710
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1050
- # the *AWS General Reference*.
1711
+ # the *AWS General Reference* guide.
1051
1712
  #
1052
1713
  #
1053
1714
  #
@@ -1092,14 +1753,14 @@ module Aws::ResilienceHub
1092
1753
  req.send_request(options)
1093
1754
  end
1094
1755
 
1095
- # Describes details about an AWS Resilience Hub
1756
+ # Describes details about an AWS Resilience Hub application.
1096
1757
  #
1097
1758
  # @option params [required, String] :app_arn
1098
- # The Amazon Resource Name (ARN) of the application. The format for this
1099
- # ARN is:
1759
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1760
+ # The format for this ARN is:
1100
1761
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1101
1762
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1102
- # the *AWS General Reference*.
1763
+ # the *AWS General Reference* guide.
1103
1764
  #
1104
1765
  #
1105
1766
  #
@@ -1138,12 +1799,20 @@ module Aws::ResilienceHub
1138
1799
 
1139
1800
  # Describes the status of importing resources to an application version.
1140
1801
  #
1802
+ # <note markdown="1"> If you get a 404 error with
1803
+ # `ResourceImportStatusNotFoundAppMetadataException`, you must call
1804
+ # `importResourcesToDraftAppVersion` after creating the application and
1805
+ # before calling `describeDraftAppVersionResourcesImportStatus` to
1806
+ # obtain the status.
1807
+ #
1808
+ # </note>
1809
+ #
1141
1810
  # @option params [required, String] :app_arn
1142
- # The Amazon Resource Name (ARN) of the application. The format for this
1143
- # ARN is:
1811
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1812
+ # The format for this ARN is:
1144
1813
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1145
1814
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1146
- # the *AWS General Reference*.
1815
+ # the *AWS General Reference* guide.
1147
1816
  #
1148
1817
  #
1149
1818
  #
@@ -1190,7 +1859,7 @@ module Aws::ResilienceHub
1190
1859
  # for this ARN is:
1191
1860
  # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
1192
1861
  # For more information about ARNs, see [ Amazon Resource Names
1193
- # (ARNs)][1] in the *AWS General Reference*.
1862
+ # (ARNs)][1] in the *AWS General Reference* guide.
1194
1863
  #
1195
1864
  #
1196
1865
  #
@@ -1230,21 +1899,30 @@ module Aws::ResilienceHub
1230
1899
  req.send_request(options)
1231
1900
  end
1232
1901
 
1233
- # Imports resources from sources such as a CloudFormation stack,
1234
- # resource-groups, or application registry app to a draft application
1235
- # version.
1902
+ # Imports resources to AWS Resilience Hub application draft version from
1903
+ # different input sources. For more information about the input sources
1904
+ # supported by AWS Resilience Hub, see [Discover the structure and
1905
+ # describe your Resilience Hub application][1].
1906
+ #
1907
+ #
1908
+ #
1909
+ # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html
1236
1910
  #
1237
1911
  # @option params [required, String] :app_arn
1238
- # The Amazon Resource Name (ARN) of the application. The format for this
1239
- # ARN is:
1912
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1913
+ # The format for this ARN is:
1240
1914
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1241
1915
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1242
- # the *AWS General Reference*.
1916
+ # the *AWS General Reference* guide.
1243
1917
  #
1244
1918
  #
1245
1919
  #
1246
1920
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1247
1921
  #
1922
+ # @option params [String] :import_strategy
1923
+ # The import strategy you would like to set to import resources into AWS
1924
+ # Resilience Hub application.
1925
+ #
1248
1926
  # @option params [Array<String>] :source_arns
1249
1927
  # The Amazon Resource Names (ARNs) for the resources that you want to
1250
1928
  # import.
@@ -1264,6 +1942,7 @@ module Aws::ResilienceHub
1264
1942
  #
1265
1943
  # resp = client.import_resources_to_draft_app_version({
1266
1944
  # app_arn: "Arn", # required
1945
+ # import_strategy: "AddOnly", # accepts AddOnly, ReplaceAll
1267
1946
  # source_arns: ["Arn"],
1268
1947
  # terraform_sources: [
1269
1948
  # {
@@ -1291,14 +1970,14 @@ module Aws::ResilienceHub
1291
1970
  req.send_request(options)
1292
1971
  end
1293
1972
 
1294
- # Lists the alarm recommendations for a AWS Resilience Hub application.
1973
+ # Lists the alarm recommendations for an AWS Resilience Hub application.
1295
1974
  #
1296
1975
  # @option params [required, String] :assessment_arn
1297
1976
  # The Amazon Resource Name (ARN) of the assessment. The format for this
1298
1977
  # ARN is:
1299
1978
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
1300
1979
  # For more information about ARNs, see [ Amazon Resource Names
1301
- # (ARNs)][1] in the *AWS General Reference*.
1980
+ # (ARNs)][1] in the *AWS General Reference* guide.
1302
1981
  #
1303
1982
  #
1304
1983
  #
@@ -1359,11 +2038,11 @@ module Aws::ResilienceHub
1359
2038
  # use request parameters to refine the results for the response object.
1360
2039
  #
1361
2040
  # @option params [String] :app_arn
1362
- # The Amazon Resource Name (ARN) of the application. The format for this
1363
- # ARN is:
2041
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2042
+ # The format for this ARN is:
1364
2043
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1365
2044
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1366
- # the *AWS General Reference*.
2045
+ # the *AWS General Reference* guide.
1367
2046
  #
1368
2047
  #
1369
2048
  #
@@ -1444,14 +2123,14 @@ module Aws::ResilienceHub
1444
2123
  req.send_request(options)
1445
2124
  end
1446
2125
 
1447
- # Lists the compliances for an AWS Resilience Hub component.
2126
+ # Lists the compliances for an AWS Resilience Hub Application Component.
1448
2127
  #
1449
2128
  # @option params [required, String] :assessment_arn
1450
2129
  # The Amazon Resource Name (ARN) of the assessment. The format for this
1451
2130
  # ARN is:
1452
2131
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
1453
2132
  # For more information about ARNs, see [ Amazon Resource Names
1454
- # (ARNs)][1] in the *AWS General Reference*.
2133
+ # (ARNs)][1] in the *AWS General Reference* guide.
1455
2134
  #
1456
2135
  #
1457
2136
  #
@@ -1516,14 +2195,15 @@ module Aws::ResilienceHub
1516
2195
  req.send_request(options)
1517
2196
  end
1518
2197
 
1519
- # Lists the recommendations for an AWS Resilience Hub component.
2198
+ # Lists the recommendations for an AWS Resilience Hub Application
2199
+ # Component.
1520
2200
  #
1521
2201
  # @option params [required, String] :assessment_arn
1522
2202
  # The Amazon Resource Name (ARN) of the assessment. The format for this
1523
2203
  # ARN is:
1524
2204
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
1525
2205
  # For more information about ARNs, see [ Amazon Resource Names
1526
- # (ARNs)][1] in the *AWS General Reference*.
2206
+ # (ARNs)][1] in the *AWS General Reference* guide.
1527
2207
  #
1528
2208
  #
1529
2209
  #
@@ -1541,61 +2221,192 @@ module Aws::ResilienceHub
1541
2221
  #
1542
2222
  # @return [Types::ListAppComponentRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1543
2223
  #
1544
- # * {Types::ListAppComponentRecommendationsResponse#component_recommendations #component_recommendations} => Array&lt;Types::ComponentRecommendation&gt;
1545
- # * {Types::ListAppComponentRecommendationsResponse#next_token #next_token} => String
2224
+ # * {Types::ListAppComponentRecommendationsResponse#component_recommendations #component_recommendations} => Array&lt;Types::ComponentRecommendation&gt;
2225
+ # * {Types::ListAppComponentRecommendationsResponse#next_token #next_token} => String
2226
+ #
2227
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2228
+ #
2229
+ # @example Request syntax with placeholder values
2230
+ #
2231
+ # resp = client.list_app_component_recommendations({
2232
+ # assessment_arn: "Arn", # required
2233
+ # max_results: 1,
2234
+ # next_token: "NextToken",
2235
+ # })
2236
+ #
2237
+ # @example Response structure
2238
+ #
2239
+ # resp.component_recommendations #=> Array
2240
+ # resp.component_recommendations[0].app_component_name #=> String
2241
+ # resp.component_recommendations[0].config_recommendations #=> Array
2242
+ # resp.component_recommendations[0].config_recommendations[0].app_component_name #=> String
2243
+ # resp.component_recommendations[0].config_recommendations[0].compliance #=> Hash
2244
+ # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
2245
+ # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].achievable_rto_in_secs #=> Integer
2246
+ # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
2247
+ # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].current_rpo_in_secs #=> Integer
2248
+ # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].current_rto_in_secs #=> Integer
2249
+ # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].message #=> String
2250
+ # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].rpo_description #=> String
2251
+ # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].rpo_reference_id #=> String
2252
+ # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].rto_description #=> String
2253
+ # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].rto_reference_id #=> String
2254
+ # resp.component_recommendations[0].config_recommendations[0].cost.amount #=> Float
2255
+ # resp.component_recommendations[0].config_recommendations[0].cost.currency #=> String
2256
+ # resp.component_recommendations[0].config_recommendations[0].cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
2257
+ # resp.component_recommendations[0].config_recommendations[0].description #=> String
2258
+ # resp.component_recommendations[0].config_recommendations[0].ha_architecture #=> String, one of "MultiSite", "WarmStandby", "PilotLight", "BackupAndRestore", "NoRecoveryPlan"
2259
+ # resp.component_recommendations[0].config_recommendations[0].name #=> String
2260
+ # resp.component_recommendations[0].config_recommendations[0].optimization_type #=> String, one of "LeastCost", "LeastChange", "BestAZRecovery", "LeastErrors", "BestAttainable", "BestRegionRecovery"
2261
+ # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance #=> Hash
2262
+ # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
2263
+ # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rpo_description #=> String
2264
+ # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rpo_in_secs #=> Integer
2265
+ # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rto_description #=> String
2266
+ # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rto_in_secs #=> Integer
2267
+ # resp.component_recommendations[0].config_recommendations[0].reference_id #=> String
2268
+ # resp.component_recommendations[0].config_recommendations[0].suggested_changes #=> Array
2269
+ # resp.component_recommendations[0].config_recommendations[0].suggested_changes[0] #=> String
2270
+ # resp.component_recommendations[0].recommendation_status #=> String, one of "BreachedUnattainable", "BreachedCanMeet", "MetCanImprove"
2271
+ # resp.next_token #=> String
2272
+ #
2273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations AWS API Documentation
2274
+ #
2275
+ # @overload list_app_component_recommendations(params = {})
2276
+ # @param [Hash] params ({})
2277
+ def list_app_component_recommendations(params = {}, options = {})
2278
+ req = build_request(:list_app_component_recommendations, params)
2279
+ req.send_request(options)
2280
+ end
2281
+
2282
+ # Lists all the input sources of the AWS Resilience Hub application. For
2283
+ # more information about the input sources supported by AWS Resilience
2284
+ # Hub, see [Discover the structure and describe your Resilience Hub
2285
+ # application][1].
2286
+ #
2287
+ #
2288
+ #
2289
+ # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html
2290
+ #
2291
+ # @option params [required, String] :app_arn
2292
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2293
+ # The format for this ARN is:
2294
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2295
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2296
+ # the *AWS General Reference* guide.
2297
+ #
2298
+ #
2299
+ #
2300
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2301
+ #
2302
+ # @option params [required, String] :app_version
2303
+ # The AWS Resilience Hub application version.
2304
+ #
2305
+ # @option params [Integer] :max_results
2306
+ # Maximum number of input sources to be displayed per AWS Resilience Hub
2307
+ # application.
2308
+ #
2309
+ # @option params [String] :next_token
2310
+ # Null, or the token from a previous call to get the next set of
2311
+ # results.
2312
+ #
2313
+ # @return [Types::ListAppInputSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2314
+ #
2315
+ # * {Types::ListAppInputSourcesResponse#app_input_sources #app_input_sources} => Array&lt;Types::AppInputSource&gt;
2316
+ # * {Types::ListAppInputSourcesResponse#next_token #next_token} => String
2317
+ #
2318
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2319
+ #
2320
+ # @example Request syntax with placeholder values
2321
+ #
2322
+ # resp = client.list_app_input_sources({
2323
+ # app_arn: "Arn", # required
2324
+ # app_version: "EntityVersion", # required
2325
+ # max_results: 1,
2326
+ # next_token: "NextToken",
2327
+ # })
2328
+ #
2329
+ # @example Response structure
2330
+ #
2331
+ # resp.app_input_sources #=> Array
2332
+ # resp.app_input_sources[0].import_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform"
2333
+ # resp.app_input_sources[0].resource_count #=> Integer
2334
+ # resp.app_input_sources[0].source_arn #=> String
2335
+ # resp.app_input_sources[0].source_name #=> String
2336
+ # resp.app_input_sources[0].terraform_source.s3_state_file_url #=> String
2337
+ # resp.next_token #=> String
2338
+ #
2339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppInputSources AWS API Documentation
2340
+ #
2341
+ # @overload list_app_input_sources(params = {})
2342
+ # @param [Hash] params ({})
2343
+ def list_app_input_sources(params = {}, options = {})
2344
+ req = build_request(:list_app_input_sources, params)
2345
+ req.send_request(options)
2346
+ end
2347
+
2348
+ # Lists all the Application Components in the AWS Resilience Hub
2349
+ # application.
2350
+ #
2351
+ # @option params [required, String] :app_arn
2352
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2353
+ # The format for this ARN is:
2354
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2355
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2356
+ # the *AWS General Reference* guide.
2357
+ #
2358
+ #
2359
+ #
2360
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2361
+ #
2362
+ # @option params [required, String] :app_version
2363
+ # The version of the Application Component.
2364
+ #
2365
+ # @option params [Integer] :max_results
2366
+ # Maximum number of Application Components to be displayed per AWS
2367
+ # Resilience Hub application version.
2368
+ #
2369
+ # @option params [String] :next_token
2370
+ # Null, or the token from a previous call to get the next set of
2371
+ # results.
2372
+ #
2373
+ # @return [Types::ListAppVersionAppComponentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2374
+ #
2375
+ # * {Types::ListAppVersionAppComponentsResponse#app_arn #app_arn} => String
2376
+ # * {Types::ListAppVersionAppComponentsResponse#app_components #app_components} => Array&lt;Types::AppComponent&gt;
2377
+ # * {Types::ListAppVersionAppComponentsResponse#app_version #app_version} => String
2378
+ # * {Types::ListAppVersionAppComponentsResponse#next_token #next_token} => String
1546
2379
  #
1547
2380
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1548
2381
  #
1549
2382
  # @example Request syntax with placeholder values
1550
2383
  #
1551
- # resp = client.list_app_component_recommendations({
1552
- # assessment_arn: "Arn", # required
2384
+ # resp = client.list_app_version_app_components({
2385
+ # app_arn: "Arn", # required
2386
+ # app_version: "EntityVersion", # required
1553
2387
  # max_results: 1,
1554
2388
  # next_token: "NextToken",
1555
2389
  # })
1556
2390
  #
1557
2391
  # @example Response structure
1558
2392
  #
1559
- # resp.component_recommendations #=> Array
1560
- # resp.component_recommendations[0].app_component_name #=> String
1561
- # resp.component_recommendations[0].config_recommendations #=> Array
1562
- # resp.component_recommendations[0].config_recommendations[0].app_component_name #=> String
1563
- # resp.component_recommendations[0].config_recommendations[0].compliance #=> Hash
1564
- # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
1565
- # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].achievable_rto_in_secs #=> Integer
1566
- # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
1567
- # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].current_rpo_in_secs #=> Integer
1568
- # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].current_rto_in_secs #=> Integer
1569
- # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].message #=> String
1570
- # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].rpo_description #=> String
1571
- # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].rpo_reference_id #=> String
1572
- # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].rto_description #=> String
1573
- # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].rto_reference_id #=> String
1574
- # resp.component_recommendations[0].config_recommendations[0].cost.amount #=> Float
1575
- # resp.component_recommendations[0].config_recommendations[0].cost.currency #=> String
1576
- # resp.component_recommendations[0].config_recommendations[0].cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
1577
- # resp.component_recommendations[0].config_recommendations[0].description #=> String
1578
- # resp.component_recommendations[0].config_recommendations[0].ha_architecture #=> String, one of "MultiSite", "WarmStandby", "PilotLight", "BackupAndRestore", "NoRecoveryPlan"
1579
- # resp.component_recommendations[0].config_recommendations[0].name #=> String
1580
- # resp.component_recommendations[0].config_recommendations[0].optimization_type #=> String, one of "LeastCost", "LeastChange", "BestAZRecovery", "LeastErrors", "BestAttainable", "BestRegionRecovery"
1581
- # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance #=> Hash
1582
- # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
1583
- # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rpo_description #=> String
1584
- # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rpo_in_secs #=> Integer
1585
- # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rto_description #=> String
1586
- # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rto_in_secs #=> Integer
1587
- # resp.component_recommendations[0].config_recommendations[0].reference_id #=> String
1588
- # resp.component_recommendations[0].config_recommendations[0].suggested_changes #=> Array
1589
- # resp.component_recommendations[0].config_recommendations[0].suggested_changes[0] #=> String
1590
- # resp.component_recommendations[0].recommendation_status #=> String, one of "BreachedUnattainable", "BreachedCanMeet", "MetCanImprove"
2393
+ # resp.app_arn #=> String
2394
+ # resp.app_components #=> Array
2395
+ # resp.app_components[0].additional_info #=> Hash
2396
+ # resp.app_components[0].additional_info["String128WithoutWhitespace"] #=> Array
2397
+ # resp.app_components[0].additional_info["String128WithoutWhitespace"][0] #=> String
2398
+ # resp.app_components[0].id #=> String
2399
+ # resp.app_components[0].name #=> String
2400
+ # resp.app_components[0].type #=> String
2401
+ # resp.app_version #=> String
1591
2402
  # resp.next_token #=> String
1592
2403
  #
1593
- # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations AWS API Documentation
2404
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionAppComponents AWS API Documentation
1594
2405
  #
1595
- # @overload list_app_component_recommendations(params = {})
2406
+ # @overload list_app_version_app_components(params = {})
1596
2407
  # @param [Hash] params ({})
1597
- def list_app_component_recommendations(params = {}, options = {})
1598
- req = build_request(:list_app_component_recommendations, params)
2408
+ def list_app_version_app_components(params = {}, options = {})
2409
+ req = build_request(:list_app_version_app_components, params)
1599
2410
  req.send_request(options)
1600
2411
  end
1601
2412
 
@@ -1604,11 +2415,11 @@ module Aws::ResilienceHub
1604
2415
  # stacks, resource-groups, or an application registry app.
1605
2416
  #
1606
2417
  # @option params [required, String] :app_arn
1607
- # The Amazon Resource Name (ARN) of the application. The format for this
1608
- # ARN is:
2418
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2419
+ # The format for this ARN is:
1609
2420
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1610
2421
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1611
- # the *AWS General Reference*.
2422
+ # the *AWS General Reference* guide.
1612
2423
  #
1613
2424
  #
1614
2425
  #
@@ -1667,14 +2478,14 @@ module Aws::ResilienceHub
1667
2478
  req.send_request(options)
1668
2479
  end
1669
2480
 
1670
- # Lists all the resources in an application version.
2481
+ # Lists all the resources in an AWS Resilience Hub application.
1671
2482
  #
1672
2483
  # @option params [required, String] :app_arn
1673
- # The Amazon Resource Name (ARN) of the application. The format for this
1674
- # ARN is:
2484
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2485
+ # The format for this ARN is:
1675
2486
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1676
2487
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1677
- # the *AWS General Reference*.
2488
+ # the *AWS General Reference* guide.
1678
2489
  #
1679
2490
  #
1680
2491
  #
@@ -1718,9 +2529,17 @@ module Aws::ResilienceHub
1718
2529
  #
1719
2530
  # resp.next_token #=> String
1720
2531
  # resp.physical_resources #=> Array
2532
+ # resp.physical_resources[0].additional_info #=> Hash
2533
+ # resp.physical_resources[0].additional_info["String128WithoutWhitespace"] #=> Array
2534
+ # resp.physical_resources[0].additional_info["String128WithoutWhitespace"][0] #=> String
1721
2535
  # resp.physical_resources[0].app_components #=> Array
2536
+ # resp.physical_resources[0].app_components[0].additional_info #=> Hash
2537
+ # resp.physical_resources[0].app_components[0].additional_info["String128WithoutWhitespace"] #=> Array
2538
+ # resp.physical_resources[0].app_components[0].additional_info["String128WithoutWhitespace"][0] #=> String
2539
+ # resp.physical_resources[0].app_components[0].id #=> String
1722
2540
  # resp.physical_resources[0].app_components[0].name #=> String
1723
2541
  # resp.physical_resources[0].app_components[0].type #=> String
2542
+ # resp.physical_resources[0].excluded #=> Boolean
1724
2543
  # resp.physical_resources[0].logical_resource_id.identifier #=> String
1725
2544
  # resp.physical_resources[0].logical_resource_id.logical_stack_name #=> String
1726
2545
  # resp.physical_resources[0].logical_resource_id.resource_group_name #=> String
@@ -1742,14 +2561,14 @@ module Aws::ResilienceHub
1742
2561
  req.send_request(options)
1743
2562
  end
1744
2563
 
1745
- # Lists the different versions for the Resilience Hub applications.
2564
+ # Lists the different versions for the AWS Resilience Hub applications.
1746
2565
  #
1747
2566
  # @option params [required, String] :app_arn
1748
- # The Amazon Resource Name (ARN) of the application. The format for this
1749
- # ARN is:
2567
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2568
+ # The format for this ARN is:
1750
2569
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1751
2570
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1752
- # the *AWS General Reference*.
2571
+ # the *AWS General Reference* guide.
1753
2572
  #
1754
2573
  #
1755
2574
  #
@@ -1795,14 +2614,23 @@ module Aws::ResilienceHub
1795
2614
  req.send_request(options)
1796
2615
  end
1797
2616
 
1798
- # Lists your Resilience Hub applications.
2617
+ # Lists your AWS Resilience Hub applications.
2618
+ #
2619
+ # <note markdown="1"> You can filter applications using only one filter at a time or without
2620
+ # using any filter. If you try to filter applications using multiple
2621
+ # filters, you will get the following error:
2622
+ #
2623
+ # `An error occurred (ValidationException) when calling the ListApps
2624
+ # operation: Only one filter is supported for this operation.`
2625
+ #
2626
+ # </note>
1799
2627
  #
1800
2628
  # @option params [String] :app_arn
1801
- # The Amazon Resource Name (ARN) of the application. The format for this
1802
- # ARN is:
2629
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2630
+ # The format for this ARN is:
1803
2631
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1804
2632
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1805
- # the *AWS General Reference*.
2633
+ # the *AWS General Reference* guide.
1806
2634
  #
1807
2635
  #
1808
2636
  #
@@ -1859,7 +2687,7 @@ module Aws::ResilienceHub
1859
2687
  req.send_request(options)
1860
2688
  end
1861
2689
 
1862
- # Lists the recommendation templates for the Resilience Hub
2690
+ # Lists the recommendation templates for the AWS Resilience Hub
1863
2691
  # applications.
1864
2692
  #
1865
2693
  # @option params [required, String] :assessment_arn
@@ -1867,7 +2695,7 @@ module Aws::ResilienceHub
1867
2695
  # ARN is:
1868
2696
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
1869
2697
  # For more information about ARNs, see [ Amazon Resource Names
1870
- # (ARNs)][1] in the *AWS General Reference*.
2698
+ # (ARNs)][1] in the *AWS General Reference* guide.
1871
2699
  #
1872
2700
  #
1873
2701
  #
@@ -1947,7 +2775,7 @@ module Aws::ResilienceHub
1947
2775
  req.send_request(options)
1948
2776
  end
1949
2777
 
1950
- # Lists the resiliency policies for the Resilience Hub applications.
2778
+ # Lists the resiliency policies for the AWS Resilience Hub applications.
1951
2779
  #
1952
2780
  # @option params [Integer] :max_results
1953
2781
  # The maximum number of results to include in the response. If more
@@ -2004,14 +2832,14 @@ module Aws::ResilienceHub
2004
2832
  end
2005
2833
 
2006
2834
  # Lists the standard operating procedure (SOP) recommendations for the
2007
- # Resilience Hub applications.
2835
+ # AWS Resilience Hub applications.
2008
2836
  #
2009
2837
  # @option params [required, String] :assessment_arn
2010
2838
  # The Amazon Resource Name (ARN) of the assessment. The format for this
2011
2839
  # ARN is:
2012
2840
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
2013
2841
  # For more information about ARNs, see [ Amazon Resource Names
2014
- # (ARNs)][1] in the *AWS General Reference*.
2842
+ # (ARNs)][1] in the *AWS General Reference* guide.
2015
2843
  #
2016
2844
  #
2017
2845
  #
@@ -2068,7 +2896,7 @@ module Aws::ResilienceHub
2068
2896
  req.send_request(options)
2069
2897
  end
2070
2898
 
2071
- # Lists the suggested resiliency policies for the Resilience Hub
2899
+ # Lists the suggested resiliency policies for the AWS Resilience Hub
2072
2900
  # applications.
2073
2901
  #
2074
2902
  # @option params [Integer] :max_results
@@ -2121,10 +2949,11 @@ module Aws::ResilienceHub
2121
2949
  req.send_request(options)
2122
2950
  end
2123
2951
 
2124
- # Lists the tags for your resources in your Resilience Hub applications.
2952
+ # Lists the tags for your resources in your AWS Resilience Hub
2953
+ # applications.
2125
2954
  #
2126
2955
  # @option params [required, String] :resource_arn
2127
- # The Amazon Resource Name (ARN) for a specific resource in your
2956
+ # The Amazon Resource Name (ARN) for a specific resource in your AWS
2128
2957
  # Resilience Hub application.
2129
2958
  #
2130
2959
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -2151,14 +2980,14 @@ module Aws::ResilienceHub
2151
2980
  req.send_request(options)
2152
2981
  end
2153
2982
 
2154
- # Lists the test recommendations for the Resilience Hub application.
2983
+ # Lists the test recommendations for the AWS Resilience Hub application.
2155
2984
  #
2156
2985
  # @option params [required, String] :assessment_arn
2157
2986
  # The Amazon Resource Name (ARN) of the assessment. The format for this
2158
2987
  # ARN is:
2159
2988
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
2160
2989
  # For more information about ARNs, see [ Amazon Resource Names
2161
- # (ARNs)][1] in the *AWS General Reference*.
2990
+ # (ARNs)][1] in the *AWS General Reference* guide.
2162
2991
  #
2163
2992
  #
2164
2993
  #
@@ -2221,15 +3050,15 @@ module Aws::ResilienceHub
2221
3050
 
2222
3051
  # Lists the resources that are not currently supported in AWS Resilience
2223
3052
  # Hub. An unsupported resource is a resource that exists in the object
2224
- # that was used to create an app, but is not supported by Resilience
3053
+ # that was used to create an app, but is not supported by AWS Resilience
2225
3054
  # Hub.
2226
3055
  #
2227
3056
  # @option params [required, String] :app_arn
2228
- # The Amazon Resource Name (ARN) of the application. The format for this
2229
- # ARN is:
3057
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3058
+ # The format for this ARN is:
2230
3059
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2231
3060
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2232
- # the *AWS General Reference*.
3061
+ # the *AWS General Reference* guide.
2233
3062
  #
2234
3063
  #
2235
3064
  #
@@ -2293,14 +3122,14 @@ module Aws::ResilienceHub
2293
3122
  req.send_request(options)
2294
3123
  end
2295
3124
 
2296
- # Publishes a new version of a specific Resilience Hub application.
3125
+ # Publishes a new version of a specific AWS Resilience Hub application.
2297
3126
  #
2298
3127
  # @option params [required, String] :app_arn
2299
- # The Amazon Resource Name (ARN) of the application. The format for this
2300
- # ARN is:
3128
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3129
+ # The format for this ARN is:
2301
3130
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2302
3131
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2303
- # the *AWS General Reference*.
3132
+ # the *AWS General Reference* guide.
2304
3133
  #
2305
3134
  #
2306
3135
  #
@@ -2331,22 +3160,190 @@ module Aws::ResilienceHub
2331
3160
  req.send_request(options)
2332
3161
  end
2333
3162
 
2334
- # Adds or updates the app template for a draft version of a Resilience
2335
- # Hub app.
3163
+ # Adds or updates the app template for an AWS Resilience Hub application
3164
+ # draft version.
2336
3165
  #
2337
3166
  # @option params [required, String] :app_arn
2338
- # The Amazon Resource Name (ARN) of the application. The format for this
2339
- # ARN is:
3167
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3168
+ # The format for this ARN is:
2340
3169
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2341
3170
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2342
- # the *AWS General Reference*.
3171
+ # the *AWS General Reference* guide.
2343
3172
  #
2344
3173
  #
2345
3174
  #
2346
3175
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2347
3176
  #
2348
3177
  # @option params [required, String] :app_template_body
2349
- # A JSON string that contains the body of the app template.
3178
+ # A JSON string that provides information about your application
3179
+ # structure. To learn more about the `appTemplateBody` template, see the
3180
+ # sample template provided in the *Examples* section.
3181
+ #
3182
+ # The `appTemplateBody` JSON string has the following structure:
3183
+ #
3184
+ # * <b> <code>resources</code> </b>
3185
+ #
3186
+ # The list of logical resources that needs to be included in the
3187
+ # application.
3188
+ #
3189
+ # Type: Array
3190
+ #
3191
+ # <note markdown="1"> Don't add the resources that you want to exclude.
3192
+ #
3193
+ # </note>
3194
+ #
3195
+ # Each `resources` array item includes the following fields:
3196
+ #
3197
+ # * <i> <code>logicalResourceId</code> </i>
3198
+ #
3199
+ # The logical identifier of the resource.
3200
+ #
3201
+ # Type: Object
3202
+ #
3203
+ # Each `logicalResourceId` object includes the following fields:
3204
+ #
3205
+ # * `identifier`
3206
+ #
3207
+ # The identifier of the resource.
3208
+ #
3209
+ # Type: String
3210
+ #
3211
+ # * `logicalStackName`
3212
+ #
3213
+ # The name of the CloudFormation stack this resource belongs to.
3214
+ #
3215
+ # Type: String
3216
+ #
3217
+ # * `resourceGroupName`
3218
+ #
3219
+ # The name of the resource group this resource belongs to.
3220
+ #
3221
+ # Type: String
3222
+ #
3223
+ # * `terraformSourceName`
3224
+ #
3225
+ # The name of the Terraform S3 state file this resource belongs
3226
+ # to.
3227
+ #
3228
+ # Type: String
3229
+ #
3230
+ # * <i> <code>type</code> </i>
3231
+ #
3232
+ # The type of resource.
3233
+ #
3234
+ # Type: string
3235
+ #
3236
+ # * <i> <code>name</code> </i>
3237
+ #
3238
+ # The name of the resource.
3239
+ #
3240
+ # Type: String
3241
+ #
3242
+ # * <b> <code>appComponents</code> </b>
3243
+ #
3244
+ # The list of Application Components that this resource belongs to. If
3245
+ # an Application Component is not part of the AWS Resilience Hub
3246
+ # application, it will be added.
3247
+ #
3248
+ # Type: Array
3249
+ #
3250
+ # Each `appComponents` array item includes the following fields:
3251
+ #
3252
+ # * `name`
3253
+ #
3254
+ # The name of the Application Component.
3255
+ #
3256
+ # Type: String
3257
+ #
3258
+ # * `type`
3259
+ #
3260
+ # The type of Application Component. For more information about the
3261
+ # types of Application Component, see [Grouping resources in an
3262
+ # AppComponent][1].
3263
+ #
3264
+ # Type: String
3265
+ #
3266
+ # * `resourceNames`
3267
+ #
3268
+ # The list of included resources that are assigned to the
3269
+ # Application Component.
3270
+ #
3271
+ # Type: Array of strings
3272
+ #
3273
+ # * `additionalInfo`
3274
+ #
3275
+ # Additional configuration parameters for an AWS Resilience Hub
3276
+ # application.
3277
+ #
3278
+ # <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
3279
+ # format) of only one failover region and one associated account.
3280
+ #
3281
+ # Key: `"failover-regions"`
3282
+ #
3283
+ # Value: `"[\{"region":"<REGION>",
3284
+ # "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
3285
+ #
3286
+ # </note>
3287
+ #
3288
+ # * <b> <code>excludedResources</code> </b>
3289
+ #
3290
+ # The list of logical resource identifiers to be excluded from the
3291
+ # application.
3292
+ #
3293
+ # Type: Array
3294
+ #
3295
+ # <note markdown="1"> Don't add the resources that you want to include.
3296
+ #
3297
+ # </note>
3298
+ #
3299
+ # Each `excludedResources` array item includes the following fields:
3300
+ #
3301
+ # * <i> <code>logicalResourceIds</code> </i>
3302
+ #
3303
+ # The logical identifier of the resource.
3304
+ #
3305
+ # Type: Object
3306
+ #
3307
+ # <note markdown="1"> You can configure only one of the following fields:
3308
+ #
3309
+ # * `logicalStackName`
3310
+ #
3311
+ # * `resourceGroupName`
3312
+ #
3313
+ # * `terraformSourceName`
3314
+ #
3315
+ # </note>
3316
+ #
3317
+ # Each `logicalResourceIds` object includes the following fields:
3318
+ #
3319
+ # * `identifier`
3320
+ #
3321
+ # The identifier of the resource.
3322
+ #
3323
+ # Type: String
3324
+ #
3325
+ # * `logicalStackName`
3326
+ #
3327
+ # The name of the CloudFormation stack this resource belongs to.
3328
+ #
3329
+ # Type: String
3330
+ #
3331
+ # * `resourceGroupName`
3332
+ #
3333
+ # The name of the resource group this resource belongs to.
3334
+ #
3335
+ # Type: String
3336
+ #
3337
+ # * `terraformSourceName`
3338
+ #
3339
+ # The name of the Terraform S3 state file this resource belongs
3340
+ # to.
3341
+ #
3342
+ # Type: String
3343
+ #
3344
+ #
3345
+ #
3346
+ # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
2350
3347
  #
2351
3348
  # @return [Types::PutDraftAppVersionTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2352
3349
  #
@@ -2377,32 +3374,35 @@ module Aws::ResilienceHub
2377
3374
  # Removes resource mappings from a draft application version.
2378
3375
  #
2379
3376
  # @option params [required, String] :app_arn
2380
- # The Amazon Resource Name (ARN) of the application. The format for this
2381
- # ARN is:
3377
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3378
+ # The format for this ARN is:
2382
3379
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2383
3380
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2384
- # the *AWS General Reference*.
3381
+ # the *AWS General Reference* guide.
2385
3382
  #
2386
3383
  #
2387
3384
  #
2388
3385
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2389
3386
  #
2390
3387
  # @option params [Array<String>] :app_registry_app_names
2391
- # The names of the registered applications to remove from the resource
2392
- # mappings.
3388
+ # The names of the registered applications you want to remove from the
3389
+ # resource mappings.
2393
3390
  #
2394
3391
  # @option params [Array<String>] :logical_stack_names
2395
- # The names of the CloudFormation stacks to remove from the resource
2396
- # mappings.
3392
+ # The names of the CloudFormation stacks you want to remove from the
3393
+ # resource mappings.
2397
3394
  #
2398
3395
  # @option params [Array<String>] :resource_group_names
2399
- # The names of the resource groups to remove from the resource mappings.
3396
+ # The names of the resource groups you want to remove from the resource
3397
+ # mappings.
2400
3398
  #
2401
3399
  # @option params [Array<String>] :resource_names
2402
- # The names of the resources to remove from the resource mappings.
3400
+ # The names of the resources you want to remove from the resource
3401
+ # mappings.
2403
3402
  #
2404
3403
  # @option params [Array<String>] :terraform_source_names
2405
- # </p>
3404
+ # The names of the Terraform sources you want to remove from the
3405
+ # resource mappings.
2406
3406
  #
2407
3407
  # @return [Types::RemoveDraftAppVersionResourceMappingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2408
3408
  #
@@ -2437,11 +3437,11 @@ module Aws::ResilienceHub
2437
3437
  # Resolves the resources for an application version.
2438
3438
  #
2439
3439
  # @option params [required, String] :app_arn
2440
- # The Amazon Resource Name (ARN) of the application. The format for this
2441
- # ARN is:
3440
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3441
+ # The format for this ARN is:
2442
3442
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2443
3443
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2444
- # the *AWS General Reference*.
3444
+ # the *AWS General Reference* guide.
2445
3445
  #
2446
3446
  #
2447
3447
  #
@@ -2483,11 +3483,11 @@ module Aws::ResilienceHub
2483
3483
  # Creates a new application assessment for an application.
2484
3484
  #
2485
3485
  # @option params [required, String] :app_arn
2486
- # The Amazon Resource Name (ARN) of the application. The format for this
2487
- # ARN is:
3486
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3487
+ # The format for this ARN is:
2488
3488
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2489
3489
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2490
- # the *AWS General Reference*.
3490
+ # the *AWS General Reference* guide.
2491
3491
  #
2492
3492
  #
2493
3493
  #
@@ -2621,7 +3621,7 @@ module Aws::ResilienceHub
2621
3621
  # The Amazon Resource Name (ARN) of the resource.
2622
3622
  #
2623
3623
  # @option params [required, Array<String>] :tag_keys
2624
- # The keys of the tags to remove.
3624
+ # The keys of the tags you want to remove.
2625
3625
  #
2626
3626
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2627
3627
  #
@@ -2644,11 +3644,11 @@ module Aws::ResilienceHub
2644
3644
  # Updates an application.
2645
3645
  #
2646
3646
  # @option params [required, String] :app_arn
2647
- # The Amazon Resource Name (ARN) of the application. The format for this
2648
- # ARN is:
3647
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3648
+ # The format for this ARN is:
2649
3649
  # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2650
3650
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2651
- # the *AWS General Reference*.
3651
+ # the *AWS General Reference* guide.
2652
3652
  #
2653
3653
  #
2654
3654
  #
@@ -2668,7 +3668,7 @@ module Aws::ResilienceHub
2668
3668
  # for this ARN is:
2669
3669
  # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
2670
3670
  # For more information about ARNs, see [ Amazon Resource Names
2671
- # (ARNs)][1] in the *AWS General Reference*.
3671
+ # (ARNs)][1] in the *AWS General Reference* guide.
2672
3672
  #
2673
3673
  #
2674
3674
  #
@@ -2713,6 +3713,273 @@ module Aws::ResilienceHub
2713
3713
  req.send_request(options)
2714
3714
  end
2715
3715
 
3716
+ # Updates the AWS Resilience Hub application version.
3717
+ #
3718
+ # <note markdown="1"> This API updates the AWS Resilience Hub application draft version. To
3719
+ # use this information for running resiliency assessments, you must
3720
+ # publish the AWS Resilience Hub application using the
3721
+ # `PublishAppVersion` API.
3722
+ #
3723
+ # </note>
3724
+ #
3725
+ # @option params [Hash<String,Array>] :additional_info
3726
+ # Additional configuration parameters for an AWS Resilience Hub
3727
+ # application.
3728
+ #
3729
+ # <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
3730
+ # format) of only one failover region and one associated account.
3731
+ #
3732
+ # Key: `"failover-regions"`
3733
+ #
3734
+ # Value: `"[\{"region":"<REGION>",
3735
+ # "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
3736
+ #
3737
+ # </note>
3738
+ #
3739
+ # @option params [required, String] :app_arn
3740
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3741
+ # The format for this ARN is:
3742
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
3743
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3744
+ # the *AWS General Reference* guide.
3745
+ #
3746
+ #
3747
+ #
3748
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3749
+ #
3750
+ # @return [Types::UpdateAppVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3751
+ #
3752
+ # * {Types::UpdateAppVersionResponse#additional_info #additional_info} => Hash&lt;String,Array&lt;String&gt;&gt;
3753
+ # * {Types::UpdateAppVersionResponse#app_arn #app_arn} => String
3754
+ # * {Types::UpdateAppVersionResponse#app_version #app_version} => String
3755
+ #
3756
+ # @example Request syntax with placeholder values
3757
+ #
3758
+ # resp = client.update_app_version({
3759
+ # additional_info: {
3760
+ # "String128WithoutWhitespace" => ["String1024"],
3761
+ # },
3762
+ # app_arn: "Arn", # required
3763
+ # })
3764
+ #
3765
+ # @example Response structure
3766
+ #
3767
+ # resp.additional_info #=> Hash
3768
+ # resp.additional_info["String128WithoutWhitespace"] #=> Array
3769
+ # resp.additional_info["String128WithoutWhitespace"][0] #=> String
3770
+ # resp.app_arn #=> String
3771
+ # resp.app_version #=> String
3772
+ #
3773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersion AWS API Documentation
3774
+ #
3775
+ # @overload update_app_version(params = {})
3776
+ # @param [Hash] params ({})
3777
+ def update_app_version(params = {}, options = {})
3778
+ req = build_request(:update_app_version, params)
3779
+ req.send_request(options)
3780
+ end
3781
+
3782
+ # Updates an existing Application Component in the AWS Resilience Hub
3783
+ # application.
3784
+ #
3785
+ # <note markdown="1"> This API updates the AWS Resilience Hub application draft version. To
3786
+ # use this Application Component for running assessments, you must
3787
+ # publish the AWS Resilience Hub application using the
3788
+ # `PublishAppVersion` API.
3789
+ #
3790
+ # </note>
3791
+ #
3792
+ # @option params [Hash<String,Array>] :additional_info
3793
+ # Currently, there is no supported additional information for
3794
+ # Application Components.
3795
+ #
3796
+ # @option params [required, String] :app_arn
3797
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3798
+ # The format for this ARN is:
3799
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
3800
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3801
+ # the *AWS General Reference* guide.
3802
+ #
3803
+ #
3804
+ #
3805
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3806
+ #
3807
+ # @option params [required, String] :id
3808
+ # The identifier of the Application Component.
3809
+ #
3810
+ # @option params [String] :name
3811
+ # The name of the Application Component.
3812
+ #
3813
+ # @option params [String] :type
3814
+ # The type of Application Component. For more information about the
3815
+ # types of Application Component, see [Grouping resources in an
3816
+ # AppComponent][1].
3817
+ #
3818
+ #
3819
+ #
3820
+ # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
3821
+ #
3822
+ # @return [Types::UpdateAppVersionAppComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3823
+ #
3824
+ # * {Types::UpdateAppVersionAppComponentResponse#app_arn #app_arn} => String
3825
+ # * {Types::UpdateAppVersionAppComponentResponse#app_component #app_component} => Types::AppComponent
3826
+ # * {Types::UpdateAppVersionAppComponentResponse#app_version #app_version} => String
3827
+ #
3828
+ # @example Request syntax with placeholder values
3829
+ #
3830
+ # resp = client.update_app_version_app_component({
3831
+ # additional_info: {
3832
+ # "String128WithoutWhitespace" => ["String1024"],
3833
+ # },
3834
+ # app_arn: "Arn", # required
3835
+ # id: "String255", # required
3836
+ # name: "String255",
3837
+ # type: "String255",
3838
+ # })
3839
+ #
3840
+ # @example Response structure
3841
+ #
3842
+ # resp.app_arn #=> String
3843
+ # resp.app_component.additional_info #=> Hash
3844
+ # resp.app_component.additional_info["String128WithoutWhitespace"] #=> Array
3845
+ # resp.app_component.additional_info["String128WithoutWhitespace"][0] #=> String
3846
+ # resp.app_component.id #=> String
3847
+ # resp.app_component.name #=> String
3848
+ # resp.app_component.type #=> String
3849
+ # resp.app_version #=> String
3850
+ #
3851
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionAppComponent AWS API Documentation
3852
+ #
3853
+ # @overload update_app_version_app_component(params = {})
3854
+ # @param [Hash] params ({})
3855
+ def update_app_version_app_component(params = {}, options = {})
3856
+ req = build_request(:update_app_version_app_component, params)
3857
+ req.send_request(options)
3858
+ end
3859
+
3860
+ # Updates the resource details in the AWS Resilience Hub application.
3861
+ #
3862
+ # <note markdown="1"> * This action has no effect outside AWS Resilience Hub.
3863
+ #
3864
+ # * This API updates the AWS Resilience Hub application draft version.
3865
+ # To use this resource for running resiliency assessments, you must
3866
+ # publish the AWS Resilience Hub application using the
3867
+ # `PublishAppVersion` API.
3868
+ #
3869
+ # * To update application version with new `physicalResourceID`, you
3870
+ # must call `ResolveAppVersionResources` API.
3871
+ #
3872
+ # </note>
3873
+ #
3874
+ # @option params [Hash<String,Array>] :additional_info
3875
+ # Currently, there is no supported additional information for resources.
3876
+ #
3877
+ # @option params [required, String] :app_arn
3878
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3879
+ # The format for this ARN is:
3880
+ # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
3881
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3882
+ # the *AWS General Reference* guide.
3883
+ #
3884
+ #
3885
+ #
3886
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3887
+ #
3888
+ # @option params [Array<String>] :app_components
3889
+ # The list of Application Components that this resource belongs to. If
3890
+ # an Application Component is not part of the AWS Resilience Hub
3891
+ # application, it will be added.
3892
+ #
3893
+ # @option params [String] :aws_account_id
3894
+ # The Amazon Web Services account that owns the physical resource.
3895
+ #
3896
+ # @option params [String] :aws_region
3897
+ # The Amazon Web Services region that owns the physical resource.
3898
+ #
3899
+ # @option params [Boolean] :excluded
3900
+ # Indicates if a resource is excluded from an AWS Resilience Hub
3901
+ # application.
3902
+ #
3903
+ # <note markdown="1"> You can exclude only imported resources from an AWS Resilience Hub
3904
+ # application.
3905
+ #
3906
+ # </note>
3907
+ #
3908
+ # @option params [Types::LogicalResourceId] :logical_resource_id
3909
+ # The logical identifier of the resource.
3910
+ #
3911
+ # @option params [String] :physical_resource_id
3912
+ # The physical identifier of the resource.
3913
+ #
3914
+ # @option params [String] :resource_name
3915
+ # The name of the resource.
3916
+ #
3917
+ # @option params [String] :resource_type
3918
+ # The type of resource.
3919
+ #
3920
+ # @return [Types::UpdateAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3921
+ #
3922
+ # * {Types::UpdateAppVersionResourceResponse#app_arn #app_arn} => String
3923
+ # * {Types::UpdateAppVersionResourceResponse#app_version #app_version} => String
3924
+ # * {Types::UpdateAppVersionResourceResponse#physical_resource #physical_resource} => Types::PhysicalResource
3925
+ #
3926
+ # @example Request syntax with placeholder values
3927
+ #
3928
+ # resp = client.update_app_version_resource({
3929
+ # additional_info: {
3930
+ # "String128WithoutWhitespace" => ["String1024"],
3931
+ # },
3932
+ # app_arn: "Arn", # required
3933
+ # app_components: ["String255"],
3934
+ # aws_account_id: "CustomerId",
3935
+ # aws_region: "AwsRegion",
3936
+ # excluded: false,
3937
+ # logical_resource_id: {
3938
+ # identifier: "String255", # required
3939
+ # logical_stack_name: "String255",
3940
+ # resource_group_name: "EntityName",
3941
+ # terraform_source_name: "String255",
3942
+ # },
3943
+ # physical_resource_id: "String2048",
3944
+ # resource_name: "EntityName",
3945
+ # resource_type: "String255",
3946
+ # })
3947
+ #
3948
+ # @example Response structure
3949
+ #
3950
+ # resp.app_arn #=> String
3951
+ # resp.app_version #=> String
3952
+ # resp.physical_resource.additional_info #=> Hash
3953
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"] #=> Array
3954
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"][0] #=> String
3955
+ # resp.physical_resource.app_components #=> Array
3956
+ # resp.physical_resource.app_components[0].additional_info #=> Hash
3957
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"] #=> Array
3958
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"][0] #=> String
3959
+ # resp.physical_resource.app_components[0].id #=> String
3960
+ # resp.physical_resource.app_components[0].name #=> String
3961
+ # resp.physical_resource.app_components[0].type #=> String
3962
+ # resp.physical_resource.excluded #=> Boolean
3963
+ # resp.physical_resource.logical_resource_id.identifier #=> String
3964
+ # resp.physical_resource.logical_resource_id.logical_stack_name #=> String
3965
+ # resp.physical_resource.logical_resource_id.resource_group_name #=> String
3966
+ # resp.physical_resource.logical_resource_id.terraform_source_name #=> String
3967
+ # resp.physical_resource.physical_resource_id.aws_account_id #=> String
3968
+ # resp.physical_resource.physical_resource_id.aws_region #=> String
3969
+ # resp.physical_resource.physical_resource_id.identifier #=> String
3970
+ # resp.physical_resource.physical_resource_id.type #=> String, one of "Arn", "Native"
3971
+ # resp.physical_resource.resource_name #=> String
3972
+ # resp.physical_resource.resource_type #=> String
3973
+ #
3974
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionResource AWS API Documentation
3975
+ #
3976
+ # @overload update_app_version_resource(params = {})
3977
+ # @param [Hash] params ({})
3978
+ def update_app_version_resource(params = {}, options = {})
3979
+ req = build_request(:update_app_version_resource, params)
3980
+ req.send_request(options)
3981
+ end
3982
+
2716
3983
  # Updates a resiliency policy.
2717
3984
  #
2718
3985
  # @option params [String] :data_location_constraint
@@ -2728,7 +3995,7 @@ module Aws::ResilienceHub
2728
3995
  # for this ARN is:
2729
3996
  # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
2730
3997
  # For more information about ARNs, see [ Amazon Resource Names
2731
- # (ARNs)][1] in the *AWS General Reference*.
3998
+ # (ARNs)][1] in the *AWS General Reference* guide.
2732
3999
  #
2733
4000
  #
2734
4001
  #
@@ -2801,7 +4068,7 @@ module Aws::ResilienceHub
2801
4068
  params: params,
2802
4069
  config: config)
2803
4070
  context[:gem_name] = 'aws-sdk-resiliencehub'
2804
- context[:gem_version] = '1.9.0'
4071
+ context[:gem_version] = '1.10.0'
2805
4072
  Seahorse::Client::Request.new(handlers, context)
2806
4073
  end
2807
4074