aws-sdk-resiliencehub 1.9.0 → 1.11.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:
376
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
375
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
376
+ # The format for this ARN is:
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
  #
@@ -402,8 +403,9 @@ module Aws::ResilienceHub
402
403
  # resource_mappings: [ # required
403
404
  # {
404
405
  # app_registry_app_name: "EntityName",
406
+ # eks_source_name: "String255",
405
407
  # logical_stack_name: "String255",
406
- # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform
408
+ # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform, EKS
407
409
  # physical_resource_id: { # required
408
410
  # aws_account_id: "CustomerId",
409
411
  # aws_region: "AwsRegion",
@@ -423,8 +425,9 @@ module Aws::ResilienceHub
423
425
  # resp.app_version #=> String
424
426
  # resp.resource_mappings #=> Array
425
427
  # resp.resource_mappings[0].app_registry_app_name #=> String
428
+ # resp.resource_mappings[0].eks_source_name #=> String
426
429
  # resp.resource_mappings[0].logical_stack_name #=> String
427
- # resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform"
430
+ # resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform", "EKS"
428
431
  # resp.resource_mappings[0].physical_resource_id.aws_account_id #=> String
429
432
  # resp.resource_mappings[0].physical_resource_id.aws_region #=> String
430
433
  # resp.resource_mappings[0].physical_resource_id.identifier #=> String
@@ -442,14 +445,14 @@ module Aws::ResilienceHub
442
445
  req.send_request(options)
443
446
  end
444
447
 
445
- # Creates a Resilience Hub application. A Resilience Hub application is
446
- # a collection of Amazon Web Services resources structured to prevent
448
+ # Creates an Resilience Hub application. An Resilience Hub application
449
+ # is a collection of Amazon Web Services resources structured to prevent
447
450
  # and recover Amazon Web Services application disruptions. To describe a
448
451
  # Resilience Hub application, you provide an application name, resources
449
452
  # from one or more–up to five–CloudFormation stacks, and an appropriate
450
453
  # resiliency policy.
451
454
  #
452
- # After you create a Resilience Hub application, you publish it so that
455
+ # After you create an Resilience Hub application, you publish it so that
453
456
  # you can run a resiliency assessment on it. You can then use
454
457
  # recommendations from the assessment to improve resiliency by running
455
458
  # another assessment, comparing results, and then iterating the process
@@ -476,9 +479,9 @@ module Aws::ResilienceHub
476
479
  # @option params [String] :policy_arn
477
480
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
478
481
  # for this ARN is:
479
- # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
482
+ # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
480
483
  # For more information about ARNs, see [ Amazon Resource Names
481
- # (ARNs)][1] in the *AWS General Reference*.
484
+ # (ARNs)][1] in the *AWS General Reference* guide.
482
485
  #
483
486
  #
484
487
  #
@@ -531,14 +534,227 @@ module Aws::ResilienceHub
531
534
  req.send_request(options)
532
535
  end
533
536
 
534
- # Creates a new recommendation template.
537
+ # Creates a new Application Component in the Resilience Hub application.
538
+ #
539
+ # <note markdown="1"> This API updates the Resilience Hub application draft version. To use
540
+ # this Application Component for running assessments, you must publish
541
+ # the Resilience Hub application using the `PublishAppVersion` API.
542
+ #
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 Resilience Hub application and assigns it to
623
+ # the specified Application Components. If you specify a new Application
624
+ # Component, Resilience Hub will automatically create the Application
625
+ # Component.
626
+ #
627
+ # <note markdown="1"> * This action has no effect outside Resilience Hub.
628
+ #
629
+ # * This API updates the Resilience Hub application draft version. To
630
+ # use this resource for running resiliency assessments, you must
631
+ # publish the Resilience Hub application using the `PublishAppVersion`
632
+ # API.
633
+ #
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
+ # eks_source_name: "String255",
703
+ # identifier: "String255", # required
704
+ # logical_stack_name: "String255",
705
+ # resource_group_name: "EntityName",
706
+ # terraform_source_name: "String255",
707
+ # },
708
+ # physical_resource_id: "String2048", # required
709
+ # resource_name: "EntityName", # required
710
+ # resource_type: "String255", # required
711
+ # })
712
+ #
713
+ # @example Response structure
714
+ #
715
+ # resp.app_arn #=> String
716
+ # resp.app_version #=> String
717
+ # resp.physical_resource.additional_info #=> Hash
718
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"] #=> Array
719
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"][0] #=> String
720
+ # resp.physical_resource.app_components #=> Array
721
+ # resp.physical_resource.app_components[0].additional_info #=> Hash
722
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"] #=> Array
723
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"][0] #=> String
724
+ # resp.physical_resource.app_components[0].id #=> String
725
+ # resp.physical_resource.app_components[0].name #=> String
726
+ # resp.physical_resource.app_components[0].type #=> String
727
+ # resp.physical_resource.excluded #=> Boolean
728
+ # resp.physical_resource.logical_resource_id.eks_source_name #=> String
729
+ # resp.physical_resource.logical_resource_id.identifier #=> String
730
+ # resp.physical_resource.logical_resource_id.logical_stack_name #=> String
731
+ # resp.physical_resource.logical_resource_id.resource_group_name #=> String
732
+ # resp.physical_resource.logical_resource_id.terraform_source_name #=> String
733
+ # resp.physical_resource.physical_resource_id.aws_account_id #=> String
734
+ # resp.physical_resource.physical_resource_id.aws_region #=> String
735
+ # resp.physical_resource.physical_resource_id.identifier #=> String
736
+ # resp.physical_resource.physical_resource_id.type #=> String, one of "Arn", "Native"
737
+ # resp.physical_resource.resource_name #=> String
738
+ # resp.physical_resource.resource_type #=> String
739
+ #
740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionResource AWS API Documentation
741
+ #
742
+ # @overload create_app_version_resource(params = {})
743
+ # @param [Hash] params ({})
744
+ def create_app_version_resource(params = {}, options = {})
745
+ req = build_request(:create_app_version_resource, params)
746
+ req.send_request(options)
747
+ end
748
+
749
+ # Creates a new recommendation template for the Resilience Hub
750
+ # application.
535
751
  #
536
752
  # @option params [required, String] :assessment_arn
537
753
  # The Amazon Resource Name (ARN) of the assessment. The format for this
538
754
  # ARN is:
539
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
755
+ # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
540
756
  # For more information about ARNs, see [ Amazon Resource Names
541
- # (ARNs)][1] in the *AWS General Reference*.
757
+ # (ARNs)][1] in the *AWS General Reference* guide.
542
758
  #
543
759
  #
544
760
  #
@@ -724,15 +940,15 @@ module Aws::ResilienceHub
724
940
  req.send_request(options)
725
941
  end
726
942
 
727
- # Deletes an AWS Resilience Hub application. This is a destructive
728
- # action that can't be undone.
943
+ # Deletes an Resilience Hub application. This is a destructive action
944
+ # that can't be undone.
729
945
  #
730
946
  # @option params [required, String] :app_arn
731
- # The Amazon Resource Name (ARN) of the application. The format for this
732
- # ARN is:
733
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
947
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
948
+ # The format for this ARN is:
949
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
734
950
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
735
- # the *AWS General Reference*.
951
+ # the *AWS General Reference* guide.
736
952
  #
737
953
  #
738
954
  #
@@ -747,7 +963,7 @@ module Aws::ResilienceHub
747
963
  # not need to pass this option.**
748
964
  #
749
965
  # @option params [Boolean] :force_delete
750
- # A boolean option to force the deletion of a Resilience Hub
966
+ # A boolean option to force the deletion of an Resilience Hub
751
967
  # application.
752
968
  #
753
969
  # @return [Types::DeleteAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -775,15 +991,15 @@ module Aws::ResilienceHub
775
991
  req.send_request(options)
776
992
  end
777
993
 
778
- # Deletes an AWS Resilience Hub application assessment. This is a
994
+ # Deletes an Resilience Hub application assessment. This is a
779
995
  # destructive action that can't be undone.
780
996
  #
781
997
  # @option params [required, String] :assessment_arn
782
998
  # The Amazon Resource Name (ARN) of the assessment. The format for this
783
999
  # ARN is:
784
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
1000
+ # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
785
1001
  # For more information about ARNs, see [ Amazon Resource Names
786
- # (ARNs)][1] in the *AWS General Reference*.
1002
+ # (ARNs)][1] in the *AWS General Reference* guide.
787
1003
  #
788
1004
  #
789
1005
  #
@@ -823,6 +1039,263 @@ module Aws::ResilienceHub
823
1039
  req.send_request(options)
824
1040
  end
825
1041
 
1042
+ # Deletes the input source and all of its imported resources from the
1043
+ # Resilience Hub application.
1044
+ #
1045
+ # @option params [required, String] :app_arn
1046
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1047
+ # The format for this ARN is:
1048
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1049
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1050
+ # the *AWS General Reference* guide.
1051
+ #
1052
+ #
1053
+ #
1054
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1055
+ #
1056
+ # @option params [String] :client_token
1057
+ # Used for an idempotency token. A client token is a unique,
1058
+ # case-sensitive string of up to 64 ASCII characters. You should not
1059
+ # reuse the same client token for other API requests.
1060
+ #
1061
+ # **A suitable default value is auto-generated.** You should normally
1062
+ # not need to pass this option.**
1063
+ #
1064
+ # @option params [Types::EksSourceClusterNamespace] :eks_source_cluster_namespace
1065
+ # The namespace on your Amazon Elastic Kubernetes Service cluster that
1066
+ # you want to delete from the Resilience Hub application.
1067
+ #
1068
+ # @option params [String] :source_arn
1069
+ # The Amazon Resource Name (ARN) of the imported resource you want to
1070
+ # remove from the Resilience Hub application. For more information about
1071
+ # ARNs, see [ Amazon Resource Names (ARNs)][1] in the *AWS General
1072
+ # Reference* guide.
1073
+ #
1074
+ #
1075
+ #
1076
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1077
+ #
1078
+ # @option params [Types::TerraformSource] :terraform_source
1079
+ # The imported Terraform s3 state file you want to remove from the
1080
+ # Resilience Hub application.
1081
+ #
1082
+ # @return [Types::DeleteAppInputSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1083
+ #
1084
+ # * {Types::DeleteAppInputSourceResponse#app_arn #app_arn} => String
1085
+ # * {Types::DeleteAppInputSourceResponse#app_input_source #app_input_source} => Types::AppInputSource
1086
+ #
1087
+ # @example Request syntax with placeholder values
1088
+ #
1089
+ # resp = client.delete_app_input_source({
1090
+ # app_arn: "Arn", # required
1091
+ # client_token: "ClientToken",
1092
+ # eks_source_cluster_namespace: {
1093
+ # eks_cluster_arn: "Arn", # required
1094
+ # namespace: "EksNamespace", # required
1095
+ # },
1096
+ # source_arn: "Arn",
1097
+ # terraform_source: {
1098
+ # s3_state_file_url: "S3Url", # required
1099
+ # },
1100
+ # })
1101
+ #
1102
+ # @example Response structure
1103
+ #
1104
+ # resp.app_arn #=> String
1105
+ # resp.app_input_source.eks_source_cluster_namespace.eks_cluster_arn #=> String
1106
+ # resp.app_input_source.eks_source_cluster_namespace.namespace #=> String
1107
+ # resp.app_input_source.import_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform", "EKS"
1108
+ # resp.app_input_source.resource_count #=> Integer
1109
+ # resp.app_input_source.source_arn #=> String
1110
+ # resp.app_input_source.source_name #=> String
1111
+ # resp.app_input_source.terraform_source.s3_state_file_url #=> String
1112
+ #
1113
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppInputSource AWS API Documentation
1114
+ #
1115
+ # @overload delete_app_input_source(params = {})
1116
+ # @param [Hash] params ({})
1117
+ def delete_app_input_source(params = {}, options = {})
1118
+ req = build_request(:delete_app_input_source, params)
1119
+ req.send_request(options)
1120
+ end
1121
+
1122
+ # Deletes an Application Component from the Resilience Hub application.
1123
+ #
1124
+ # <note markdown="1"> * This API updates the Resilience Hub application draft version. To
1125
+ # use this Application Component for running assessments, you must
1126
+ # publish the Resilience Hub application using the `PublishAppVersion`
1127
+ # API.
1128
+ #
1129
+ # * You will not be able to delete an Application Component if it has
1130
+ # resources associated with it.
1131
+ #
1132
+ # </note>
1133
+ #
1134
+ # @option params [required, String] :app_arn
1135
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1136
+ # The format for this ARN is:
1137
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1138
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1139
+ # the *AWS General Reference* guide.
1140
+ #
1141
+ #
1142
+ #
1143
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1144
+ #
1145
+ # @option params [String] :client_token
1146
+ # Used for an idempotency token. A client token is a unique,
1147
+ # case-sensitive string of up to 64 ASCII characters. You should not
1148
+ # reuse the same client token for other API requests.
1149
+ #
1150
+ # **A suitable default value is auto-generated.** You should normally
1151
+ # not need to pass this option.**
1152
+ #
1153
+ # @option params [required, String] :id
1154
+ # The identifier of the Application Component.
1155
+ #
1156
+ # @return [Types::DeleteAppVersionAppComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1157
+ #
1158
+ # * {Types::DeleteAppVersionAppComponentResponse#app_arn #app_arn} => String
1159
+ # * {Types::DeleteAppVersionAppComponentResponse#app_component #app_component} => Types::AppComponent
1160
+ # * {Types::DeleteAppVersionAppComponentResponse#app_version #app_version} => String
1161
+ #
1162
+ # @example Request syntax with placeholder values
1163
+ #
1164
+ # resp = client.delete_app_version_app_component({
1165
+ # app_arn: "Arn", # required
1166
+ # client_token: "ClientToken",
1167
+ # id: "String255", # required
1168
+ # })
1169
+ #
1170
+ # @example Response structure
1171
+ #
1172
+ # resp.app_arn #=> String
1173
+ # resp.app_component.additional_info #=> Hash
1174
+ # resp.app_component.additional_info["String128WithoutWhitespace"] #=> Array
1175
+ # resp.app_component.additional_info["String128WithoutWhitespace"][0] #=> String
1176
+ # resp.app_component.id #=> String
1177
+ # resp.app_component.name #=> String
1178
+ # resp.app_component.type #=> String
1179
+ # resp.app_version #=> String
1180
+ #
1181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionAppComponent AWS API Documentation
1182
+ #
1183
+ # @overload delete_app_version_app_component(params = {})
1184
+ # @param [Hash] params ({})
1185
+ def delete_app_version_app_component(params = {}, options = {})
1186
+ req = build_request(:delete_app_version_app_component, params)
1187
+ req.send_request(options)
1188
+ end
1189
+
1190
+ # Deletes a resource from the Resilience Hub application.
1191
+ #
1192
+ # <note markdown="1"> * You can only delete a manually added resource. To exclude
1193
+ # non-manually added resources, use the `UpdateAppVersionResource`
1194
+ # API.
1195
+ #
1196
+ # * This action has no effect outside Resilience Hub.
1197
+ #
1198
+ # * This API updates the Resilience Hub application draft version. To
1199
+ # use this resource for running resiliency assessments, you must
1200
+ # publish the Resilience Hub application using the `PublishAppVersion`
1201
+ # API.
1202
+ #
1203
+ # </note>
1204
+ #
1205
+ # @option params [required, String] :app_arn
1206
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1207
+ # The format for this ARN is:
1208
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1209
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1210
+ # the *AWS General Reference* guide.
1211
+ #
1212
+ #
1213
+ #
1214
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1215
+ #
1216
+ # @option params [String] :aws_account_id
1217
+ # The Amazon Web Services account that owns the physical resource.
1218
+ #
1219
+ # @option params [String] :aws_region
1220
+ # The Amazon Web Services region that owns the physical resource.
1221
+ #
1222
+ # @option params [String] :client_token
1223
+ # Used for an idempotency token. A client token is a unique,
1224
+ # case-sensitive string of up to 64 ASCII characters. You should not
1225
+ # reuse the same client token for other API requests.
1226
+ #
1227
+ # **A suitable default value is auto-generated.** You should normally
1228
+ # not need to pass this option.**
1229
+ #
1230
+ # @option params [Types::LogicalResourceId] :logical_resource_id
1231
+ # The logical identifier of the resource.
1232
+ #
1233
+ # @option params [String] :physical_resource_id
1234
+ # The physical identifier of the resource.
1235
+ #
1236
+ # @option params [String] :resource_name
1237
+ # The name of the resource.
1238
+ #
1239
+ # @return [Types::DeleteAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1240
+ #
1241
+ # * {Types::DeleteAppVersionResourceResponse#app_arn #app_arn} => String
1242
+ # * {Types::DeleteAppVersionResourceResponse#app_version #app_version} => String
1243
+ # * {Types::DeleteAppVersionResourceResponse#physical_resource #physical_resource} => Types::PhysicalResource
1244
+ #
1245
+ # @example Request syntax with placeholder values
1246
+ #
1247
+ # resp = client.delete_app_version_resource({
1248
+ # app_arn: "Arn", # required
1249
+ # aws_account_id: "CustomerId",
1250
+ # aws_region: "AwsRegion",
1251
+ # client_token: "ClientToken",
1252
+ # logical_resource_id: {
1253
+ # eks_source_name: "String255",
1254
+ # identifier: "String255", # required
1255
+ # logical_stack_name: "String255",
1256
+ # resource_group_name: "EntityName",
1257
+ # terraform_source_name: "String255",
1258
+ # },
1259
+ # physical_resource_id: "String2048",
1260
+ # resource_name: "EntityName",
1261
+ # })
1262
+ #
1263
+ # @example Response structure
1264
+ #
1265
+ # resp.app_arn #=> String
1266
+ # resp.app_version #=> String
1267
+ # resp.physical_resource.additional_info #=> Hash
1268
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"] #=> Array
1269
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"][0] #=> String
1270
+ # resp.physical_resource.app_components #=> Array
1271
+ # resp.physical_resource.app_components[0].additional_info #=> Hash
1272
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"] #=> Array
1273
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"][0] #=> String
1274
+ # resp.physical_resource.app_components[0].id #=> String
1275
+ # resp.physical_resource.app_components[0].name #=> String
1276
+ # resp.physical_resource.app_components[0].type #=> String
1277
+ # resp.physical_resource.excluded #=> Boolean
1278
+ # resp.physical_resource.logical_resource_id.eks_source_name #=> String
1279
+ # resp.physical_resource.logical_resource_id.identifier #=> String
1280
+ # resp.physical_resource.logical_resource_id.logical_stack_name #=> String
1281
+ # resp.physical_resource.logical_resource_id.resource_group_name #=> String
1282
+ # resp.physical_resource.logical_resource_id.terraform_source_name #=> String
1283
+ # resp.physical_resource.physical_resource_id.aws_account_id #=> String
1284
+ # resp.physical_resource.physical_resource_id.aws_region #=> String
1285
+ # resp.physical_resource.physical_resource_id.identifier #=> String
1286
+ # resp.physical_resource.physical_resource_id.type #=> String, one of "Arn", "Native"
1287
+ # resp.physical_resource.resource_name #=> String
1288
+ # resp.physical_resource.resource_type #=> String
1289
+ #
1290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionResource AWS API Documentation
1291
+ #
1292
+ # @overload delete_app_version_resource(params = {})
1293
+ # @param [Hash] params ({})
1294
+ def delete_app_version_resource(params = {}, options = {})
1295
+ req = build_request(:delete_app_version_resource, params)
1296
+ req.send_request(options)
1297
+ end
1298
+
826
1299
  # Deletes a recommendation template. This is a destructive action that
827
1300
  # can't be undone.
828
1301
  #
@@ -877,9 +1350,9 @@ module Aws::ResilienceHub
877
1350
  # @option params [required, String] :policy_arn
878
1351
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
879
1352
  # for this ARN is:
880
- # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
1353
+ # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
881
1354
  # For more information about ARNs, see [ Amazon Resource Names
882
- # (ARNs)][1] in the *AWS General Reference*.
1355
+ # (ARNs)][1] in the *AWS General Reference* guide.
883
1356
  #
884
1357
  #
885
1358
  #
@@ -909,14 +1382,14 @@ module Aws::ResilienceHub
909
1382
  req.send_request(options)
910
1383
  end
911
1384
 
912
- # Describes an AWS Resilience Hub application.
1385
+ # Describes an Resilience Hub application.
913
1386
  #
914
1387
  # @option params [required, String] :app_arn
915
- # The Amazon Resource Name (ARN) of the application. The format for this
916
- # ARN is:
917
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1388
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1389
+ # The format for this ARN is:
1390
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
918
1391
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
919
- # the *AWS General Reference*.
1392
+ # the *AWS General Reference* guide.
920
1393
  #
921
1394
  #
922
1395
  #
@@ -957,14 +1430,14 @@ module Aws::ResilienceHub
957
1430
  req.send_request(options)
958
1431
  end
959
1432
 
960
- # Describes an assessment for an AWS Resilience Hub application.
1433
+ # Describes an assessment for an Resilience Hub application.
961
1434
  #
962
1435
  # @option params [required, String] :assessment_arn
963
1436
  # The Amazon Resource Name (ARN) of the assessment. The format for this
964
1437
  # ARN is:
965
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
1438
+ # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
966
1439
  # For more information about ARNs, see [ Amazon Resource Names
967
- # (ARNs)][1] in the *AWS General Reference*.
1440
+ # (ARNs)][1] in the *AWS General Reference* guide.
968
1441
  #
969
1442
  #
970
1443
  #
@@ -1038,16 +1511,218 @@ module Aws::ResilienceHub
1038
1511
  req.send_request(options)
1039
1512
  end
1040
1513
 
1514
+ # Describes the Resilience Hub application version.
1515
+ #
1516
+ # @option params [required, String] :app_arn
1517
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1518
+ # The format for this ARN is:
1519
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1520
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1521
+ # the *AWS General Reference* guide.
1522
+ #
1523
+ #
1524
+ #
1525
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1526
+ #
1527
+ # @option params [required, String] :app_version
1528
+ # The AWS Resilience Hub application version.
1529
+ #
1530
+ # @return [Types::DescribeAppVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1531
+ #
1532
+ # * {Types::DescribeAppVersionResponse#additional_info #additional_info} => Hash&lt;String,Array&lt;String&gt;&gt;
1533
+ # * {Types::DescribeAppVersionResponse#app_arn #app_arn} => String
1534
+ # * {Types::DescribeAppVersionResponse#app_version #app_version} => String
1535
+ #
1536
+ # @example Request syntax with placeholder values
1537
+ #
1538
+ # resp = client.describe_app_version({
1539
+ # app_arn: "Arn", # required
1540
+ # app_version: "EntityVersion", # required
1541
+ # })
1542
+ #
1543
+ # @example Response structure
1544
+ #
1545
+ # resp.additional_info #=> Hash
1546
+ # resp.additional_info["String128WithoutWhitespace"] #=> Array
1547
+ # resp.additional_info["String128WithoutWhitespace"][0] #=> String
1548
+ # resp.app_arn #=> String
1549
+ # resp.app_version #=> String
1550
+ #
1551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersion AWS API Documentation
1552
+ #
1553
+ # @overload describe_app_version(params = {})
1554
+ # @param [Hash] params ({})
1555
+ def describe_app_version(params = {}, options = {})
1556
+ req = build_request(:describe_app_version, params)
1557
+ req.send_request(options)
1558
+ end
1559
+
1560
+ # Describes an Application Component in the Resilience Hub application.
1561
+ #
1562
+ # @option params [required, String] :app_arn
1563
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1564
+ # The format for this ARN is:
1565
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1566
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1567
+ # the *AWS General Reference* guide.
1568
+ #
1569
+ #
1570
+ #
1571
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1572
+ #
1573
+ # @option params [required, String] :app_version
1574
+ # The AWS Resilience Hub application version.
1575
+ #
1576
+ # @option params [required, String] :id
1577
+ # The identifier of the Application Component.
1578
+ #
1579
+ # @return [Types::DescribeAppVersionAppComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1580
+ #
1581
+ # * {Types::DescribeAppVersionAppComponentResponse#app_arn #app_arn} => String
1582
+ # * {Types::DescribeAppVersionAppComponentResponse#app_component #app_component} => Types::AppComponent
1583
+ # * {Types::DescribeAppVersionAppComponentResponse#app_version #app_version} => String
1584
+ #
1585
+ # @example Request syntax with placeholder values
1586
+ #
1587
+ # resp = client.describe_app_version_app_component({
1588
+ # app_arn: "Arn", # required
1589
+ # app_version: "EntityVersion", # required
1590
+ # id: "String255", # required
1591
+ # })
1592
+ #
1593
+ # @example Response structure
1594
+ #
1595
+ # resp.app_arn #=> String
1596
+ # resp.app_component.additional_info #=> Hash
1597
+ # resp.app_component.additional_info["String128WithoutWhitespace"] #=> Array
1598
+ # resp.app_component.additional_info["String128WithoutWhitespace"][0] #=> String
1599
+ # resp.app_component.id #=> String
1600
+ # resp.app_component.name #=> String
1601
+ # resp.app_component.type #=> String
1602
+ # resp.app_version #=> String
1603
+ #
1604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionAppComponent AWS API Documentation
1605
+ #
1606
+ # @overload describe_app_version_app_component(params = {})
1607
+ # @param [Hash] params ({})
1608
+ def describe_app_version_app_component(params = {}, options = {})
1609
+ req = build_request(:describe_app_version_app_component, params)
1610
+ req.send_request(options)
1611
+ end
1612
+
1613
+ # Describes a resource of the Resilience Hub application.
1614
+ #
1615
+ # <note markdown="1"> This API accepts only one of the following parameters to descibe the
1616
+ # resource:
1617
+ #
1618
+ # * `resourceName`
1619
+ #
1620
+ # * `logicalResourceId`
1621
+ #
1622
+ # * `physicalResourceId` (Along with `physicalResourceId`, you can also
1623
+ # provide `awsAccountId`, and `awsRegion`)
1624
+ #
1625
+ # </note>
1626
+ #
1627
+ # @option params [required, String] :app_arn
1628
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1629
+ # The format for this ARN is:
1630
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1631
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1632
+ # the *AWS General Reference* guide.
1633
+ #
1634
+ #
1635
+ #
1636
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1637
+ #
1638
+ # @option params [required, String] :app_version
1639
+ # The AWS Resilience Hub application version.
1640
+ #
1641
+ # @option params [String] :aws_account_id
1642
+ # The Amazon Web Services account that owns the physical resource.
1643
+ #
1644
+ # @option params [String] :aws_region
1645
+ # The Amazon Web Services region that owns the physical resource.
1646
+ #
1647
+ # @option params [Types::LogicalResourceId] :logical_resource_id
1648
+ # The logical identifier of the resource.
1649
+ #
1650
+ # @option params [String] :physical_resource_id
1651
+ # The physical identifier of the resource.
1652
+ #
1653
+ # @option params [String] :resource_name
1654
+ # The name of the resource.
1655
+ #
1656
+ # @return [Types::DescribeAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1657
+ #
1658
+ # * {Types::DescribeAppVersionResourceResponse#app_arn #app_arn} => String
1659
+ # * {Types::DescribeAppVersionResourceResponse#app_version #app_version} => String
1660
+ # * {Types::DescribeAppVersionResourceResponse#physical_resource #physical_resource} => Types::PhysicalResource
1661
+ #
1662
+ # @example Request syntax with placeholder values
1663
+ #
1664
+ # resp = client.describe_app_version_resource({
1665
+ # app_arn: "Arn", # required
1666
+ # app_version: "EntityVersion", # required
1667
+ # aws_account_id: "CustomerId",
1668
+ # aws_region: "AwsRegion",
1669
+ # logical_resource_id: {
1670
+ # eks_source_name: "String255",
1671
+ # identifier: "String255", # required
1672
+ # logical_stack_name: "String255",
1673
+ # resource_group_name: "EntityName",
1674
+ # terraform_source_name: "String255",
1675
+ # },
1676
+ # physical_resource_id: "String2048",
1677
+ # resource_name: "EntityName",
1678
+ # })
1679
+ #
1680
+ # @example Response structure
1681
+ #
1682
+ # resp.app_arn #=> String
1683
+ # resp.app_version #=> String
1684
+ # resp.physical_resource.additional_info #=> Hash
1685
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"] #=> Array
1686
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"][0] #=> String
1687
+ # resp.physical_resource.app_components #=> Array
1688
+ # resp.physical_resource.app_components[0].additional_info #=> Hash
1689
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"] #=> Array
1690
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"][0] #=> String
1691
+ # resp.physical_resource.app_components[0].id #=> String
1692
+ # resp.physical_resource.app_components[0].name #=> String
1693
+ # resp.physical_resource.app_components[0].type #=> String
1694
+ # resp.physical_resource.excluded #=> Boolean
1695
+ # resp.physical_resource.logical_resource_id.eks_source_name #=> String
1696
+ # resp.physical_resource.logical_resource_id.identifier #=> String
1697
+ # resp.physical_resource.logical_resource_id.logical_stack_name #=> String
1698
+ # resp.physical_resource.logical_resource_id.resource_group_name #=> String
1699
+ # resp.physical_resource.logical_resource_id.terraform_source_name #=> String
1700
+ # resp.physical_resource.physical_resource_id.aws_account_id #=> String
1701
+ # resp.physical_resource.physical_resource_id.aws_region #=> String
1702
+ # resp.physical_resource.physical_resource_id.identifier #=> String
1703
+ # resp.physical_resource.physical_resource_id.type #=> String, one of "Arn", "Native"
1704
+ # resp.physical_resource.resource_name #=> String
1705
+ # resp.physical_resource.resource_type #=> String
1706
+ #
1707
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResource AWS API Documentation
1708
+ #
1709
+ # @overload describe_app_version_resource(params = {})
1710
+ # @param [Hash] params ({})
1711
+ def describe_app_version_resource(params = {}, options = {})
1712
+ req = build_request(:describe_app_version_resource, params)
1713
+ req.send_request(options)
1714
+ end
1715
+
1041
1716
  # Returns the resolution status for the specified resolution identifier
1042
1717
  # for an application version. If `resolutionId` is not specified, the
1043
1718
  # current resolution status is returned.
1044
1719
  #
1045
1720
  # @option params [required, String] :app_arn
1046
- # The Amazon Resource Name (ARN) of the application. The format for this
1047
- # ARN is:
1048
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1721
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1722
+ # The format for this ARN is:
1723
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1049
1724
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1050
- # the *AWS General Reference*.
1725
+ # the *AWS General Reference* guide.
1051
1726
  #
1052
1727
  #
1053
1728
  #
@@ -1092,14 +1767,14 @@ module Aws::ResilienceHub
1092
1767
  req.send_request(options)
1093
1768
  end
1094
1769
 
1095
- # Describes details about an AWS Resilience Hub
1770
+ # Describes details about an Resilience Hub application.
1096
1771
  #
1097
1772
  # @option params [required, String] :app_arn
1098
- # The Amazon Resource Name (ARN) of the application. The format for this
1099
- # ARN is:
1100
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1773
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1774
+ # The format for this ARN is:
1775
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1101
1776
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1102
- # the *AWS General Reference*.
1777
+ # the *AWS General Reference* guide.
1103
1778
  #
1104
1779
  #
1105
1780
  #
@@ -1138,12 +1813,20 @@ module Aws::ResilienceHub
1138
1813
 
1139
1814
  # Describes the status of importing resources to an application version.
1140
1815
  #
1816
+ # <note markdown="1"> If you get a 404 error with
1817
+ # `ResourceImportStatusNotFoundAppMetadataException`, you must call
1818
+ # `importResourcesToDraftAppVersion` after creating the application and
1819
+ # before calling `describeDraftAppVersionResourcesImportStatus` to
1820
+ # obtain the status.
1821
+ #
1822
+ # </note>
1823
+ #
1141
1824
  # @option params [required, String] :app_arn
1142
- # The Amazon Resource Name (ARN) of the application. The format for this
1143
- # ARN is:
1144
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1825
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1826
+ # The format for this ARN is:
1827
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1145
1828
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1146
- # the *AWS General Reference*.
1829
+ # the *AWS General Reference* guide.
1147
1830
  #
1148
1831
  #
1149
1832
  #
@@ -1180,7 +1863,7 @@ module Aws::ResilienceHub
1180
1863
  req.send_request(options)
1181
1864
  end
1182
1865
 
1183
- # Describes a specified resiliency policy for an AWS Resilience Hub
1866
+ # Describes a specified resiliency policy for an Resilience Hub
1184
1867
  # application. The returned policy object includes creation time, data
1185
1868
  # location constraints, the Amazon Resource Name (ARN) for the policy,
1186
1869
  # tags, tier, and more.
@@ -1188,9 +1871,9 @@ module Aws::ResilienceHub
1188
1871
  # @option params [required, String] :policy_arn
1189
1872
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
1190
1873
  # for this ARN is:
1191
- # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
1874
+ # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
1192
1875
  # For more information about ARNs, see [ Amazon Resource Names
1193
- # (ARNs)][1] in the *AWS General Reference*.
1876
+ # (ARNs)][1] in the *AWS General Reference* guide.
1194
1877
  #
1195
1878
  #
1196
1879
  #
@@ -1230,24 +1913,36 @@ module Aws::ResilienceHub
1230
1913
  req.send_request(options)
1231
1914
  end
1232
1915
 
1233
- # Imports resources from sources such as a CloudFormation stack,
1234
- # resource-groups, or application registry app to a draft application
1235
- # version.
1916
+ # Imports resources to Resilience Hub application draft version from
1917
+ # different input sources. For more information about the input sources
1918
+ # supported by Resilience Hub, see [Discover the structure and describe
1919
+ # your Resilience Hub application][1].
1920
+ #
1921
+ #
1922
+ #
1923
+ # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html
1236
1924
  #
1237
1925
  # @option params [required, String] :app_arn
1238
- # The Amazon Resource Name (ARN) of the application. The format for this
1239
- # ARN is:
1240
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
1926
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
1927
+ # The format for this ARN is:
1928
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1241
1929
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1242
- # the *AWS General Reference*.
1930
+ # the *AWS General Reference* guide.
1243
1931
  #
1244
1932
  #
1245
1933
  #
1246
1934
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1247
1935
  #
1936
+ # @option params [Array<Types::EksSource>] :eks_sources
1937
+ # The input sources of the Amazon Elastic Kubernetes Service resources
1938
+ # you need to import.
1939
+ #
1940
+ # @option params [String] :import_strategy
1941
+ # The import strategy you would like to set to import resources into
1942
+ # Resilience Hub application.
1943
+ #
1248
1944
  # @option params [Array<String>] :source_arns
1249
- # The Amazon Resource Names (ARNs) for the resources that you want to
1250
- # import.
1945
+ # The Amazon Resource Names (ARNs) for the resources.
1251
1946
  #
1252
1947
  # @option params [Array<Types::TerraformSource>] :terraform_sources
1253
1948
  # A list of terraform file s3 URLs you need to import.
@@ -1256,6 +1951,7 @@ module Aws::ResilienceHub
1256
1951
  #
1257
1952
  # * {Types::ImportResourcesToDraftAppVersionResponse#app_arn #app_arn} => String
1258
1953
  # * {Types::ImportResourcesToDraftAppVersionResponse#app_version #app_version} => String
1954
+ # * {Types::ImportResourcesToDraftAppVersionResponse#eks_sources #eks_sources} => Array&lt;Types::EksSource&gt;
1259
1955
  # * {Types::ImportResourcesToDraftAppVersionResponse#source_arns #source_arns} => Array&lt;String&gt;
1260
1956
  # * {Types::ImportResourcesToDraftAppVersionResponse#status #status} => String
1261
1957
  # * {Types::ImportResourcesToDraftAppVersionResponse#terraform_sources #terraform_sources} => Array&lt;Types::TerraformSource&gt;
@@ -1264,6 +1960,13 @@ module Aws::ResilienceHub
1264
1960
  #
1265
1961
  # resp = client.import_resources_to_draft_app_version({
1266
1962
  # app_arn: "Arn", # required
1963
+ # eks_sources: [
1964
+ # {
1965
+ # eks_cluster_arn: "Arn", # required
1966
+ # namespaces: ["EksNamespace"], # required
1967
+ # },
1968
+ # ],
1969
+ # import_strategy: "AddOnly", # accepts AddOnly, ReplaceAll
1267
1970
  # source_arns: ["Arn"],
1268
1971
  # terraform_sources: [
1269
1972
  # {
@@ -1276,6 +1979,10 @@ module Aws::ResilienceHub
1276
1979
  #
1277
1980
  # resp.app_arn #=> String
1278
1981
  # resp.app_version #=> String
1982
+ # resp.eks_sources #=> Array
1983
+ # resp.eks_sources[0].eks_cluster_arn #=> String
1984
+ # resp.eks_sources[0].namespaces #=> Array
1985
+ # resp.eks_sources[0].namespaces[0] #=> String
1279
1986
  # resp.source_arns #=> Array
1280
1987
  # resp.source_arns[0] #=> String
1281
1988
  # resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
@@ -1291,14 +1998,14 @@ module Aws::ResilienceHub
1291
1998
  req.send_request(options)
1292
1999
  end
1293
2000
 
1294
- # Lists the alarm recommendations for a AWS Resilience Hub application.
2001
+ # Lists the alarm recommendations for an Resilience Hub application.
1295
2002
  #
1296
2003
  # @option params [required, String] :assessment_arn
1297
2004
  # The Amazon Resource Name (ARN) of the assessment. The format for this
1298
2005
  # ARN is:
1299
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
2006
+ # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
1300
2007
  # For more information about ARNs, see [ Amazon Resource Names
1301
- # (ARNs)][1] in the *AWS General Reference*.
2008
+ # (ARNs)][1] in the *AWS General Reference* guide.
1302
2009
  #
1303
2010
  #
1304
2011
  #
@@ -1355,15 +2062,15 @@ module Aws::ResilienceHub
1355
2062
  req.send_request(options)
1356
2063
  end
1357
2064
 
1358
- # Lists the assessments for an AWS Resilience Hub application. You can
1359
- # use request parameters to refine the results for the response object.
2065
+ # Lists the assessments for an Resilience Hub application. You can use
2066
+ # request parameters to refine the results for the response object.
1360
2067
  #
1361
2068
  # @option params [String] :app_arn
1362
- # The Amazon Resource Name (ARN) of the application. The format for this
1363
- # ARN is:
1364
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2069
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2070
+ # The format for this ARN is:
2071
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1365
2072
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1366
- # the *AWS General Reference*.
2073
+ # the *AWS General Reference* guide.
1367
2074
  #
1368
2075
  #
1369
2076
  #
@@ -1444,14 +2151,14 @@ module Aws::ResilienceHub
1444
2151
  req.send_request(options)
1445
2152
  end
1446
2153
 
1447
- # Lists the compliances for an AWS Resilience Hub component.
2154
+ # Lists the compliances for an Resilience Hub Application Component.
1448
2155
  #
1449
2156
  # @option params [required, String] :assessment_arn
1450
2157
  # The Amazon Resource Name (ARN) of the assessment. The format for this
1451
2158
  # ARN is:
1452
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
2159
+ # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
1453
2160
  # For more information about ARNs, see [ Amazon Resource Names
1454
- # (ARNs)][1] in the *AWS General Reference*.
2161
+ # (ARNs)][1] in the *AWS General Reference* guide.
1455
2162
  #
1456
2163
  #
1457
2164
  #
@@ -1516,14 +2223,14 @@ module Aws::ResilienceHub
1516
2223
  req.send_request(options)
1517
2224
  end
1518
2225
 
1519
- # Lists the recommendations for an AWS Resilience Hub component.
2226
+ # Lists the recommendations for an Resilience Hub Application Component.
1520
2227
  #
1521
2228
  # @option params [required, String] :assessment_arn
1522
2229
  # The Amazon Resource Name (ARN) of the assessment. The format for this
1523
2230
  # ARN is:
1524
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
2231
+ # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
1525
2232
  # For more information about ARNs, see [ Amazon Resource Names
1526
- # (ARNs)][1] in the *AWS General Reference*.
2233
+ # (ARNs)][1] in the *AWS General Reference* guide.
1527
2234
  #
1528
2235
  #
1529
2236
  #
@@ -1590,12 +2297,145 @@ module Aws::ResilienceHub
1590
2297
  # resp.component_recommendations[0].recommendation_status #=> String, one of "BreachedUnattainable", "BreachedCanMeet", "MetCanImprove"
1591
2298
  # resp.next_token #=> String
1592
2299
  #
1593
- # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations AWS API Documentation
2300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations AWS API Documentation
2301
+ #
2302
+ # @overload list_app_component_recommendations(params = {})
2303
+ # @param [Hash] params ({})
2304
+ def list_app_component_recommendations(params = {}, options = {})
2305
+ req = build_request(:list_app_component_recommendations, params)
2306
+ req.send_request(options)
2307
+ end
2308
+
2309
+ # Lists all the input sources of the Resilience Hub application. For
2310
+ # more information about the input sources supported by Resilience Hub,
2311
+ # see [Discover the structure and describe your Resilience Hub
2312
+ # application][1].
2313
+ #
2314
+ #
2315
+ #
2316
+ # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html
2317
+ #
2318
+ # @option params [required, String] :app_arn
2319
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2320
+ # The format for this ARN is:
2321
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2322
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2323
+ # the *AWS General Reference* guide.
2324
+ #
2325
+ #
2326
+ #
2327
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2328
+ #
2329
+ # @option params [required, String] :app_version
2330
+ # The AWS Resilience Hub application version.
2331
+ #
2332
+ # @option params [Integer] :max_results
2333
+ # Maximum number of input sources to be displayed per Resilience Hub
2334
+ # application.
2335
+ #
2336
+ # @option params [String] :next_token
2337
+ # Null, or the token from a previous call to get the next set of
2338
+ # results.
2339
+ #
2340
+ # @return [Types::ListAppInputSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2341
+ #
2342
+ # * {Types::ListAppInputSourcesResponse#app_input_sources #app_input_sources} => Array&lt;Types::AppInputSource&gt;
2343
+ # * {Types::ListAppInputSourcesResponse#next_token #next_token} => String
2344
+ #
2345
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2346
+ #
2347
+ # @example Request syntax with placeholder values
2348
+ #
2349
+ # resp = client.list_app_input_sources({
2350
+ # app_arn: "Arn", # required
2351
+ # app_version: "EntityVersion", # required
2352
+ # max_results: 1,
2353
+ # next_token: "NextToken",
2354
+ # })
2355
+ #
2356
+ # @example Response structure
2357
+ #
2358
+ # resp.app_input_sources #=> Array
2359
+ # resp.app_input_sources[0].eks_source_cluster_namespace.eks_cluster_arn #=> String
2360
+ # resp.app_input_sources[0].eks_source_cluster_namespace.namespace #=> String
2361
+ # resp.app_input_sources[0].import_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform", "EKS"
2362
+ # resp.app_input_sources[0].resource_count #=> Integer
2363
+ # resp.app_input_sources[0].source_arn #=> String
2364
+ # resp.app_input_sources[0].source_name #=> String
2365
+ # resp.app_input_sources[0].terraform_source.s3_state_file_url #=> String
2366
+ # resp.next_token #=> String
2367
+ #
2368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppInputSources AWS API Documentation
2369
+ #
2370
+ # @overload list_app_input_sources(params = {})
2371
+ # @param [Hash] params ({})
2372
+ def list_app_input_sources(params = {}, options = {})
2373
+ req = build_request(:list_app_input_sources, params)
2374
+ req.send_request(options)
2375
+ end
2376
+
2377
+ # Lists all the Application Components in the Resilience Hub
2378
+ # application.
2379
+ #
2380
+ # @option params [required, String] :app_arn
2381
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2382
+ # The format for this ARN is:
2383
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2384
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2385
+ # the *AWS General Reference* guide.
2386
+ #
2387
+ #
2388
+ #
2389
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2390
+ #
2391
+ # @option params [required, String] :app_version
2392
+ # The version of the Application Component.
2393
+ #
2394
+ # @option params [Integer] :max_results
2395
+ # Maximum number of Application Components to be displayed per AWS
2396
+ # Resilience Hub application version.
2397
+ #
2398
+ # @option params [String] :next_token
2399
+ # Null, or the token from a previous call to get the next set of
2400
+ # results.
2401
+ #
2402
+ # @return [Types::ListAppVersionAppComponentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2403
+ #
2404
+ # * {Types::ListAppVersionAppComponentsResponse#app_arn #app_arn} => String
2405
+ # * {Types::ListAppVersionAppComponentsResponse#app_components #app_components} => Array&lt;Types::AppComponent&gt;
2406
+ # * {Types::ListAppVersionAppComponentsResponse#app_version #app_version} => String
2407
+ # * {Types::ListAppVersionAppComponentsResponse#next_token #next_token} => String
2408
+ #
2409
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2410
+ #
2411
+ # @example Request syntax with placeholder values
2412
+ #
2413
+ # resp = client.list_app_version_app_components({
2414
+ # app_arn: "Arn", # required
2415
+ # app_version: "EntityVersion", # required
2416
+ # max_results: 1,
2417
+ # next_token: "NextToken",
2418
+ # })
2419
+ #
2420
+ # @example Response structure
2421
+ #
2422
+ # resp.app_arn #=> String
2423
+ # resp.app_components #=> Array
2424
+ # resp.app_components[0].additional_info #=> Hash
2425
+ # resp.app_components[0].additional_info["String128WithoutWhitespace"] #=> Array
2426
+ # resp.app_components[0].additional_info["String128WithoutWhitespace"][0] #=> String
2427
+ # resp.app_components[0].id #=> String
2428
+ # resp.app_components[0].name #=> String
2429
+ # resp.app_components[0].type #=> String
2430
+ # resp.app_version #=> String
2431
+ # resp.next_token #=> String
2432
+ #
2433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionAppComponents AWS API Documentation
1594
2434
  #
1595
- # @overload list_app_component_recommendations(params = {})
2435
+ # @overload list_app_version_app_components(params = {})
1596
2436
  # @param [Hash] params ({})
1597
- def list_app_component_recommendations(params = {}, options = {})
1598
- req = build_request(:list_app_component_recommendations, params)
2437
+ def list_app_version_app_components(params = {}, options = {})
2438
+ req = build_request(:list_app_version_app_components, params)
1599
2439
  req.send_request(options)
1600
2440
  end
1601
2441
 
@@ -1604,11 +2444,11 @@ module Aws::ResilienceHub
1604
2444
  # stacks, resource-groups, or an application registry app.
1605
2445
  #
1606
2446
  # @option params [required, String] :app_arn
1607
- # The Amazon Resource Name (ARN) of the application. The format for this
1608
- # ARN is:
1609
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2447
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2448
+ # The format for this ARN is:
2449
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1610
2450
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1611
- # the *AWS General Reference*.
2451
+ # the *AWS General Reference* guide.
1612
2452
  #
1613
2453
  #
1614
2454
  #
@@ -1648,8 +2488,9 @@ module Aws::ResilienceHub
1648
2488
  # resp.next_token #=> String
1649
2489
  # resp.resource_mappings #=> Array
1650
2490
  # resp.resource_mappings[0].app_registry_app_name #=> String
2491
+ # resp.resource_mappings[0].eks_source_name #=> String
1651
2492
  # resp.resource_mappings[0].logical_stack_name #=> String
1652
- # resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform"
2493
+ # resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform", "EKS"
1653
2494
  # resp.resource_mappings[0].physical_resource_id.aws_account_id #=> String
1654
2495
  # resp.resource_mappings[0].physical_resource_id.aws_region #=> String
1655
2496
  # resp.resource_mappings[0].physical_resource_id.identifier #=> String
@@ -1667,14 +2508,14 @@ module Aws::ResilienceHub
1667
2508
  req.send_request(options)
1668
2509
  end
1669
2510
 
1670
- # Lists all the resources in an application version.
2511
+ # Lists all the resources in an Resilience Hub application.
1671
2512
  #
1672
2513
  # @option params [required, String] :app_arn
1673
- # The Amazon Resource Name (ARN) of the application. The format for this
1674
- # ARN is:
1675
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2514
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2515
+ # The format for this ARN is:
2516
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1676
2517
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1677
- # the *AWS General Reference*.
2518
+ # the *AWS General Reference* guide.
1678
2519
  #
1679
2520
  #
1680
2521
  #
@@ -1718,9 +2559,18 @@ module Aws::ResilienceHub
1718
2559
  #
1719
2560
  # resp.next_token #=> String
1720
2561
  # resp.physical_resources #=> Array
2562
+ # resp.physical_resources[0].additional_info #=> Hash
2563
+ # resp.physical_resources[0].additional_info["String128WithoutWhitespace"] #=> Array
2564
+ # resp.physical_resources[0].additional_info["String128WithoutWhitespace"][0] #=> String
1721
2565
  # resp.physical_resources[0].app_components #=> Array
2566
+ # resp.physical_resources[0].app_components[0].additional_info #=> Hash
2567
+ # resp.physical_resources[0].app_components[0].additional_info["String128WithoutWhitespace"] #=> Array
2568
+ # resp.physical_resources[0].app_components[0].additional_info["String128WithoutWhitespace"][0] #=> String
2569
+ # resp.physical_resources[0].app_components[0].id #=> String
1722
2570
  # resp.physical_resources[0].app_components[0].name #=> String
1723
2571
  # resp.physical_resources[0].app_components[0].type #=> String
2572
+ # resp.physical_resources[0].excluded #=> Boolean
2573
+ # resp.physical_resources[0].logical_resource_id.eks_source_name #=> String
1724
2574
  # resp.physical_resources[0].logical_resource_id.identifier #=> String
1725
2575
  # resp.physical_resources[0].logical_resource_id.logical_stack_name #=> String
1726
2576
  # resp.physical_resources[0].logical_resource_id.resource_group_name #=> String
@@ -1745,11 +2595,11 @@ module Aws::ResilienceHub
1745
2595
  # Lists the different versions for the Resilience Hub applications.
1746
2596
  #
1747
2597
  # @option params [required, String] :app_arn
1748
- # The Amazon Resource Name (ARN) of the application. The format for this
1749
- # ARN is:
1750
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2598
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2599
+ # The format for this ARN is:
2600
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1751
2601
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1752
- # the *AWS General Reference*.
2602
+ # the *AWS General Reference* guide.
1753
2603
  #
1754
2604
  #
1755
2605
  #
@@ -1797,12 +2647,21 @@ module Aws::ResilienceHub
1797
2647
 
1798
2648
  # Lists your Resilience Hub applications.
1799
2649
  #
2650
+ # <note markdown="1"> You can filter applications using only one filter at a time or without
2651
+ # using any filter. If you try to filter applications using multiple
2652
+ # filters, you will get the following error:
2653
+ #
2654
+ # `An error occurred (ValidationException) when calling the ListApps
2655
+ # operation: Only one filter is supported for this operation.`
2656
+ #
2657
+ # </note>
2658
+ #
1800
2659
  # @option params [String] :app_arn
1801
- # The Amazon Resource Name (ARN) of the application. The format for this
1802
- # ARN is:
1803
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
2660
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
2661
+ # The format for this ARN is:
2662
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1804
2663
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1805
- # the *AWS General Reference*.
2664
+ # the *AWS General Reference* guide.
1806
2665
  #
1807
2666
  #
1808
2667
  #
@@ -1865,9 +2724,9 @@ module Aws::ResilienceHub
1865
2724
  # @option params [required, String] :assessment_arn
1866
2725
  # The Amazon Resource Name (ARN) of the assessment. The format for this
1867
2726
  # ARN is:
1868
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
2727
+ # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
1869
2728
  # For more information about ARNs, see [ Amazon Resource Names
1870
- # (ARNs)][1] in the *AWS General Reference*.
2729
+ # (ARNs)][1] in the *AWS General Reference* guide.
1871
2730
  #
1872
2731
  #
1873
2732
  #
@@ -2009,9 +2868,9 @@ module Aws::ResilienceHub
2009
2868
  # @option params [required, String] :assessment_arn
2010
2869
  # The Amazon Resource Name (ARN) of the assessment. The format for this
2011
2870
  # ARN is:
2012
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
2871
+ # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2013
2872
  # For more information about ARNs, see [ Amazon Resource Names
2014
- # (ARNs)][1] in the *AWS General Reference*.
2873
+ # (ARNs)][1] in the *AWS General Reference* guide.
2015
2874
  #
2016
2875
  #
2017
2876
  #
@@ -2156,9 +3015,9 @@ module Aws::ResilienceHub
2156
3015
  # @option params [required, String] :assessment_arn
2157
3016
  # The Amazon Resource Name (ARN) of the assessment. The format for this
2158
3017
  # ARN is:
2159
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
3018
+ # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2160
3019
  # For more information about ARNs, see [ Amazon Resource Names
2161
- # (ARNs)][1] in the *AWS General Reference*.
3020
+ # (ARNs)][1] in the *AWS General Reference* guide.
2162
3021
  #
2163
3022
  #
2164
3023
  #
@@ -2219,17 +3078,17 @@ module Aws::ResilienceHub
2219
3078
  req.send_request(options)
2220
3079
  end
2221
3080
 
2222
- # Lists the resources that are not currently supported in AWS Resilience
3081
+ # Lists the resources that are not currently supported in Resilience
2223
3082
  # Hub. An unsupported resource is a resource that exists in the object
2224
3083
  # that was used to create an app, but is not supported by Resilience
2225
3084
  # Hub.
2226
3085
  #
2227
3086
  # @option params [required, String] :app_arn
2228
- # The Amazon Resource Name (ARN) of the application. The format for this
2229
- # ARN is:
2230
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
3087
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3088
+ # The format for this ARN is:
3089
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2231
3090
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2232
- # the *AWS General Reference*.
3091
+ # the *AWS General Reference* guide.
2233
3092
  #
2234
3093
  #
2235
3094
  #
@@ -2274,6 +3133,7 @@ module Aws::ResilienceHub
2274
3133
  # resp.next_token #=> String
2275
3134
  # resp.resolution_id #=> String
2276
3135
  # resp.unsupported_resources #=> Array
3136
+ # resp.unsupported_resources[0].logical_resource_id.eks_source_name #=> String
2277
3137
  # resp.unsupported_resources[0].logical_resource_id.identifier #=> String
2278
3138
  # resp.unsupported_resources[0].logical_resource_id.logical_stack_name #=> String
2279
3139
  # resp.unsupported_resources[0].logical_resource_id.resource_group_name #=> String
@@ -2283,6 +3143,7 @@ module Aws::ResilienceHub
2283
3143
  # resp.unsupported_resources[0].physical_resource_id.identifier #=> String
2284
3144
  # resp.unsupported_resources[0].physical_resource_id.type #=> String, one of "Arn", "Native"
2285
3145
  # resp.unsupported_resources[0].resource_type #=> String
3146
+ # resp.unsupported_resources[0].unsupported_resource_status #=> String
2286
3147
  #
2287
3148
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListUnsupportedAppVersionResources AWS API Documentation
2288
3149
  #
@@ -2296,11 +3157,11 @@ module Aws::ResilienceHub
2296
3157
  # Publishes a new version of a specific Resilience Hub application.
2297
3158
  #
2298
3159
  # @option params [required, String] :app_arn
2299
- # The Amazon Resource Name (ARN) of the application. The format for this
2300
- # ARN is:
2301
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
3160
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3161
+ # The format for this ARN is:
3162
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2302
3163
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2303
- # the *AWS General Reference*.
3164
+ # the *AWS General Reference* guide.
2304
3165
  #
2305
3166
  #
2306
3167
  #
@@ -2331,22 +3192,224 @@ module Aws::ResilienceHub
2331
3192
  req.send_request(options)
2332
3193
  end
2333
3194
 
2334
- # Adds or updates the app template for a draft version of a Resilience
2335
- # Hub app.
3195
+ # Adds or updates the app template for an Resilience Hub application
3196
+ # draft version.
2336
3197
  #
2337
3198
  # @option params [required, String] :app_arn
2338
- # The Amazon Resource Name (ARN) of the application. The format for this
2339
- # ARN is:
2340
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
3199
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3200
+ # The format for this ARN is:
3201
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2341
3202
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2342
- # the *AWS General Reference*.
3203
+ # the *AWS General Reference* guide.
2343
3204
  #
2344
3205
  #
2345
3206
  #
2346
3207
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2347
3208
  #
2348
3209
  # @option params [required, String] :app_template_body
2349
- # A JSON string that contains the body of the app template.
3210
+ # A JSON string that provides information about your application
3211
+ # structure. To learn more about the `appTemplateBody` template, see the
3212
+ # sample template provided in the *Examples* section.
3213
+ #
3214
+ # The `appTemplateBody` JSON string has the following structure:
3215
+ #
3216
+ # * <b> <code>resources</code> </b>
3217
+ #
3218
+ # The list of logical resources that needs to be included in the
3219
+ # Resilience Hub application.
3220
+ #
3221
+ # Type: Array
3222
+ #
3223
+ # <note markdown="1"> Don't add the resources that you want to exclude.
3224
+ #
3225
+ # </note>
3226
+ #
3227
+ # Each `resources` array item includes the following fields:
3228
+ #
3229
+ # * <i> <code>logicalResourceId</code> </i>
3230
+ #
3231
+ # The logical identifier of the resource.
3232
+ #
3233
+ # Type: Object
3234
+ #
3235
+ # Each `logicalResourceId` object includes the following fields:
3236
+ #
3237
+ # * `identifier`
3238
+ #
3239
+ # The identifier of the resource.
3240
+ #
3241
+ # Type: String
3242
+ #
3243
+ # * `logicalStackName`
3244
+ #
3245
+ # The name of the CloudFormation stack this resource belongs to.
3246
+ #
3247
+ # Type: String
3248
+ #
3249
+ # * `resourceGroupName`
3250
+ #
3251
+ # The name of the resource group this resource belongs to.
3252
+ #
3253
+ # Type: String
3254
+ #
3255
+ # * `terraformSourceName`
3256
+ #
3257
+ # The name of the Terraform S3 state file this resource belongs
3258
+ # to.
3259
+ #
3260
+ # Type: String
3261
+ #
3262
+ # * <i> <code>type</code> </i>
3263
+ #
3264
+ # The type of resource.
3265
+ #
3266
+ # Type: string
3267
+ #
3268
+ # * <i> <code>name</code> </i>
3269
+ #
3270
+ # The name of the resource.
3271
+ #
3272
+ # Type: String
3273
+ #
3274
+ # * `additionalInfo`
3275
+ #
3276
+ # Additional configuration parameters for an AWS Resilience Hub
3277
+ # application.
3278
+ #
3279
+ # <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
3280
+ # format) of only one failover region and one associated account.
3281
+ #
3282
+ # Key: `"failover-regions"`
3283
+ #
3284
+ # Value: `"[\{"region":"<REGION>",
3285
+ # "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
3286
+ #
3287
+ # </note>
3288
+ #
3289
+ # * <b> <code>appComponents</code> </b>
3290
+ #
3291
+ # The list of Application Components that this resource belongs to. If
3292
+ # an Application Component is not part of the AWS Resilience Hub
3293
+ # application, it will be added.
3294
+ #
3295
+ # Type: Array
3296
+ #
3297
+ # Each `appComponents` array item includes the following fields:
3298
+ #
3299
+ # * `name`
3300
+ #
3301
+ # The name of the Application Component.
3302
+ #
3303
+ # Type: String
3304
+ #
3305
+ # * `type`
3306
+ #
3307
+ # The type of Application Component. For more information about the
3308
+ # types of Application Component, see [Grouping resources in an
3309
+ # AppComponent][1].
3310
+ #
3311
+ # Type: String
3312
+ #
3313
+ # * `resourceNames`
3314
+ #
3315
+ # The list of included resources that are assigned to the
3316
+ # Application Component.
3317
+ #
3318
+ # Type: Array of strings
3319
+ #
3320
+ # * `additionalInfo`
3321
+ #
3322
+ # Additional configuration parameters for an AWS Resilience Hub
3323
+ # application.
3324
+ #
3325
+ # <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
3326
+ # format) of only one failover region and one associated account.
3327
+ #
3328
+ # Key: `"failover-regions"`
3329
+ #
3330
+ # Value: `"[\{"region":"<REGION>",
3331
+ # "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
3332
+ #
3333
+ # </note>
3334
+ #
3335
+ # * <b> <code>excludedResources</code> </b>
3336
+ #
3337
+ # The list of logical resource identifiers to be excluded from the
3338
+ # application.
3339
+ #
3340
+ # Type: Array
3341
+ #
3342
+ # <note markdown="1"> Don't add the resources that you want to include.
3343
+ #
3344
+ # </note>
3345
+ #
3346
+ # Each `excludedResources` array item includes the following fields:
3347
+ #
3348
+ # * <i> <code>logicalResourceIds</code> </i>
3349
+ #
3350
+ # The logical identifier of the resource.
3351
+ #
3352
+ # Type: Object
3353
+ #
3354
+ # <note markdown="1"> You can configure only one of the following fields:
3355
+ #
3356
+ # * `logicalStackName`
3357
+ #
3358
+ # * `resourceGroupName`
3359
+ #
3360
+ # * `terraformSourceName`
3361
+ #
3362
+ # </note>
3363
+ #
3364
+ # Each `logicalResourceIds` object includes the following fields:
3365
+ #
3366
+ # * `identifier`
3367
+ #
3368
+ # The identifier of the resource.
3369
+ #
3370
+ # Type: String
3371
+ #
3372
+ # * `logicalStackName`
3373
+ #
3374
+ # The name of the CloudFormation stack this resource belongs to.
3375
+ #
3376
+ # Type: String
3377
+ #
3378
+ # * `resourceGroupName`
3379
+ #
3380
+ # The name of the resource group this resource belongs to.
3381
+ #
3382
+ # Type: String
3383
+ #
3384
+ # * `terraformSourceName`
3385
+ #
3386
+ # The name of the Terraform S3 state file this resource belongs
3387
+ # to.
3388
+ #
3389
+ # Type: String
3390
+ #
3391
+ # * <b> <code>version</code> </b>
3392
+ #
3393
+ # The AWS Resilience Hub application version.
3394
+ #
3395
+ # * `additionalInfo`
3396
+ #
3397
+ # Additional configuration parameters for an AWS Resilience Hub
3398
+ # application.
3399
+ #
3400
+ # <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
3401
+ # format) of only one failover region and one associated account.
3402
+ #
3403
+ # Key: `"failover-regions"`
3404
+ #
3405
+ # Value: `"[\{"region":"<REGION>",
3406
+ # "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
3407
+ #
3408
+ # </note>
3409
+ #
3410
+ #
3411
+ #
3412
+ # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
2350
3413
  #
2351
3414
  # @return [Types::PutDraftAppVersionTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2352
3415
  #
@@ -2377,32 +3440,43 @@ module Aws::ResilienceHub
2377
3440
  # Removes resource mappings from a draft application version.
2378
3441
  #
2379
3442
  # @option params [required, String] :app_arn
2380
- # The Amazon Resource Name (ARN) of the application. The format for this
2381
- # ARN is:
2382
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
3443
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3444
+ # The format for this ARN is:
3445
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2383
3446
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2384
- # the *AWS General Reference*.
3447
+ # the *AWS General Reference* guide.
2385
3448
  #
2386
3449
  #
2387
3450
  #
2388
3451
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2389
3452
  #
2390
3453
  # @option params [Array<String>] :app_registry_app_names
2391
- # The names of the registered applications to remove from the resource
2392
- # mappings.
3454
+ # The names of the registered applications you want to remove from the
3455
+ # resource mappings.
3456
+ #
3457
+ # @option params [Array<String>] :eks_source_names
3458
+ # The names of the Amazon Elastic Kubernetes Service clusters and
3459
+ # namespaces you want to remove from the resource mappings.
3460
+ #
3461
+ # <note markdown="1"> This parameter accepts values in "eks-cluster/namespace" format.
3462
+ #
3463
+ # </note>
2393
3464
  #
2394
3465
  # @option params [Array<String>] :logical_stack_names
2395
- # The names of the CloudFormation stacks to remove from the resource
2396
- # mappings.
3466
+ # The names of the CloudFormation stacks you want to remove from the
3467
+ # resource mappings.
2397
3468
  #
2398
3469
  # @option params [Array<String>] :resource_group_names
2399
- # The names of the resource groups to remove from the resource mappings.
3470
+ # The names of the resource groups you want to remove from the resource
3471
+ # mappings.
2400
3472
  #
2401
3473
  # @option params [Array<String>] :resource_names
2402
- # The names of the resources to remove from the resource mappings.
3474
+ # The names of the resources you want to remove from the resource
3475
+ # mappings.
2403
3476
  #
2404
3477
  # @option params [Array<String>] :terraform_source_names
2405
- # </p>
3478
+ # The names of the Terraform sources you want to remove from the
3479
+ # resource mappings.
2406
3480
  #
2407
3481
  # @return [Types::RemoveDraftAppVersionResourceMappingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2408
3482
  #
@@ -2414,6 +3488,7 @@ module Aws::ResilienceHub
2414
3488
  # resp = client.remove_draft_app_version_resource_mappings({
2415
3489
  # app_arn: "Arn", # required
2416
3490
  # app_registry_app_names: ["EntityName"],
3491
+ # eks_source_names: ["String255"],
2417
3492
  # logical_stack_names: ["String255"],
2418
3493
  # resource_group_names: ["EntityName"],
2419
3494
  # resource_names: ["EntityName"],
@@ -2437,11 +3512,11 @@ module Aws::ResilienceHub
2437
3512
  # Resolves the resources for an application version.
2438
3513
  #
2439
3514
  # @option params [required, String] :app_arn
2440
- # The Amazon Resource Name (ARN) of the application. The format for this
2441
- # ARN is:
2442
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
3515
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3516
+ # The format for this ARN is:
3517
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2443
3518
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2444
- # the *AWS General Reference*.
3519
+ # the *AWS General Reference* guide.
2445
3520
  #
2446
3521
  #
2447
3522
  #
@@ -2483,11 +3558,11 @@ module Aws::ResilienceHub
2483
3558
  # Creates a new application assessment for an application.
2484
3559
  #
2485
3560
  # @option params [required, String] :app_arn
2486
- # The Amazon Resource Name (ARN) of the application. The format for this
2487
- # ARN is:
2488
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
3561
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3562
+ # The format for this ARN is:
3563
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2489
3564
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2490
- # the *AWS General Reference*.
3565
+ # the *AWS General Reference* guide.
2491
3566
  #
2492
3567
  #
2493
3568
  #
@@ -2621,7 +3696,7 @@ module Aws::ResilienceHub
2621
3696
  # The Amazon Resource Name (ARN) of the resource.
2622
3697
  #
2623
3698
  # @option params [required, Array<String>] :tag_keys
2624
- # The keys of the tags to remove.
3699
+ # The keys of the tags you want to remove.
2625
3700
  #
2626
3701
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2627
3702
  #
@@ -2644,11 +3719,11 @@ module Aws::ResilienceHub
2644
3719
  # Updates an application.
2645
3720
  #
2646
3721
  # @option params [required, String] :app_arn
2647
- # The Amazon Resource Name (ARN) of the application. The format for this
2648
- # ARN is:
2649
- # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For
3722
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3723
+ # The format for this ARN is:
3724
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2650
3725
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2651
- # the *AWS General Reference*.
3726
+ # the *AWS General Reference* guide.
2652
3727
  #
2653
3728
  #
2654
3729
  #
@@ -2666,9 +3741,9 @@ module Aws::ResilienceHub
2666
3741
  # @option params [String] :policy_arn
2667
3742
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
2668
3743
  # for this ARN is:
2669
- # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
3744
+ # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
2670
3745
  # For more information about ARNs, see [ Amazon Resource Names
2671
- # (ARNs)][1] in the *AWS General Reference*.
3746
+ # (ARNs)][1] in the *AWS General Reference* guide.
2672
3747
  #
2673
3748
  #
2674
3749
  #
@@ -2713,6 +3788,273 @@ module Aws::ResilienceHub
2713
3788
  req.send_request(options)
2714
3789
  end
2715
3790
 
3791
+ # Updates the Resilience Hub application version.
3792
+ #
3793
+ # <note markdown="1"> This API updates the Resilience Hub application draft version. To use
3794
+ # this information for running resiliency assessments, you must publish
3795
+ # the Resilience Hub application using the `PublishAppVersion` API.
3796
+ #
3797
+ # </note>
3798
+ #
3799
+ # @option params [Hash<String,Array>] :additional_info
3800
+ # Additional configuration parameters for an AWS Resilience Hub
3801
+ # application.
3802
+ #
3803
+ # <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
3804
+ # format) of only one failover region and one associated account.
3805
+ #
3806
+ # Key: `"failover-regions"`
3807
+ #
3808
+ # Value: `"[\{"region":"<REGION>",
3809
+ # "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
3810
+ #
3811
+ # </note>
3812
+ #
3813
+ # @option params [required, String] :app_arn
3814
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3815
+ # The format for this ARN is:
3816
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3817
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3818
+ # the *AWS General Reference* guide.
3819
+ #
3820
+ #
3821
+ #
3822
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3823
+ #
3824
+ # @return [Types::UpdateAppVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3825
+ #
3826
+ # * {Types::UpdateAppVersionResponse#additional_info #additional_info} => Hash&lt;String,Array&lt;String&gt;&gt;
3827
+ # * {Types::UpdateAppVersionResponse#app_arn #app_arn} => String
3828
+ # * {Types::UpdateAppVersionResponse#app_version #app_version} => String
3829
+ #
3830
+ # @example Request syntax with placeholder values
3831
+ #
3832
+ # resp = client.update_app_version({
3833
+ # additional_info: {
3834
+ # "String128WithoutWhitespace" => ["String1024"],
3835
+ # },
3836
+ # app_arn: "Arn", # required
3837
+ # })
3838
+ #
3839
+ # @example Response structure
3840
+ #
3841
+ # resp.additional_info #=> Hash
3842
+ # resp.additional_info["String128WithoutWhitespace"] #=> Array
3843
+ # resp.additional_info["String128WithoutWhitespace"][0] #=> String
3844
+ # resp.app_arn #=> String
3845
+ # resp.app_version #=> String
3846
+ #
3847
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersion AWS API Documentation
3848
+ #
3849
+ # @overload update_app_version(params = {})
3850
+ # @param [Hash] params ({})
3851
+ def update_app_version(params = {}, options = {})
3852
+ req = build_request(:update_app_version, params)
3853
+ req.send_request(options)
3854
+ end
3855
+
3856
+ # Updates an existing Application Component in the Resilience Hub
3857
+ # application.
3858
+ #
3859
+ # <note markdown="1"> This API updates the Resilience Hub application draft version. To use
3860
+ # this Application Component for running assessments, you must publish
3861
+ # the Resilience Hub application using the `PublishAppVersion` API.
3862
+ #
3863
+ # </note>
3864
+ #
3865
+ # @option params [Hash<String,Array>] :additional_info
3866
+ # Currently, there is no supported additional information for
3867
+ # Application Components.
3868
+ #
3869
+ # @option params [required, String] :app_arn
3870
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3871
+ # The format for this ARN is:
3872
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3873
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3874
+ # the *AWS General Reference* guide.
3875
+ #
3876
+ #
3877
+ #
3878
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3879
+ #
3880
+ # @option params [required, String] :id
3881
+ # The identifier of the Application Component.
3882
+ #
3883
+ # @option params [String] :name
3884
+ # The name of the Application Component.
3885
+ #
3886
+ # @option params [String] :type
3887
+ # The type of Application Component. For more information about the
3888
+ # types of Application Component, see [Grouping resources in an
3889
+ # AppComponent][1].
3890
+ #
3891
+ #
3892
+ #
3893
+ # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
3894
+ #
3895
+ # @return [Types::UpdateAppVersionAppComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3896
+ #
3897
+ # * {Types::UpdateAppVersionAppComponentResponse#app_arn #app_arn} => String
3898
+ # * {Types::UpdateAppVersionAppComponentResponse#app_component #app_component} => Types::AppComponent
3899
+ # * {Types::UpdateAppVersionAppComponentResponse#app_version #app_version} => String
3900
+ #
3901
+ # @example Request syntax with placeholder values
3902
+ #
3903
+ # resp = client.update_app_version_app_component({
3904
+ # additional_info: {
3905
+ # "String128WithoutWhitespace" => ["String1024"],
3906
+ # },
3907
+ # app_arn: "Arn", # required
3908
+ # id: "String255", # required
3909
+ # name: "String255",
3910
+ # type: "String255",
3911
+ # })
3912
+ #
3913
+ # @example Response structure
3914
+ #
3915
+ # resp.app_arn #=> String
3916
+ # resp.app_component.additional_info #=> Hash
3917
+ # resp.app_component.additional_info["String128WithoutWhitespace"] #=> Array
3918
+ # resp.app_component.additional_info["String128WithoutWhitespace"][0] #=> String
3919
+ # resp.app_component.id #=> String
3920
+ # resp.app_component.name #=> String
3921
+ # resp.app_component.type #=> String
3922
+ # resp.app_version #=> String
3923
+ #
3924
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionAppComponent AWS API Documentation
3925
+ #
3926
+ # @overload update_app_version_app_component(params = {})
3927
+ # @param [Hash] params ({})
3928
+ def update_app_version_app_component(params = {}, options = {})
3929
+ req = build_request(:update_app_version_app_component, params)
3930
+ req.send_request(options)
3931
+ end
3932
+
3933
+ # Updates the resource details in the Resilience Hub application.
3934
+ #
3935
+ # <note markdown="1"> * This action has no effect outside Resilience Hub.
3936
+ #
3937
+ # * This API updates the Resilience Hub application draft version. To
3938
+ # use this resource for running resiliency assessments, you must
3939
+ # publish the Resilience Hub application using the `PublishAppVersion`
3940
+ # API.
3941
+ #
3942
+ # * To update application version with new `physicalResourceID`, you
3943
+ # must call `ResolveAppVersionResources` API.
3944
+ #
3945
+ # </note>
3946
+ #
3947
+ # @option params [Hash<String,Array>] :additional_info
3948
+ # Currently, there is no supported additional information for resources.
3949
+ #
3950
+ # @option params [required, String] :app_arn
3951
+ # The Amazon Resource Name (ARN) of the AWS Resilience Hub application.
3952
+ # The format for this ARN is:
3953
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3954
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3955
+ # the *AWS General Reference* guide.
3956
+ #
3957
+ #
3958
+ #
3959
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3960
+ #
3961
+ # @option params [Array<String>] :app_components
3962
+ # The list of Application Components that this resource belongs to. If
3963
+ # an Application Component is not part of the AWS Resilience Hub
3964
+ # application, it will be added.
3965
+ #
3966
+ # @option params [String] :aws_account_id
3967
+ # The Amazon Web Services account that owns the physical resource.
3968
+ #
3969
+ # @option params [String] :aws_region
3970
+ # The Amazon Web Services region that owns the physical resource.
3971
+ #
3972
+ # @option params [Boolean] :excluded
3973
+ # Indicates if a resource is excluded from an Resilience Hub
3974
+ # application.
3975
+ #
3976
+ # <note markdown="1"> You can exclude only imported resources from an Resilience Hub
3977
+ # application.
3978
+ #
3979
+ # </note>
3980
+ #
3981
+ # @option params [Types::LogicalResourceId] :logical_resource_id
3982
+ # The logical identifier of the resource.
3983
+ #
3984
+ # @option params [String] :physical_resource_id
3985
+ # The physical identifier of the resource.
3986
+ #
3987
+ # @option params [String] :resource_name
3988
+ # The name of the resource.
3989
+ #
3990
+ # @option params [String] :resource_type
3991
+ # The type of resource.
3992
+ #
3993
+ # @return [Types::UpdateAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3994
+ #
3995
+ # * {Types::UpdateAppVersionResourceResponse#app_arn #app_arn} => String
3996
+ # * {Types::UpdateAppVersionResourceResponse#app_version #app_version} => String
3997
+ # * {Types::UpdateAppVersionResourceResponse#physical_resource #physical_resource} => Types::PhysicalResource
3998
+ #
3999
+ # @example Request syntax with placeholder values
4000
+ #
4001
+ # resp = client.update_app_version_resource({
4002
+ # additional_info: {
4003
+ # "String128WithoutWhitespace" => ["String1024"],
4004
+ # },
4005
+ # app_arn: "Arn", # required
4006
+ # app_components: ["String255"],
4007
+ # aws_account_id: "CustomerId",
4008
+ # aws_region: "AwsRegion",
4009
+ # excluded: false,
4010
+ # logical_resource_id: {
4011
+ # eks_source_name: "String255",
4012
+ # identifier: "String255", # required
4013
+ # logical_stack_name: "String255",
4014
+ # resource_group_name: "EntityName",
4015
+ # terraform_source_name: "String255",
4016
+ # },
4017
+ # physical_resource_id: "String2048",
4018
+ # resource_name: "EntityName",
4019
+ # resource_type: "String255",
4020
+ # })
4021
+ #
4022
+ # @example Response structure
4023
+ #
4024
+ # resp.app_arn #=> String
4025
+ # resp.app_version #=> String
4026
+ # resp.physical_resource.additional_info #=> Hash
4027
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"] #=> Array
4028
+ # resp.physical_resource.additional_info["String128WithoutWhitespace"][0] #=> String
4029
+ # resp.physical_resource.app_components #=> Array
4030
+ # resp.physical_resource.app_components[0].additional_info #=> Hash
4031
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"] #=> Array
4032
+ # resp.physical_resource.app_components[0].additional_info["String128WithoutWhitespace"][0] #=> String
4033
+ # resp.physical_resource.app_components[0].id #=> String
4034
+ # resp.physical_resource.app_components[0].name #=> String
4035
+ # resp.physical_resource.app_components[0].type #=> String
4036
+ # resp.physical_resource.excluded #=> Boolean
4037
+ # resp.physical_resource.logical_resource_id.eks_source_name #=> String
4038
+ # resp.physical_resource.logical_resource_id.identifier #=> String
4039
+ # resp.physical_resource.logical_resource_id.logical_stack_name #=> String
4040
+ # resp.physical_resource.logical_resource_id.resource_group_name #=> String
4041
+ # resp.physical_resource.logical_resource_id.terraform_source_name #=> String
4042
+ # resp.physical_resource.physical_resource_id.aws_account_id #=> String
4043
+ # resp.physical_resource.physical_resource_id.aws_region #=> String
4044
+ # resp.physical_resource.physical_resource_id.identifier #=> String
4045
+ # resp.physical_resource.physical_resource_id.type #=> String, one of "Arn", "Native"
4046
+ # resp.physical_resource.resource_name #=> String
4047
+ # resp.physical_resource.resource_type #=> String
4048
+ #
4049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionResource AWS API Documentation
4050
+ #
4051
+ # @overload update_app_version_resource(params = {})
4052
+ # @param [Hash] params ({})
4053
+ def update_app_version_resource(params = {}, options = {})
4054
+ req = build_request(:update_app_version_resource, params)
4055
+ req.send_request(options)
4056
+ end
4057
+
2716
4058
  # Updates a resiliency policy.
2717
4059
  #
2718
4060
  # @option params [String] :data_location_constraint
@@ -2726,9 +4068,9 @@ module Aws::ResilienceHub
2726
4068
  # @option params [required, String] :policy_arn
2727
4069
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
2728
4070
  # for this ARN is:
2729
- # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
4071
+ # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
2730
4072
  # For more information about ARNs, see [ Amazon Resource Names
2731
- # (ARNs)][1] in the *AWS General Reference*.
4073
+ # (ARNs)][1] in the *AWS General Reference* guide.
2732
4074
  #
2733
4075
  #
2734
4076
  #
@@ -2801,7 +4143,7 @@ module Aws::ResilienceHub
2801
4143
  params: params,
2802
4144
  config: config)
2803
4145
  context[:gem_name] = 'aws-sdk-resiliencehub'
2804
- context[:gem_version] = '1.9.0'
4146
+ context[:gem_version] = '1.11.0'
2805
4147
  Seahorse::Client::Request.new(handlers, context)
2806
4148
  end
2807
4149