aws-sdk-resiliencehub 1.17.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -216,6 +216,10 @@ module Aws::ResilienceHub
216
216
  # @option options [Boolean] :endpoint_discovery (false)
217
217
  # When set to `true`, endpoint discovery will be enabled for operations when available.
218
218
  #
219
+ # @option options [Boolean] :ignore_configured_endpoint_urls
220
+ # Setting to true disables use of endpoint URLs provided via environment
221
+ # variables and the shared configuration file.
222
+ #
219
223
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
220
224
  # The log formatter.
221
225
  #
@@ -388,7 +392,7 @@ module Aws::ResilienceHub
388
392
  # also update an existing resource mapping to a new physical resource.
389
393
  #
390
394
  # @option params [required, String] :app_arn
391
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
395
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
392
396
  # format for this ARN is:
393
397
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
394
398
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -461,14 +465,83 @@ module Aws::ResilienceHub
461
465
  req.send_request(options)
462
466
  end
463
467
 
468
+ # Enables you to include or exclude one or more operational
469
+ # recommendations.
470
+ #
471
+ # @option params [required, String] :app_arn
472
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
473
+ # format for this ARN is:
474
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
475
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
476
+ # the *AWS General Reference* guide.
477
+ #
478
+ #
479
+ #
480
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
481
+ #
482
+ # @option params [required, Array<Types::UpdateRecommendationStatusRequestEntry>] :request_entries
483
+ # Defines the list of operational recommendations that need to be
484
+ # included or excluded.
485
+ #
486
+ # @return [Types::BatchUpdateRecommendationStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
487
+ #
488
+ # * {Types::BatchUpdateRecommendationStatusResponse#app_arn #app_arn} => String
489
+ # * {Types::BatchUpdateRecommendationStatusResponse#failed_entries #failed_entries} => Array&lt;Types::BatchUpdateRecommendationStatusFailedEntry&gt;
490
+ # * {Types::BatchUpdateRecommendationStatusResponse#successful_entries #successful_entries} => Array&lt;Types::BatchUpdateRecommendationStatusSuccessfulEntry&gt;
491
+ #
492
+ # @example Request syntax with placeholder values
493
+ #
494
+ # resp = client.batch_update_recommendation_status({
495
+ # app_arn: "Arn", # required
496
+ # request_entries: [ # required
497
+ # {
498
+ # entry_id: "String255", # required
499
+ # exclude_reason: "AlreadyImplemented", # accepts AlreadyImplemented, NotRelevant, ComplexityOfImplementation
500
+ # excluded: false, # required
501
+ # item: { # required
502
+ # resource_id: "String500",
503
+ # target_account_id: "CustomerId",
504
+ # target_region: "AwsRegion",
505
+ # },
506
+ # reference_id: "SpecReferenceId", # required
507
+ # },
508
+ # ],
509
+ # })
510
+ #
511
+ # @example Response structure
512
+ #
513
+ # resp.app_arn #=> String
514
+ # resp.failed_entries #=> Array
515
+ # resp.failed_entries[0].entry_id #=> String
516
+ # resp.failed_entries[0].error_message #=> String
517
+ # resp.successful_entries #=> Array
518
+ # resp.successful_entries[0].entry_id #=> String
519
+ # resp.successful_entries[0].exclude_reason #=> String, one of "AlreadyImplemented", "NotRelevant", "ComplexityOfImplementation"
520
+ # resp.successful_entries[0].excluded #=> Boolean
521
+ # resp.successful_entries[0].item.resource_id #=> String
522
+ # resp.successful_entries[0].item.target_account_id #=> String
523
+ # resp.successful_entries[0].item.target_region #=> String
524
+ # resp.successful_entries[0].reference_id #=> String
525
+ #
526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/BatchUpdateRecommendationStatus AWS API Documentation
527
+ #
528
+ # @overload batch_update_recommendation_status(params = {})
529
+ # @param [Hash] params ({})
530
+ def batch_update_recommendation_status(params = {}, options = {})
531
+ req = build_request(:batch_update_recommendation_status, params)
532
+ req.send_request(options)
533
+ end
534
+
464
535
  # Creates an Resilience Hub application. An Resilience Hub application
465
536
  # is a collection of Amazon Web Services resources structured to prevent
466
- # and recover Amazon Web Services application disruptions. To describe
467
- # an Resilience Hub application, you provide an application name,
468
- # resources from one or more CloudFormation stacks, Resource Groups,
469
- # Terraform state files, AppRegistry applications, and an appropriate
470
- # resiliency policy. For more information about the number of resources
471
- # supported per application, see [Service Quotas][1].
537
+ # and recover Amazon Web Services application disruptions. To describe a
538
+ # Resilience Hub application, you provide an application name, resources
539
+ # from one or more CloudFormation stacks, Resource Groups, Terraform
540
+ # state files, AppRegistry applications, and an appropriate resiliency
541
+ # policy. In addition, you can also add resources that are located on
542
+ # Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional
543
+ # resources. For more information about the number of resources
544
+ # supported per application, see [Service quotas][1].
472
545
  #
473
546
  # After you create an Resilience Hub application, you publish it so that
474
547
  # you can run a resiliency assessment on it. You can then use
@@ -495,12 +568,22 @@ module Aws::ResilienceHub
495
568
  # @option params [String] :description
496
569
  # The optional description for an app.
497
570
  #
571
+ # @option params [Array<Types::EventSubscription>] :event_subscriptions
572
+ # The list of events you would like to subscribe and get notification
573
+ # for. Currently, Resilience Hub supports only **Drift detected** and
574
+ # **Scheduled assessment failure** events notification.
575
+ #
498
576
  # @option params [required, String] :name
499
- # The name for the application.
577
+ # Name of the application.
578
+ #
579
+ # @option params [Types::PermissionModel] :permission_model
580
+ # Defines the roles and credentials that Resilience Hub would use while
581
+ # creating the application, importing its resources, and running an
582
+ # assessment.
500
583
  #
501
584
  # @option params [String] :policy_arn
502
- # The Amazon Resource Name (ARN) of the resiliency policy. The format
503
- # for this ARN is:
585
+ # Amazon Resource Name (ARN) of the resiliency policy. The format for
586
+ # this ARN is:
504
587
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
505
588
  # For more information about ARNs, see [ Amazon Resource Names
506
589
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -510,9 +593,8 @@ module Aws::ResilienceHub
510
593
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
511
594
  #
512
595
  # @option params [Hash<String,String>] :tags
513
- # The tags assigned to the resource. A tag is a label that you assign to
514
- # an Amazon Web Services resource. Each tag consists of a key/value
515
- # pair.
596
+ # Tags assigned to the resource. A tag is a label that you assign to an
597
+ # Amazon Web Services resource. Each tag consists of a key/value pair.
516
598
  #
517
599
  # @return [Types::CreateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
518
600
  #
@@ -524,7 +606,19 @@ module Aws::ResilienceHub
524
606
  # assessment_schedule: "Disabled", # accepts Disabled, Daily
525
607
  # client_token: "ClientToken",
526
608
  # description: "EntityDescription",
609
+ # event_subscriptions: [
610
+ # {
611
+ # event_type: "ScheduledAssessmentFailure", # required, accepts ScheduledAssessmentFailure, DriftDetected
612
+ # name: "String255", # required
613
+ # sns_topic_arn: "Arn",
614
+ # },
615
+ # ],
527
616
  # name: "EntityName", # required
617
+ # permission_model: {
618
+ # cross_account_role_arns: ["IamRoleArn"],
619
+ # invoker_role_name: "IamRoleName",
620
+ # type: "LegacyIAMUser", # required, accepts LegacyIAMUser, RoleBased
621
+ # },
528
622
  # policy_arn: "Arn",
529
623
  # tags: {
530
624
  # "TagKey" => "TagValue",
@@ -538,9 +632,19 @@ module Aws::ResilienceHub
538
632
  # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
539
633
  # resp.app.creation_time #=> Time
540
634
  # resp.app.description #=> String
635
+ # resp.app.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
636
+ # resp.app.event_subscriptions #=> Array
637
+ # resp.app.event_subscriptions[0].event_type #=> String, one of "ScheduledAssessmentFailure", "DriftDetected"
638
+ # resp.app.event_subscriptions[0].name #=> String
639
+ # resp.app.event_subscriptions[0].sns_topic_arn #=> String
541
640
  # resp.app.last_app_compliance_evaluation_time #=> Time
641
+ # resp.app.last_drift_evaluation_time #=> Time
542
642
  # resp.app.last_resiliency_score_evaluation_time #=> Time
543
643
  # resp.app.name #=> String
644
+ # resp.app.permission_model.cross_account_role_arns #=> Array
645
+ # resp.app.permission_model.cross_account_role_arns[0] #=> String
646
+ # resp.app.permission_model.invoker_role_name #=> String
647
+ # resp.app.permission_model.type #=> String, one of "LegacyIAMUser", "RoleBased"
544
648
  # resp.app.policy_arn #=> String
545
649
  # resp.app.resiliency_score #=> Float
546
650
  # resp.app.status #=> String, one of "Active", "Deleting"
@@ -569,7 +673,7 @@ module Aws::ResilienceHub
569
673
  # Application Components.
570
674
  #
571
675
  # @option params [required, String] :app_arn
572
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
676
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
573
677
  # format for this ARN is:
574
678
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
575
679
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -588,15 +692,14 @@ module Aws::ResilienceHub
588
692
  # not need to pass this option.**
589
693
  #
590
694
  # @option params [String] :id
591
- # The identifier of the Application Component.
695
+ # Identifier of the Application Component.
592
696
  #
593
697
  # @option params [required, String] :name
594
- # The name of the Application Component.
698
+ # Name of the Application Component.
595
699
  #
596
700
  # @option params [required, String] :type
597
- # The type of Application Component. For more information about the
598
- # types of Application Component, see [Grouping resources in an
599
- # AppComponent][1].
701
+ # Type of Application Component. For more information about the types of
702
+ # Application Component, see [Grouping resources in an AppComponent][1].
600
703
  #
601
704
  #
602
705
  #
@@ -662,7 +765,7 @@ module Aws::ResilienceHub
662
765
  # Currently, there is no supported additional information for resources.
663
766
  #
664
767
  # @option params [required, String] :app_arn
665
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
768
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
666
769
  # format for this ARN is:
667
770
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
668
771
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -673,15 +776,15 @@ module Aws::ResilienceHub
673
776
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
674
777
  #
675
778
  # @option params [required, Array<String>] :app_components
676
- # The list of Application Components that this resource belongs to. If
677
- # an Application Component is not part of the Resilience Hub
678
- # application, it will be added.
779
+ # List of Application Components that this resource belongs to. If an
780
+ # Application Component is not part of the Resilience Hub application,
781
+ # it will be added.
679
782
  #
680
783
  # @option params [String] :aws_account_id
681
- # The Amazon Web Services account that owns the physical resource.
784
+ # Amazon Web Services account that owns the physical resource.
682
785
  #
683
786
  # @option params [String] :aws_region
684
- # The Amazon Web Services region that owns the physical resource.
787
+ # Amazon Web Services region that owns the physical resource.
685
788
  #
686
789
  # @option params [String] :client_token
687
790
  # Used for an idempotency token. A client token is a unique,
@@ -692,16 +795,16 @@ module Aws::ResilienceHub
692
795
  # not need to pass this option.**
693
796
  #
694
797
  # @option params [required, Types::LogicalResourceId] :logical_resource_id
695
- # The logical identifier of the resource.
798
+ # Logical identifier of the resource.
696
799
  #
697
800
  # @option params [required, String] :physical_resource_id
698
- # The physical identifier of the resource.
801
+ # Physical identifier of the resource.
699
802
  #
700
803
  # @option params [String] :resource_name
701
- # The name of the resource.
804
+ # Name of the resource.
702
805
  #
703
806
  # @option params [required, String] :resource_type
704
- # The type of resource.
807
+ # Type of resource.
705
808
  #
706
809
  # @return [Types::CreateAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
707
810
  #
@@ -774,8 +877,8 @@ module Aws::ResilienceHub
774
877
  # application.
775
878
  #
776
879
  # @option params [required, String] :assessment_arn
777
- # The Amazon Resource Name (ARN) of the assessment. The format for this
778
- # ARN is:
880
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
881
+ # is:
779
882
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
780
883
  # For more information about ARNs, see [ Amazon Resource Names
781
884
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -831,9 +934,8 @@ module Aws::ResilienceHub
831
934
  # : The template is a TestRecommendation template.
832
935
  #
833
936
  # @option params [Hash<String,String>] :tags
834
- # The tags assigned to the resource. A tag is a label that you assign to
835
- # an Amazon Web Services resource. Each tag consists of a key/value
836
- # pair.
937
+ # Tags assigned to the resource. A tag is a label that you assign to an
938
+ # Amazon Web Services resource. Each tag consists of a key/value pair.
837
939
  #
838
940
  # @return [Types::CreateRecommendationTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
839
941
  #
@@ -909,9 +1011,8 @@ module Aws::ResilienceHub
909
1011
  # The name of the policy
910
1012
  #
911
1013
  # @option params [Hash<String,String>] :tags
912
- # The tags assigned to the resource. A tag is a label that you assign to
913
- # an Amazon Web Services resource. Each tag consists of a key/value
914
- # pair.
1014
+ # Tags assigned to the resource. A tag is a label that you assign to an
1015
+ # Amazon Web Services resource. Each tag consists of a key/value pair.
915
1016
  #
916
1017
  # @option params [required, String] :tier
917
1018
  # The tier for this resiliency policy, ranging from the highest severity
@@ -937,7 +1038,7 @@ module Aws::ResilienceHub
937
1038
  # tags: {
938
1039
  # "TagKey" => "TagValue",
939
1040
  # },
940
- # tier: "MissionCritical", # required, accepts MissionCritical, Critical, Important, CoreServices, NonCritical
1041
+ # tier: "MissionCritical", # required, accepts MissionCritical, Critical, Important, CoreServices, NonCritical, NotApplicable
941
1042
  # })
942
1043
  #
943
1044
  # @example Response structure
@@ -953,7 +1054,7 @@ module Aws::ResilienceHub
953
1054
  # resp.policy.policy_name #=> String
954
1055
  # resp.policy.tags #=> Hash
955
1056
  # resp.policy.tags["TagKey"] #=> String
956
- # resp.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical"
1057
+ # resp.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical", "NotApplicable"
957
1058
  #
958
1059
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateResiliencyPolicy AWS API Documentation
959
1060
  #
@@ -968,7 +1069,7 @@ module Aws::ResilienceHub
968
1069
  # that can't be undone.
969
1070
  #
970
1071
  # @option params [required, String] :app_arn
971
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1072
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
972
1073
  # format for this ARN is:
973
1074
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
974
1075
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1019,8 +1120,8 @@ module Aws::ResilienceHub
1019
1120
  # destructive action that can't be undone.
1020
1121
  #
1021
1122
  # @option params [required, String] :assessment_arn
1022
- # The Amazon Resource Name (ARN) of the assessment. The format for this
1023
- # ARN is:
1123
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
1124
+ # is:
1024
1125
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
1025
1126
  # For more information about ARNs, see [ Amazon Resource Names
1026
1127
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -1067,7 +1168,7 @@ module Aws::ResilienceHub
1067
1168
  # Resilience Hub application.
1068
1169
  #
1069
1170
  # @option params [required, String] :app_arn
1070
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1171
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1071
1172
  # format for this ARN is:
1072
1173
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1073
1174
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1156,7 +1257,7 @@ module Aws::ResilienceHub
1156
1257
  # </note>
1157
1258
  #
1158
1259
  # @option params [required, String] :app_arn
1159
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1260
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1160
1261
  # format for this ARN is:
1161
1262
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1162
1263
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1175,7 +1276,7 @@ module Aws::ResilienceHub
1175
1276
  # not need to pass this option.**
1176
1277
  #
1177
1278
  # @option params [required, String] :id
1178
- # The identifier of the Application Component.
1279
+ # Identifier of the Application Component.
1179
1280
  #
1180
1281
  # @return [Types::DeleteAppVersionAppComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1181
1282
  #
@@ -1227,7 +1328,7 @@ module Aws::ResilienceHub
1227
1328
  # </note>
1228
1329
  #
1229
1330
  # @option params [required, String] :app_arn
1230
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1331
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1231
1332
  # format for this ARN is:
1232
1333
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1233
1334
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1238,10 +1339,10 @@ module Aws::ResilienceHub
1238
1339
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1239
1340
  #
1240
1341
  # @option params [String] :aws_account_id
1241
- # The Amazon Web Services account that owns the physical resource.
1342
+ # Amazon Web Services account that owns the physical resource.
1242
1343
  #
1243
1344
  # @option params [String] :aws_region
1244
- # The Amazon Web Services region that owns the physical resource.
1345
+ # Amazon Web Services region that owns the physical resource.
1245
1346
  #
1246
1347
  # @option params [String] :client_token
1247
1348
  # Used for an idempotency token. A client token is a unique,
@@ -1252,13 +1353,13 @@ module Aws::ResilienceHub
1252
1353
  # not need to pass this option.**
1253
1354
  #
1254
1355
  # @option params [Types::LogicalResourceId] :logical_resource_id
1255
- # The logical identifier of the resource.
1356
+ # Logical identifier of the resource.
1256
1357
  #
1257
1358
  # @option params [String] :physical_resource_id
1258
- # The physical identifier of the resource.
1359
+ # Physical identifier of the resource.
1259
1360
  #
1260
1361
  # @option params [String] :resource_name
1261
- # The name of the resource.
1362
+ # Name of the resource.
1262
1363
  #
1263
1364
  # @return [Types::DeleteAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1264
1365
  #
@@ -1374,8 +1475,8 @@ module Aws::ResilienceHub
1374
1475
  # not need to pass this option.**
1375
1476
  #
1376
1477
  # @option params [required, String] :policy_arn
1377
- # The Amazon Resource Name (ARN) of the resiliency policy. The format
1378
- # for this ARN is:
1478
+ # Amazon Resource Name (ARN) of the resiliency policy. The format for
1479
+ # this ARN is:
1379
1480
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
1380
1481
  # For more information about ARNs, see [ Amazon Resource Names
1381
1482
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -1411,7 +1512,7 @@ module Aws::ResilienceHub
1411
1512
  # Describes an Resilience Hub application.
1412
1513
  #
1413
1514
  # @option params [required, String] :app_arn
1414
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1515
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1415
1516
  # format for this ARN is:
1416
1517
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1417
1518
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1438,9 +1539,19 @@ module Aws::ResilienceHub
1438
1539
  # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
1439
1540
  # resp.app.creation_time #=> Time
1440
1541
  # resp.app.description #=> String
1542
+ # resp.app.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
1543
+ # resp.app.event_subscriptions #=> Array
1544
+ # resp.app.event_subscriptions[0].event_type #=> String, one of "ScheduledAssessmentFailure", "DriftDetected"
1545
+ # resp.app.event_subscriptions[0].name #=> String
1546
+ # resp.app.event_subscriptions[0].sns_topic_arn #=> String
1441
1547
  # resp.app.last_app_compliance_evaluation_time #=> Time
1548
+ # resp.app.last_drift_evaluation_time #=> Time
1442
1549
  # resp.app.last_resiliency_score_evaluation_time #=> Time
1443
1550
  # resp.app.name #=> String
1551
+ # resp.app.permission_model.cross_account_role_arns #=> Array
1552
+ # resp.app.permission_model.cross_account_role_arns[0] #=> String
1553
+ # resp.app.permission_model.invoker_role_name #=> String
1554
+ # resp.app.permission_model.type #=> String, one of "LegacyIAMUser", "RoleBased"
1444
1555
  # resp.app.policy_arn #=> String
1445
1556
  # resp.app.resiliency_score #=> Float
1446
1557
  # resp.app.status #=> String, one of "Active", "Deleting"
@@ -1459,8 +1570,8 @@ module Aws::ResilienceHub
1459
1570
  # Describes an assessment for an Resilience Hub application.
1460
1571
  #
1461
1572
  # @option params [required, String] :assessment_arn
1462
- # The Amazon Resource Name (ARN) of the assessment. The format for this
1463
- # ARN is:
1573
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
1574
+ # is:
1464
1575
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
1465
1576
  # For more information about ARNs, see [ Amazon Resource Names
1466
1577
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -1501,6 +1612,7 @@ module Aws::ResilienceHub
1501
1612
  # resp.assessment.cost.amount #=> Float
1502
1613
  # resp.assessment.cost.currency #=> String
1503
1614
  # resp.assessment.cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
1615
+ # resp.assessment.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
1504
1616
  # resp.assessment.end_time #=> Time
1505
1617
  # resp.assessment.invoker #=> String, one of "User", "System"
1506
1618
  # resp.assessment.message #=> String
@@ -1515,7 +1627,7 @@ module Aws::ResilienceHub
1515
1627
  # resp.assessment.policy.policy_name #=> String
1516
1628
  # resp.assessment.policy.tags #=> Hash
1517
1629
  # resp.assessment.policy.tags["TagKey"] #=> String
1518
- # resp.assessment.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical"
1630
+ # resp.assessment.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical", "NotApplicable"
1519
1631
  # resp.assessment.resiliency_score.disruption_score #=> Hash
1520
1632
  # resp.assessment.resiliency_score.disruption_score["DisruptionType"] #=> Float
1521
1633
  # resp.assessment.resiliency_score.score #=> Float
@@ -1527,6 +1639,7 @@ module Aws::ResilienceHub
1527
1639
  # resp.assessment.start_time #=> Time
1528
1640
  # resp.assessment.tags #=> Hash
1529
1641
  # resp.assessment.tags["TagKey"] #=> String
1642
+ # resp.assessment.version_name #=> String
1530
1643
  #
1531
1644
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppAssessment AWS API Documentation
1532
1645
  #
@@ -1540,7 +1653,7 @@ module Aws::ResilienceHub
1540
1653
  # Describes the Resilience Hub application version.
1541
1654
  #
1542
1655
  # @option params [required, String] :app_arn
1543
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1656
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1544
1657
  # format for this ARN is:
1545
1658
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1546
1659
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1551,7 +1664,7 @@ module Aws::ResilienceHub
1551
1664
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1552
1665
  #
1553
1666
  # @option params [required, String] :app_version
1554
- # The Resilience Hub application version.
1667
+ # Resilience Hub application version.
1555
1668
  #
1556
1669
  # @return [Types::DescribeAppVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1557
1670
  #
@@ -1586,7 +1699,7 @@ module Aws::ResilienceHub
1586
1699
  # Describes an Application Component in the Resilience Hub application.
1587
1700
  #
1588
1701
  # @option params [required, String] :app_arn
1589
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1702
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1590
1703
  # format for this ARN is:
1591
1704
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1592
1705
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1597,10 +1710,10 @@ module Aws::ResilienceHub
1597
1710
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1598
1711
  #
1599
1712
  # @option params [required, String] :app_version
1600
- # The Resilience Hub application version.
1713
+ # Resilience Hub application version.
1601
1714
  #
1602
1715
  # @option params [required, String] :id
1603
- # The identifier of the Application Component.
1716
+ # Identifier of the Application Component.
1604
1717
  #
1605
1718
  # @return [Types::DescribeAppVersionAppComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1606
1719
  #
@@ -1651,7 +1764,7 @@ module Aws::ResilienceHub
1651
1764
  # </note>
1652
1765
  #
1653
1766
  # @option params [required, String] :app_arn
1654
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1767
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1655
1768
  # format for this ARN is:
1656
1769
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1657
1770
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1662,22 +1775,22 @@ module Aws::ResilienceHub
1662
1775
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1663
1776
  #
1664
1777
  # @option params [required, String] :app_version
1665
- # The Resilience Hub application version.
1778
+ # Resilience Hub application version.
1666
1779
  #
1667
1780
  # @option params [String] :aws_account_id
1668
- # The Amazon Web Services account that owns the physical resource.
1781
+ # Amazon Web Services account that owns the physical resource.
1669
1782
  #
1670
1783
  # @option params [String] :aws_region
1671
- # The Amazon Web Services region that owns the physical resource.
1784
+ # Amazon Web Services region that owns the physical resource.
1672
1785
  #
1673
1786
  # @option params [Types::LogicalResourceId] :logical_resource_id
1674
- # The logical identifier of the resource.
1787
+ # Logical identifier of the resource.
1675
1788
  #
1676
1789
  # @option params [String] :physical_resource_id
1677
- # The physical identifier of the resource.
1790
+ # Physical identifier of the resource.
1678
1791
  #
1679
1792
  # @option params [String] :resource_name
1680
- # The name of the resource.
1793
+ # Name of the resource.
1681
1794
  #
1682
1795
  # @return [Types::DescribeAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1683
1796
  #
@@ -1746,7 +1859,7 @@ module Aws::ResilienceHub
1746
1859
  # current resolution status is returned.
1747
1860
  #
1748
1861
  # @option params [required, String] :app_arn
1749
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1862
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1750
1863
  # format for this ARN is:
1751
1864
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1752
1865
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1798,7 +1911,7 @@ module Aws::ResilienceHub
1798
1911
  # Describes details about an Resilience Hub application.
1799
1912
  #
1800
1913
  # @option params [required, String] :app_arn
1801
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1914
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1802
1915
  # format for this ARN is:
1803
1916
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1804
1917
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1850,7 +1963,7 @@ module Aws::ResilienceHub
1850
1963
  # </note>
1851
1964
  #
1852
1965
  # @option params [required, String] :app_arn
1853
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1966
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1854
1967
  # format for this ARN is:
1855
1968
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1856
1969
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1897,8 +2010,8 @@ module Aws::ResilienceHub
1897
2010
  # tags, tier, and more.
1898
2011
  #
1899
2012
  # @option params [required, String] :policy_arn
1900
- # The Amazon Resource Name (ARN) of the resiliency policy. The format
1901
- # for this ARN is:
2013
+ # Amazon Resource Name (ARN) of the resiliency policy. The format for
2014
+ # this ARN is:
1902
2015
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
1903
2016
  # For more information about ARNs, see [ Amazon Resource Names
1904
2017
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -1930,7 +2043,7 @@ module Aws::ResilienceHub
1930
2043
  # resp.policy.policy_name #=> String
1931
2044
  # resp.policy.tags #=> Hash
1932
2045
  # resp.policy.tags["TagKey"] #=> String
1933
- # resp.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical"
2046
+ # resp.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical", "NotApplicable"
1934
2047
  #
1935
2048
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResiliencyPolicy AWS API Documentation
1936
2049
  #
@@ -1951,7 +2064,7 @@ module Aws::ResilienceHub
1951
2064
  # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html
1952
2065
  #
1953
2066
  # @option params [required, String] :app_arn
1954
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2067
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1955
2068
  # format for this ARN is:
1956
2069
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1957
2070
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2029,8 +2142,8 @@ module Aws::ResilienceHub
2029
2142
  # Lists the alarm recommendations for an Resilience Hub application.
2030
2143
  #
2031
2144
  # @option params [required, String] :assessment_arn
2032
- # The Amazon Resource Name (ARN) of the assessment. The format for this
2033
- # ARN is:
2145
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
2146
+ # is:
2034
2147
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2035
2148
  # For more information about ARNs, see [ Amazon Resource Names
2036
2149
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -2040,10 +2153,9 @@ module Aws::ResilienceHub
2040
2153
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2041
2154
  #
2042
2155
  # @option params [Integer] :max_results
2043
- # The maximum number of results to include in the response. If more
2044
- # results exist than the specified `MaxResults` value, a token is
2045
- # included in the response so that the remaining results can be
2046
- # retrieved.
2156
+ # Maximum number of results to include in the response. If more results
2157
+ # exist than the specified `MaxResults` value, a token is included in
2158
+ # the response so that the remaining results can be retrieved.
2047
2159
  #
2048
2160
  # @option params [String] :next_token
2049
2161
  # Null, or the token from a previous call to get the next set of
@@ -2068,9 +2180,13 @@ module Aws::ResilienceHub
2068
2180
  #
2069
2181
  # resp.alarm_recommendations #=> Array
2070
2182
  # resp.alarm_recommendations[0].app_component_name #=> String
2183
+ # resp.alarm_recommendations[0].app_component_names #=> Array
2184
+ # resp.alarm_recommendations[0].app_component_names[0] #=> String
2071
2185
  # resp.alarm_recommendations[0].description #=> String
2072
2186
  # resp.alarm_recommendations[0].items #=> Array
2073
2187
  # resp.alarm_recommendations[0].items[0].already_implemented #=> Boolean
2188
+ # resp.alarm_recommendations[0].items[0].exclude_reason #=> String, one of "AlreadyImplemented", "NotRelevant", "ComplexityOfImplementation"
2189
+ # resp.alarm_recommendations[0].items[0].excluded #=> Boolean
2074
2190
  # resp.alarm_recommendations[0].items[0].resource_id #=> String
2075
2191
  # resp.alarm_recommendations[0].items[0].target_account_id #=> String
2076
2192
  # resp.alarm_recommendations[0].items[0].target_region #=> String
@@ -2090,11 +2206,92 @@ module Aws::ResilienceHub
2090
2206
  req.send_request(options)
2091
2207
  end
2092
2208
 
2209
+ # List of compliance drifts that were detected while running an
2210
+ # assessment.
2211
+ #
2212
+ # @option params [required, String] :assessment_arn
2213
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
2214
+ # is:
2215
+ # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2216
+ # For more information about ARNs, see [ Amazon Resource Names
2217
+ # (ARNs)][1] in the *AWS General Reference* guide.
2218
+ #
2219
+ #
2220
+ #
2221
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2222
+ #
2223
+ # @option params [Integer] :max_results
2224
+ # Indicates the maximum number of applications requested.
2225
+ #
2226
+ # @option params [String] :next_token
2227
+ # Indicates the unique token number of the next application to be
2228
+ # checked for compliance and regulatory requirements from the list of
2229
+ # applications.
2230
+ #
2231
+ # @return [Types::ListAppAssessmentComplianceDriftsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2232
+ #
2233
+ # * {Types::ListAppAssessmentComplianceDriftsResponse#compliance_drifts #compliance_drifts} => Array&lt;Types::ComplianceDrift&gt;
2234
+ # * {Types::ListAppAssessmentComplianceDriftsResponse#next_token #next_token} => String
2235
+ #
2236
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2237
+ #
2238
+ # @example Request syntax with placeholder values
2239
+ #
2240
+ # resp = client.list_app_assessment_compliance_drifts({
2241
+ # assessment_arn: "Arn", # required
2242
+ # max_results: 1,
2243
+ # next_token: "NextToken",
2244
+ # })
2245
+ #
2246
+ # @example Response structure
2247
+ #
2248
+ # resp.compliance_drifts #=> Array
2249
+ # resp.compliance_drifts[0].actual_reference_id #=> String
2250
+ # resp.compliance_drifts[0].actual_value #=> Hash
2251
+ # resp.compliance_drifts[0].actual_value["DisruptionType"].achievable_rpo_in_secs #=> Integer
2252
+ # resp.compliance_drifts[0].actual_value["DisruptionType"].achievable_rto_in_secs #=> Integer
2253
+ # resp.compliance_drifts[0].actual_value["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
2254
+ # resp.compliance_drifts[0].actual_value["DisruptionType"].current_rpo_in_secs #=> Integer
2255
+ # resp.compliance_drifts[0].actual_value["DisruptionType"].current_rto_in_secs #=> Integer
2256
+ # resp.compliance_drifts[0].actual_value["DisruptionType"].message #=> String
2257
+ # resp.compliance_drifts[0].actual_value["DisruptionType"].rpo_description #=> String
2258
+ # resp.compliance_drifts[0].actual_value["DisruptionType"].rpo_reference_id #=> String
2259
+ # resp.compliance_drifts[0].actual_value["DisruptionType"].rto_description #=> String
2260
+ # resp.compliance_drifts[0].actual_value["DisruptionType"].rto_reference_id #=> String
2261
+ # resp.compliance_drifts[0].app_id #=> String
2262
+ # resp.compliance_drifts[0].app_version #=> String
2263
+ # resp.compliance_drifts[0].diff_type #=> String, one of "NotEqual"
2264
+ # resp.compliance_drifts[0].drift_type #=> String, one of "ApplicationCompliance"
2265
+ # resp.compliance_drifts[0].entity_id #=> String
2266
+ # resp.compliance_drifts[0].entity_type #=> String
2267
+ # resp.compliance_drifts[0].expected_reference_id #=> String
2268
+ # resp.compliance_drifts[0].expected_value #=> Hash
2269
+ # resp.compliance_drifts[0].expected_value["DisruptionType"].achievable_rpo_in_secs #=> Integer
2270
+ # resp.compliance_drifts[0].expected_value["DisruptionType"].achievable_rto_in_secs #=> Integer
2271
+ # resp.compliance_drifts[0].expected_value["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
2272
+ # resp.compliance_drifts[0].expected_value["DisruptionType"].current_rpo_in_secs #=> Integer
2273
+ # resp.compliance_drifts[0].expected_value["DisruptionType"].current_rto_in_secs #=> Integer
2274
+ # resp.compliance_drifts[0].expected_value["DisruptionType"].message #=> String
2275
+ # resp.compliance_drifts[0].expected_value["DisruptionType"].rpo_description #=> String
2276
+ # resp.compliance_drifts[0].expected_value["DisruptionType"].rpo_reference_id #=> String
2277
+ # resp.compliance_drifts[0].expected_value["DisruptionType"].rto_description #=> String
2278
+ # resp.compliance_drifts[0].expected_value["DisruptionType"].rto_reference_id #=> String
2279
+ # resp.next_token #=> String
2280
+ #
2281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessmentComplianceDrifts AWS API Documentation
2282
+ #
2283
+ # @overload list_app_assessment_compliance_drifts(params = {})
2284
+ # @param [Hash] params ({})
2285
+ def list_app_assessment_compliance_drifts(params = {}, options = {})
2286
+ req = build_request(:list_app_assessment_compliance_drifts, params)
2287
+ req.send_request(options)
2288
+ end
2289
+
2093
2290
  # Lists the assessments for an Resilience Hub application. You can use
2094
2291
  # request parameters to refine the results for the response object.
2095
2292
  #
2096
2293
  # @option params [String] :app_arn
2097
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2294
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2098
2295
  # format for this ARN is:
2099
2296
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2100
2297
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2118,10 +2315,9 @@ module Aws::ResilienceHub
2118
2315
  # `User` or the `System`.
2119
2316
  #
2120
2317
  # @option params [Integer] :max_results
2121
- # The maximum number of results to include in the response. If more
2122
- # results exist than the specified `MaxResults` value, a token is
2123
- # included in the response so that the remaining results can be
2124
- # retrieved.
2318
+ # Maximum number of results to include in the response. If more results
2319
+ # exist than the specified `MaxResults` value, a token is included in
2320
+ # the response so that the remaining results can be retrieved.
2125
2321
  #
2126
2322
  # @option params [String] :next_token
2127
2323
  # Null, or the token from a previous call to get the next set of
@@ -2163,11 +2359,13 @@ module Aws::ResilienceHub
2163
2359
  # resp.assessment_summaries[0].cost.amount #=> Float
2164
2360
  # resp.assessment_summaries[0].cost.currency #=> String
2165
2361
  # resp.assessment_summaries[0].cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
2362
+ # resp.assessment_summaries[0].drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
2166
2363
  # resp.assessment_summaries[0].end_time #=> Time
2167
2364
  # resp.assessment_summaries[0].invoker #=> String, one of "User", "System"
2168
2365
  # resp.assessment_summaries[0].message #=> String
2169
2366
  # resp.assessment_summaries[0].resiliency_score #=> Float
2170
2367
  # resp.assessment_summaries[0].start_time #=> Time
2368
+ # resp.assessment_summaries[0].version_name #=> String
2171
2369
  # resp.next_token #=> String
2172
2370
  #
2173
2371
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessments AWS API Documentation
@@ -2182,8 +2380,8 @@ module Aws::ResilienceHub
2182
2380
  # Lists the compliances for an Resilience Hub Application Component.
2183
2381
  #
2184
2382
  # @option params [required, String] :assessment_arn
2185
- # The Amazon Resource Name (ARN) of the assessment. The format for this
2186
- # ARN is:
2383
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
2384
+ # is:
2187
2385
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2188
2386
  # For more information about ARNs, see [ Amazon Resource Names
2189
2387
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -2193,10 +2391,9 @@ module Aws::ResilienceHub
2193
2391
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2194
2392
  #
2195
2393
  # @option params [Integer] :max_results
2196
- # The maximum number of results to include in the response. If more
2197
- # results exist than the specified `MaxResults` value, a token is
2198
- # included in the response so that the remaining results can be
2199
- # retrieved.
2394
+ # Maximum number of results to include in the response. If more results
2395
+ # exist than the specified `MaxResults` value, a token is included in
2396
+ # the response so that the remaining results can be retrieved.
2200
2397
  #
2201
2398
  # @option params [String] :next_token
2202
2399
  # Null, or the token from a previous call to get the next set of
@@ -2254,8 +2451,8 @@ module Aws::ResilienceHub
2254
2451
  # Lists the recommendations for an Resilience Hub Application Component.
2255
2452
  #
2256
2453
  # @option params [required, String] :assessment_arn
2257
- # The Amazon Resource Name (ARN) of the assessment. The format for this
2258
- # ARN is:
2454
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
2455
+ # is:
2259
2456
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2260
2457
  # For more information about ARNs, see [ Amazon Resource Names
2261
2458
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -2265,10 +2462,9 @@ module Aws::ResilienceHub
2265
2462
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2266
2463
  #
2267
2464
  # @option params [Integer] :max_results
2268
- # The maximum number of results to include in the response. If more
2269
- # results exist than the specified `MaxResults` value, a token is
2270
- # included in the response so that the remaining results can be
2271
- # retrieved.
2465
+ # Maximum number of results to include in the response. If more results
2466
+ # exist than the specified `MaxResults` value, a token is included in
2467
+ # the response so that the remaining results can be retrieved.
2272
2468
  #
2273
2469
  # @option params [String] :next_token
2274
2470
  # Null, or the token from a previous call to get the next set of
@@ -2344,7 +2540,7 @@ module Aws::ResilienceHub
2344
2540
  # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html
2345
2541
  #
2346
2542
  # @option params [required, String] :app_arn
2347
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2543
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2348
2544
  # format for this ARN is:
2349
2545
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2350
2546
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2355,7 +2551,7 @@ module Aws::ResilienceHub
2355
2551
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2356
2552
  #
2357
2553
  # @option params [required, String] :app_version
2358
- # The Resilience Hub application version.
2554
+ # Resilience Hub application version.
2359
2555
  #
2360
2556
  # @option params [Integer] :max_results
2361
2557
  # Maximum number of input sources to be displayed per Resilience Hub
@@ -2406,7 +2602,7 @@ module Aws::ResilienceHub
2406
2602
  # application.
2407
2603
  #
2408
2604
  # @option params [required, String] :app_arn
2409
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2605
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2410
2606
  # format for this ARN is:
2411
2607
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2412
2608
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2417,7 +2613,7 @@ module Aws::ResilienceHub
2417
2613
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2418
2614
  #
2419
2615
  # @option params [required, String] :app_version
2420
- # The version of the Application Component.
2616
+ # Version of the Application Component.
2421
2617
  #
2422
2618
  # @option params [Integer] :max_results
2423
2619
  # Maximum number of Application Components to be displayed per
@@ -2472,7 +2668,7 @@ module Aws::ResilienceHub
2472
2668
  # stacks, resource-groups, or an application registry app.
2473
2669
  #
2474
2670
  # @option params [required, String] :app_arn
2475
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2671
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2476
2672
  # format for this ARN is:
2477
2673
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2478
2674
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2486,10 +2682,9 @@ module Aws::ResilienceHub
2486
2682
  # The version of the application.
2487
2683
  #
2488
2684
  # @option params [Integer] :max_results
2489
- # The maximum number of results to include in the response. If more
2490
- # results exist than the specified `MaxResults` value, a token is
2491
- # included in the response so that the remaining results can be
2492
- # retrieved.
2685
+ # Maximum number of results to include in the response. If more results
2686
+ # exist than the specified `MaxResults` value, a token is included in
2687
+ # the response so that the remaining results can be retrieved.
2493
2688
  #
2494
2689
  # @option params [String] :next_token
2495
2690
  # Null, or the token from a previous call to get the next set of
@@ -2539,7 +2734,7 @@ module Aws::ResilienceHub
2539
2734
  # Lists all the resources in an Resilience Hub application.
2540
2735
  #
2541
2736
  # @option params [required, String] :app_arn
2542
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2737
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2543
2738
  # format for this ARN is:
2544
2739
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2545
2740
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2553,10 +2748,9 @@ module Aws::ResilienceHub
2553
2748
  # The version of the application.
2554
2749
  #
2555
2750
  # @option params [Integer] :max_results
2556
- # The maximum number of results to include in the response. If more
2557
- # results exist than the specified `MaxResults` value, a token is
2558
- # included in the response so that the remaining results can be
2559
- # retrieved.
2751
+ # Maximum number of results to include in the response. If more results
2752
+ # exist than the specified `MaxResults` value, a token is included in
2753
+ # the response so that the remaining results can be retrieved.
2560
2754
  #
2561
2755
  # @option params [String] :next_token
2562
2756
  # Null, or the token from a previous call to get the next set of
@@ -2625,7 +2819,7 @@ module Aws::ResilienceHub
2625
2819
  # Lists the different versions for the Resilience Hub applications.
2626
2820
  #
2627
2821
  # @option params [required, String] :app_arn
2628
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2822
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2629
2823
  # format for this ARN is:
2630
2824
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2631
2825
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2635,16 +2829,21 @@ module Aws::ResilienceHub
2635
2829
  #
2636
2830
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2637
2831
  #
2832
+ # @option params [Time,DateTime,Date,Integer,String] :end_time
2833
+ # Upper limit of the time range to filter the application versions.
2834
+ #
2638
2835
  # @option params [Integer] :max_results
2639
- # The maximum number of results to include in the response. If more
2640
- # results exist than the specified `MaxResults` value, a token is
2641
- # included in the response so that the remaining results can be
2642
- # retrieved.
2836
+ # Maximum number of results to include in the response. If more results
2837
+ # exist than the specified `MaxResults` value, a token is included in
2838
+ # the response so that the remaining results can be retrieved.
2643
2839
  #
2644
2840
  # @option params [String] :next_token
2645
2841
  # Null, or the token from a previous call to get the next set of
2646
2842
  # results.
2647
2843
  #
2844
+ # @option params [Time,DateTime,Date,Integer,String] :start_time
2845
+ # Lower limit of the time range to filter the application versions.
2846
+ #
2648
2847
  # @return [Types::ListAppVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2649
2848
  #
2650
2849
  # * {Types::ListAppVersionsResponse#app_versions #app_versions} => Array&lt;Types::AppVersionSummary&gt;
@@ -2656,14 +2855,19 @@ module Aws::ResilienceHub
2656
2855
  #
2657
2856
  # resp = client.list_app_versions({
2658
2857
  # app_arn: "Arn", # required
2858
+ # end_time: Time.now,
2659
2859
  # max_results: 1,
2660
2860
  # next_token: "NextToken",
2861
+ # start_time: Time.now,
2661
2862
  # })
2662
2863
  #
2663
2864
  # @example Response structure
2664
2865
  #
2665
2866
  # resp.app_versions #=> Array
2666
2867
  # resp.app_versions[0].app_version #=> String
2868
+ # resp.app_versions[0].creation_time #=> Time
2869
+ # resp.app_versions[0].identifier #=> Integer
2870
+ # resp.app_versions[0].version_name #=> String
2667
2871
  # resp.next_token #=> String
2668
2872
  #
2669
2873
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersions AWS API Documentation
@@ -2687,7 +2891,7 @@ module Aws::ResilienceHub
2687
2891
  # </note>
2688
2892
  #
2689
2893
  # @option params [String] :app_arn
2690
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2894
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2691
2895
  # format for this ARN is:
2692
2896
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2693
2897
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2698,10 +2902,9 @@ module Aws::ResilienceHub
2698
2902
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2699
2903
  #
2700
2904
  # @option params [Integer] :max_results
2701
- # The maximum number of results to include in the response. If more
2702
- # results exist than the specified `MaxResults` value, a token is
2703
- # included in the response so that the remaining results can be
2704
- # retrieved.
2905
+ # Maximum number of results to include in the response. If more results
2906
+ # exist than the specified `MaxResults` value, a token is included in
2907
+ # the response so that the remaining results can be retrieved.
2705
2908
  #
2706
2909
  # @option params [String] :name
2707
2910
  # The name for the one of the listed applications.
@@ -2734,6 +2937,7 @@ module Aws::ResilienceHub
2734
2937
  # resp.app_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
2735
2938
  # resp.app_summaries[0].creation_time #=> Time
2736
2939
  # resp.app_summaries[0].description #=> String
2940
+ # resp.app_summaries[0].drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
2737
2941
  # resp.app_summaries[0].name #=> String
2738
2942
  # resp.app_summaries[0].resiliency_score #=> Float
2739
2943
  # resp.app_summaries[0].status #=> String, one of "Active", "Deleting"
@@ -2752,8 +2956,8 @@ module Aws::ResilienceHub
2752
2956
  # applications.
2753
2957
  #
2754
2958
  # @option params [required, String] :assessment_arn
2755
- # The Amazon Resource Name (ARN) of the assessment. The format for this
2756
- # ARN is:
2959
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
2960
+ # is:
2757
2961
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2758
2962
  # For more information about ARNs, see [ Amazon Resource Names
2759
2963
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -2763,10 +2967,9 @@ module Aws::ResilienceHub
2763
2967
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2764
2968
  #
2765
2969
  # @option params [Integer] :max_results
2766
- # The maximum number of results to include in the response. If more
2767
- # results exist than the specified `MaxResults` value, a token is
2768
- # included in the response so that the remaining results can be
2769
- # retrieved.
2970
+ # Maximum number of results to include in the response. If more results
2971
+ # exist than the specified `MaxResults` value, a token is included in
2972
+ # the response so that the remaining results can be retrieved.
2770
2973
  #
2771
2974
  # @option params [String] :name
2772
2975
  # The name for one of the listed recommendation templates.
@@ -2783,7 +2986,7 @@ module Aws::ResilienceHub
2783
2986
  # descending **startTime**, set reverseOrder to `true`.
2784
2987
  #
2785
2988
  # @option params [Array<String>] :status
2786
- # The status of the action.
2989
+ # Status of the action.
2787
2990
  #
2788
2991
  # @return [Types::ListRecommendationTemplatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2789
2992
  #
@@ -2839,10 +3042,9 @@ module Aws::ResilienceHub
2839
3042
  # Lists the resiliency policies for the Resilience Hub applications.
2840
3043
  #
2841
3044
  # @option params [Integer] :max_results
2842
- # The maximum number of results to include in the response. If more
2843
- # results exist than the specified `MaxResults` value, a token is
2844
- # included in the response so that the remaining results can be
2845
- # retrieved.
3045
+ # Maximum number of results to include in the response. If more results
3046
+ # exist than the specified `MaxResults` value, a token is included in
3047
+ # the response so that the remaining results can be retrieved.
2846
3048
  #
2847
3049
  # @option params [String] :next_token
2848
3050
  # Null, or the token from a previous call to get the next set of
@@ -2881,7 +3083,7 @@ module Aws::ResilienceHub
2881
3083
  # resp.resiliency_policies[0].policy_name #=> String
2882
3084
  # resp.resiliency_policies[0].tags #=> Hash
2883
3085
  # resp.resiliency_policies[0].tags["TagKey"] #=> String
2884
- # resp.resiliency_policies[0].tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical"
3086
+ # resp.resiliency_policies[0].tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical", "NotApplicable"
2885
3087
  #
2886
3088
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPolicies AWS API Documentation
2887
3089
  #
@@ -2896,8 +3098,8 @@ module Aws::ResilienceHub
2896
3098
  # Resilience Hub applications.
2897
3099
  #
2898
3100
  # @option params [required, String] :assessment_arn
2899
- # The Amazon Resource Name (ARN) of the assessment. The format for this
2900
- # ARN is:
3101
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
3102
+ # is:
2901
3103
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2902
3104
  # For more information about ARNs, see [ Amazon Resource Names
2903
3105
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -2907,10 +3109,9 @@ module Aws::ResilienceHub
2907
3109
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2908
3110
  #
2909
3111
  # @option params [Integer] :max_results
2910
- # The maximum number of results to include in the response. If more
2911
- # results exist than the specified `MaxResults` value, a token is
2912
- # included in the response so that the remaining results can be
2913
- # retrieved.
3112
+ # Maximum number of results to include in the response. If more results
3113
+ # exist than the specified `MaxResults` value, a token is included in
3114
+ # the response so that the remaining results can be retrieved.
2914
3115
  #
2915
3116
  # @option params [String] :next_token
2916
3117
  # Null, or the token from a previous call to get the next set of
@@ -2939,6 +3140,8 @@ module Aws::ResilienceHub
2939
3140
  # resp.sop_recommendations[0].description #=> String
2940
3141
  # resp.sop_recommendations[0].items #=> Array
2941
3142
  # resp.sop_recommendations[0].items[0].already_implemented #=> Boolean
3143
+ # resp.sop_recommendations[0].items[0].exclude_reason #=> String, one of "AlreadyImplemented", "NotRelevant", "ComplexityOfImplementation"
3144
+ # resp.sop_recommendations[0].items[0].excluded #=> Boolean
2942
3145
  # resp.sop_recommendations[0].items[0].resource_id #=> String
2943
3146
  # resp.sop_recommendations[0].items[0].target_account_id #=> String
2944
3147
  # resp.sop_recommendations[0].items[0].target_region #=> String
@@ -2961,10 +3164,9 @@ module Aws::ResilienceHub
2961
3164
  # applications.
2962
3165
  #
2963
3166
  # @option params [Integer] :max_results
2964
- # The maximum number of results to include in the response. If more
2965
- # results exist than the specified `MaxResults` value, a token is
2966
- # included in the response so that the remaining results can be
2967
- # retrieved.
3167
+ # Maximum number of results to include in the response. If more results
3168
+ # exist than the specified `MaxResults` value, a token is included in
3169
+ # the response so that the remaining results can be retrieved.
2968
3170
  #
2969
3171
  # @option params [String] :next_token
2970
3172
  # Null, or the token from a previous call to get the next set of
@@ -2999,7 +3201,7 @@ module Aws::ResilienceHub
2999
3201
  # resp.resiliency_policies[0].policy_name #=> String
3000
3202
  # resp.resiliency_policies[0].tags #=> Hash
3001
3203
  # resp.resiliency_policies[0].tags["TagKey"] #=> String
3002
- # resp.resiliency_policies[0].tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical"
3204
+ # resp.resiliency_policies[0].tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical", "NotApplicable"
3003
3205
  #
3004
3206
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSuggestedResiliencyPolicies AWS API Documentation
3005
3207
  #
@@ -3043,8 +3245,8 @@ module Aws::ResilienceHub
3043
3245
  # Lists the test recommendations for the Resilience Hub application.
3044
3246
  #
3045
3247
  # @option params [required, String] :assessment_arn
3046
- # The Amazon Resource Name (ARN) of the assessment. The format for this
3047
- # ARN is:
3248
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
3249
+ # is:
3048
3250
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
3049
3251
  # For more information about ARNs, see [ Amazon Resource Names
3050
3252
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -3054,10 +3256,9 @@ module Aws::ResilienceHub
3054
3256
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3055
3257
  #
3056
3258
  # @option params [Integer] :max_results
3057
- # The maximum number of results to include in the response. If more
3058
- # results exist than the specified `MaxResults` value, a token is
3059
- # included in the response so that the remaining results can be
3060
- # retrieved.
3259
+ # Maximum number of results to include in the response. If more results
3260
+ # exist than the specified `MaxResults` value, a token is included in
3261
+ # the response so that the remaining results can be retrieved.
3061
3262
  #
3062
3263
  # @option params [String] :next_token
3063
3264
  # Null, or the token from a previous call to get the next set of
@@ -3089,6 +3290,8 @@ module Aws::ResilienceHub
3089
3290
  # resp.test_recommendations[0].intent #=> String
3090
3291
  # resp.test_recommendations[0].items #=> Array
3091
3292
  # resp.test_recommendations[0].items[0].already_implemented #=> Boolean
3293
+ # resp.test_recommendations[0].items[0].exclude_reason #=> String, one of "AlreadyImplemented", "NotRelevant", "ComplexityOfImplementation"
3294
+ # resp.test_recommendations[0].items[0].excluded #=> Boolean
3092
3295
  # resp.test_recommendations[0].items[0].resource_id #=> String
3093
3296
  # resp.test_recommendations[0].items[0].target_account_id #=> String
3094
3297
  # resp.test_recommendations[0].items[0].target_region #=> String
@@ -3114,7 +3317,7 @@ module Aws::ResilienceHub
3114
3317
  # Hub.
3115
3318
  #
3116
3319
  # @option params [required, String] :app_arn
3117
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3320
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3118
3321
  # format for this ARN is:
3119
3322
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3120
3323
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3128,10 +3331,9 @@ module Aws::ResilienceHub
3128
3331
  # The version of the application.
3129
3332
  #
3130
3333
  # @option params [Integer] :max_results
3131
- # The maximum number of results to include in the response. If more
3132
- # results exist than the specified `MaxResults` value, a token is
3133
- # included in the response so that the remaining results can be
3134
- # retrieved.
3334
+ # Maximum number of results to include in the response. If more results
3335
+ # exist than the specified `MaxResults` value, a token is included in
3336
+ # the response so that the remaining results can be retrieved.
3135
3337
  #
3136
3338
  # @option params [String] :next_token
3137
3339
  # Null, or the token from a previous call to get the next set of
@@ -3187,7 +3389,7 @@ module Aws::ResilienceHub
3187
3389
  # Publishes a new version of a specific Resilience Hub application.
3188
3390
  #
3189
3391
  # @option params [required, String] :app_arn
3190
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3392
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3191
3393
  # format for this ARN is:
3192
3394
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3193
3395
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3197,21 +3399,29 @@ module Aws::ResilienceHub
3197
3399
  #
3198
3400
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3199
3401
  #
3402
+ # @option params [String] :version_name
3403
+ # Name of the application version.
3404
+ #
3200
3405
  # @return [Types::PublishAppVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3201
3406
  #
3202
3407
  # * {Types::PublishAppVersionResponse#app_arn #app_arn} => String
3203
3408
  # * {Types::PublishAppVersionResponse#app_version #app_version} => String
3409
+ # * {Types::PublishAppVersionResponse#identifier #identifier} => Integer
3410
+ # * {Types::PublishAppVersionResponse#version_name #version_name} => String
3204
3411
  #
3205
3412
  # @example Request syntax with placeholder values
3206
3413
  #
3207
3414
  # resp = client.publish_app_version({
3208
3415
  # app_arn: "Arn", # required
3416
+ # version_name: "EntityVersion",
3209
3417
  # })
3210
3418
  #
3211
3419
  # @example Response structure
3212
3420
  #
3213
3421
  # resp.app_arn #=> String
3214
3422
  # resp.app_version #=> String
3423
+ # resp.identifier #=> Integer
3424
+ # resp.version_name #=> String
3215
3425
  #
3216
3426
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersion AWS API Documentation
3217
3427
  #
@@ -3226,7 +3436,7 @@ module Aws::ResilienceHub
3226
3436
  # draft version.
3227
3437
  #
3228
3438
  # @option params [required, String] :app_arn
3229
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3439
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3230
3440
  # format for this ARN is:
3231
3441
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3232
3442
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3258,7 +3468,7 @@ module Aws::ResilienceHub
3258
3468
  #
3259
3469
  # * <i> <code>logicalResourceId</code> </i>
3260
3470
  #
3261
- # The logical identifier of the resource.
3471
+ # Logical identifier of the resource.
3262
3472
  #
3263
3473
  # Type: Object
3264
3474
  #
@@ -3266,7 +3476,7 @@ module Aws::ResilienceHub
3266
3476
  #
3267
3477
  # * `identifier`
3268
3478
  #
3269
- # The identifier of the resource.
3479
+ # Identifier of the resource.
3270
3480
  #
3271
3481
  # Type: String
3272
3482
  #
@@ -3291,7 +3501,7 @@ module Aws::ResilienceHub
3291
3501
  #
3292
3502
  # * `eksSourceName`
3293
3503
  #
3294
- # The name of the Amazon Elastic Kubernetes Service cluster and
3504
+ # Name of the Amazon Elastic Kubernetes Service cluster and
3295
3505
  # namespace this resource belongs to.
3296
3506
  #
3297
3507
  # <note markdown="1"> This parameter accepts values in "eks-cluster/namespace"
@@ -3332,9 +3542,9 @@ module Aws::ResilienceHub
3332
3542
  #
3333
3543
  # * <b> <code>appComponents</code> </b>
3334
3544
  #
3335
- # The list of Application Components that this resource belongs to. If
3336
- # an Application Component is not part of the Resilience Hub
3337
- # application, it will be added.
3545
+ # List of Application Components that this resource belongs to. If an
3546
+ # Application Component is not part of the Resilience Hub application,
3547
+ # it will be added.
3338
3548
  #
3339
3549
  # Type: Array
3340
3550
  #
@@ -3342,13 +3552,13 @@ module Aws::ResilienceHub
3342
3552
  #
3343
3553
  # * `name`
3344
3554
  #
3345
- # The name of the Application Component.
3555
+ # Name of the Application Component.
3346
3556
  #
3347
3557
  # Type: String
3348
3558
  #
3349
3559
  # * `type`
3350
3560
  #
3351
- # The type of Application Component. For more information about the
3561
+ # Type of Application Component. For more information about the
3352
3562
  # types of Application Component, see [Grouping resources in an
3353
3563
  # AppComponent][2].
3354
3564
  #
@@ -3393,7 +3603,7 @@ module Aws::ResilienceHub
3393
3603
  #
3394
3604
  # * <i> <code>logicalResourceIds</code> </i>
3395
3605
  #
3396
- # The logical identifier of the resource.
3606
+ # Logical identifier of the resource.
3397
3607
  #
3398
3608
  # Type: Object
3399
3609
  #
@@ -3413,7 +3623,7 @@ module Aws::ResilienceHub
3413
3623
  #
3414
3624
  # * `identifier`
3415
3625
  #
3416
- # The identifier of the resource.
3626
+ # Identifier of the resource.
3417
3627
  #
3418
3628
  # Type: String
3419
3629
  #
@@ -3438,7 +3648,7 @@ module Aws::ResilienceHub
3438
3648
  #
3439
3649
  # * `eksSourceName`
3440
3650
  #
3441
- # The name of the Amazon Elastic Kubernetes Service cluster and
3651
+ # Name of the Amazon Elastic Kubernetes Service cluster and
3442
3652
  # namespace this resource belongs to.
3443
3653
  #
3444
3654
  # <note markdown="1"> This parameter accepts values in "eks-cluster/namespace"
@@ -3450,7 +3660,7 @@ module Aws::ResilienceHub
3450
3660
  #
3451
3661
  # * <b> <code>version</code> </b>
3452
3662
  #
3453
- # The Resilience Hub application version.
3663
+ # Resilience Hub application version.
3454
3664
  #
3455
3665
  # * `additionalInfo`
3456
3666
  #
@@ -3503,7 +3713,7 @@ module Aws::ResilienceHub
3503
3713
  # Removes resource mappings from a draft application version.
3504
3714
  #
3505
3715
  # @option params [required, String] :app_arn
3506
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3716
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3507
3717
  # format for this ARN is:
3508
3718
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3509
3719
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3575,7 +3785,7 @@ module Aws::ResilienceHub
3575
3785
  # Resolves the resources for an application version.
3576
3786
  #
3577
3787
  # @option params [required, String] :app_arn
3578
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3788
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3579
3789
  # format for this ARN is:
3580
3790
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3581
3791
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3621,7 +3831,7 @@ module Aws::ResilienceHub
3621
3831
  # Creates a new application assessment for an application.
3622
3832
  #
3623
3833
  # @option params [required, String] :app_arn
3624
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3834
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3625
3835
  # format for this ARN is:
3626
3836
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3627
3837
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3646,9 +3856,8 @@ module Aws::ResilienceHub
3646
3856
  # not need to pass this option.**
3647
3857
  #
3648
3858
  # @option params [Hash<String,String>] :tags
3649
- # The tags assigned to the resource. A tag is a label that you assign to
3650
- # an Amazon Web Services resource. Each tag consists of a key/value
3651
- # pair.
3859
+ # Tags assigned to the resource. A tag is a label that you assign to an
3860
+ # Amazon Web Services resource. Each tag consists of a key/value pair.
3652
3861
  #
3653
3862
  # @return [Types::StartAppAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3654
3863
  #
@@ -3688,6 +3897,7 @@ module Aws::ResilienceHub
3688
3897
  # resp.assessment.cost.amount #=> Float
3689
3898
  # resp.assessment.cost.currency #=> String
3690
3899
  # resp.assessment.cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
3900
+ # resp.assessment.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
3691
3901
  # resp.assessment.end_time #=> Time
3692
3902
  # resp.assessment.invoker #=> String, one of "User", "System"
3693
3903
  # resp.assessment.message #=> String
@@ -3702,7 +3912,7 @@ module Aws::ResilienceHub
3702
3912
  # resp.assessment.policy.policy_name #=> String
3703
3913
  # resp.assessment.policy.tags #=> Hash
3704
3914
  # resp.assessment.policy.tags["TagKey"] #=> String
3705
- # resp.assessment.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical"
3915
+ # resp.assessment.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical", "NotApplicable"
3706
3916
  # resp.assessment.resiliency_score.disruption_score #=> Hash
3707
3917
  # resp.assessment.resiliency_score.disruption_score["DisruptionType"] #=> Float
3708
3918
  # resp.assessment.resiliency_score.score #=> Float
@@ -3714,6 +3924,7 @@ module Aws::ResilienceHub
3714
3924
  # resp.assessment.start_time #=> Time
3715
3925
  # resp.assessment.tags #=> Hash
3716
3926
  # resp.assessment.tags["TagKey"] #=> String
3927
+ # resp.assessment.version_name #=> String
3717
3928
  #
3718
3929
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartAppAssessment AWS API Documentation
3719
3930
  #
@@ -3727,7 +3938,7 @@ module Aws::ResilienceHub
3727
3938
  # Applies one or more tags to a resource.
3728
3939
  #
3729
3940
  # @option params [required, String] :resource_arn
3730
- # The Amazon Resource Name (ARN) of the resource.
3941
+ # Amazon Resource Name (ARN) of the resource.
3731
3942
  #
3732
3943
  # @option params [required, Hash<String,String>] :tags
3733
3944
  # The tags to assign to the resource. Each tag consists of a key/value
@@ -3756,7 +3967,7 @@ module Aws::ResilienceHub
3756
3967
  # Removes one or more tags from a resource.
3757
3968
  #
3758
3969
  # @option params [required, String] :resource_arn
3759
- # The Amazon Resource Name (ARN) of the resource.
3970
+ # Amazon Resource Name (ARN) of the resource.
3760
3971
  #
3761
3972
  # @option params [required, Array<String>] :tag_keys
3762
3973
  # The keys of the tags you want to remove.
@@ -3782,7 +3993,7 @@ module Aws::ResilienceHub
3782
3993
  # Updates an application.
3783
3994
  #
3784
3995
  # @option params [required, String] :app_arn
3785
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3996
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3786
3997
  # format for this ARN is:
3787
3998
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3788
3999
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3801,9 +4012,19 @@ module Aws::ResilienceHub
3801
4012
  # @option params [String] :description
3802
4013
  # The optional description for an app.
3803
4014
  #
4015
+ # @option params [Array<Types::EventSubscription>] :event_subscriptions
4016
+ # The list of events you would like to subscribe and get notification
4017
+ # for. Currently, Resilience Hub supports notifications only for **Drift
4018
+ # detected** and **Scheduled assessment failure** events.
4019
+ #
4020
+ # @option params [Types::PermissionModel] :permission_model
4021
+ # Defines the roles and credentials that Resilience Hub would use while
4022
+ # creating an application, importing its resources, and running an
4023
+ # assessment.
4024
+ #
3804
4025
  # @option params [String] :policy_arn
3805
- # The Amazon Resource Name (ARN) of the resiliency policy. The format
3806
- # for this ARN is:
4026
+ # Amazon Resource Name (ARN) of the resiliency policy. The format for
4027
+ # this ARN is:
3807
4028
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
3808
4029
  # For more information about ARNs, see [ Amazon Resource Names
3809
4030
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -3823,6 +4044,18 @@ module Aws::ResilienceHub
3823
4044
  # assessment_schedule: "Disabled", # accepts Disabled, Daily
3824
4045
  # clear_resiliency_policy_arn: false,
3825
4046
  # description: "EntityDescription",
4047
+ # event_subscriptions: [
4048
+ # {
4049
+ # event_type: "ScheduledAssessmentFailure", # required, accepts ScheduledAssessmentFailure, DriftDetected
4050
+ # name: "String255", # required
4051
+ # sns_topic_arn: "Arn",
4052
+ # },
4053
+ # ],
4054
+ # permission_model: {
4055
+ # cross_account_role_arns: ["IamRoleArn"],
4056
+ # invoker_role_name: "IamRoleName",
4057
+ # type: "LegacyIAMUser", # required, accepts LegacyIAMUser, RoleBased
4058
+ # },
3826
4059
  # policy_arn: "Arn",
3827
4060
  # })
3828
4061
  #
@@ -3833,9 +4066,19 @@ module Aws::ResilienceHub
3833
4066
  # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
3834
4067
  # resp.app.creation_time #=> Time
3835
4068
  # resp.app.description #=> String
4069
+ # resp.app.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
4070
+ # resp.app.event_subscriptions #=> Array
4071
+ # resp.app.event_subscriptions[0].event_type #=> String, one of "ScheduledAssessmentFailure", "DriftDetected"
4072
+ # resp.app.event_subscriptions[0].name #=> String
4073
+ # resp.app.event_subscriptions[0].sns_topic_arn #=> String
3836
4074
  # resp.app.last_app_compliance_evaluation_time #=> Time
4075
+ # resp.app.last_drift_evaluation_time #=> Time
3837
4076
  # resp.app.last_resiliency_score_evaluation_time #=> Time
3838
4077
  # resp.app.name #=> String
4078
+ # resp.app.permission_model.cross_account_role_arns #=> Array
4079
+ # resp.app.permission_model.cross_account_role_arns[0] #=> String
4080
+ # resp.app.permission_model.invoker_role_name #=> String
4081
+ # resp.app.permission_model.type #=> String, one of "LegacyIAMUser", "RoleBased"
3839
4082
  # resp.app.policy_arn #=> String
3840
4083
  # resp.app.resiliency_score #=> Float
3841
4084
  # resp.app.status #=> String, one of "Active", "Deleting"
@@ -3880,7 +4123,7 @@ module Aws::ResilienceHub
3880
4123
  # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/app-config-param.html
3881
4124
  #
3882
4125
  # @option params [required, String] :app_arn
3883
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
4126
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3884
4127
  # format for this ARN is:
3885
4128
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3886
4129
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3936,7 +4179,7 @@ module Aws::ResilienceHub
3936
4179
  # Application Components.
3937
4180
  #
3938
4181
  # @option params [required, String] :app_arn
3939
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
4182
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3940
4183
  # format for this ARN is:
3941
4184
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3942
4185
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3947,15 +4190,14 @@ module Aws::ResilienceHub
3947
4190
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3948
4191
  #
3949
4192
  # @option params [required, String] :id
3950
- # The identifier of the Application Component.
4193
+ # Identifier of the Application Component.
3951
4194
  #
3952
4195
  # @option params [String] :name
3953
- # The name of the Application Component.
4196
+ # Name of the Application Component.
3954
4197
  #
3955
4198
  # @option params [String] :type
3956
- # The type of Application Component. For more information about the
3957
- # types of Application Component, see [Grouping resources in an
3958
- # AppComponent][1].
4199
+ # Type of Application Component. For more information about the types of
4200
+ # Application Component, see [Grouping resources in an AppComponent][1].
3959
4201
  #
3960
4202
  #
3961
4203
  #
@@ -4017,7 +4259,7 @@ module Aws::ResilienceHub
4017
4259
  # Currently, there is no supported additional information for resources.
4018
4260
  #
4019
4261
  # @option params [required, String] :app_arn
4020
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
4262
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
4021
4263
  # format for this ARN is:
4022
4264
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
4023
4265
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -4028,15 +4270,15 @@ module Aws::ResilienceHub
4028
4270
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
4029
4271
  #
4030
4272
  # @option params [Array<String>] :app_components
4031
- # The list of Application Components that this resource belongs to. If
4032
- # an Application Component is not part of the Resilience Hub
4033
- # application, it will be added.
4273
+ # List of Application Components that this resource belongs to. If an
4274
+ # Application Component is not part of the Resilience Hub application,
4275
+ # it will be added.
4034
4276
  #
4035
4277
  # @option params [String] :aws_account_id
4036
- # The Amazon Web Services account that owns the physical resource.
4278
+ # Amazon Web Services account that owns the physical resource.
4037
4279
  #
4038
4280
  # @option params [String] :aws_region
4039
- # The Amazon Web Services region that owns the physical resource.
4281
+ # Amazon Web Services region that owns the physical resource.
4040
4282
  #
4041
4283
  # @option params [Boolean] :excluded
4042
4284
  # Indicates if a resource is excluded from an Resilience Hub
@@ -4048,16 +4290,16 @@ module Aws::ResilienceHub
4048
4290
  # </note>
4049
4291
  #
4050
4292
  # @option params [Types::LogicalResourceId] :logical_resource_id
4051
- # The logical identifier of the resource.
4293
+ # Logical identifier of the resource.
4052
4294
  #
4053
4295
  # @option params [String] :physical_resource_id
4054
- # The physical identifier of the resource.
4296
+ # Physical identifier of the resource.
4055
4297
  #
4056
4298
  # @option params [String] :resource_name
4057
- # The name of the resource.
4299
+ # Name of the resource.
4058
4300
  #
4059
4301
  # @option params [String] :resource_type
4060
- # The type of resource.
4302
+ # Type of resource.
4061
4303
  #
4062
4304
  # @return [Types::UpdateAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4063
4305
  #
@@ -4137,8 +4379,8 @@ module Aws::ResilienceHub
4137
4379
  # time objective (RTO) and recovery point objective (RPO) in seconds.
4138
4380
  #
4139
4381
  # @option params [required, String] :policy_arn
4140
- # The Amazon Resource Name (ARN) of the resiliency policy. The format
4141
- # for this ARN is:
4382
+ # Amazon Resource Name (ARN) of the resiliency policy. The format for
4383
+ # this ARN is:
4142
4384
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
4143
4385
  # For more information about ARNs, see [ Amazon Resource Names
4144
4386
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -4174,7 +4416,7 @@ module Aws::ResilienceHub
4174
4416
  # policy_arn: "Arn", # required
4175
4417
  # policy_description: "EntityDescription",
4176
4418
  # policy_name: "EntityName",
4177
- # tier: "MissionCritical", # accepts MissionCritical, Critical, Important, CoreServices, NonCritical
4419
+ # tier: "MissionCritical", # accepts MissionCritical, Critical, Important, CoreServices, NonCritical, NotApplicable
4178
4420
  # })
4179
4421
  #
4180
4422
  # @example Response structure
@@ -4190,7 +4432,7 @@ module Aws::ResilienceHub
4190
4432
  # resp.policy.policy_name #=> String
4191
4433
  # resp.policy.tags #=> Hash
4192
4434
  # resp.policy.tags["TagKey"] #=> String
4193
- # resp.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical"
4435
+ # resp.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical", "NotApplicable"
4194
4436
  #
4195
4437
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicy AWS API Documentation
4196
4438
  #
@@ -4214,7 +4456,7 @@ module Aws::ResilienceHub
4214
4456
  params: params,
4215
4457
  config: config)
4216
4458
  context[:gem_name] = 'aws-sdk-resiliencehub'
4217
- context[:gem_version] = '1.17.0'
4459
+ context[:gem_version] = '1.19.0'
4218
4460
  Seahorse::Client::Request.new(handlers, context)
4219
4461
  end
4220
4462