aws-sdk-resiliencehub 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -392,7 +392,7 @@ module Aws::ResilienceHub
392
392
  # also update an existing resource mapping to a new physical resource.
393
393
  #
394
394
  # @option params [required, String] :app_arn
395
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
395
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
396
396
  # format for this ARN is:
397
397
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
398
398
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -465,14 +465,83 @@ module Aws::ResilienceHub
465
465
  req.send_request(options)
466
466
  end
467
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
+
468
535
  # Creates an Resilience Hub application. An Resilience Hub application
469
536
  # is a collection of Amazon Web Services resources structured to prevent
470
- # and recover Amazon Web Services application disruptions. To describe
471
- # an Resilience Hub application, you provide an application name,
472
- # resources from one or more CloudFormation stacks, Resource Groups,
473
- # Terraform state files, AppRegistry applications, and an appropriate
474
- # resiliency policy. For more information about the number of resources
475
- # 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].
476
545
  #
477
546
  # After you create an Resilience Hub application, you publish it so that
478
547
  # you can run a resiliency assessment on it. You can then use
@@ -499,12 +568,22 @@ module Aws::ResilienceHub
499
568
  # @option params [String] :description
500
569
  # The optional description for an app.
501
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
+ #
502
576
  # @option params [required, String] :name
503
- # 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.
504
583
  #
505
584
  # @option params [String] :policy_arn
506
- # The Amazon Resource Name (ARN) of the resiliency policy. The format
507
- # for this ARN is:
585
+ # Amazon Resource Name (ARN) of the resiliency policy. The format for
586
+ # this ARN is:
508
587
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
509
588
  # For more information about ARNs, see [ Amazon Resource Names
510
589
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -514,9 +593,8 @@ module Aws::ResilienceHub
514
593
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
515
594
  #
516
595
  # @option params [Hash<String,String>] :tags
517
- # The tags assigned to the resource. A tag is a label that you assign to
518
- # an Amazon Web Services resource. Each tag consists of a key/value
519
- # 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.
520
598
  #
521
599
  # @return [Types::CreateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
522
600
  #
@@ -528,7 +606,19 @@ module Aws::ResilienceHub
528
606
  # assessment_schedule: "Disabled", # accepts Disabled, Daily
529
607
  # client_token: "ClientToken",
530
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
+ # ],
531
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
+ # },
532
622
  # policy_arn: "Arn",
533
623
  # tags: {
534
624
  # "TagKey" => "TagValue",
@@ -542,9 +632,19 @@ module Aws::ResilienceHub
542
632
  # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
543
633
  # resp.app.creation_time #=> Time
544
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
545
640
  # resp.app.last_app_compliance_evaluation_time #=> Time
641
+ # resp.app.last_drift_evaluation_time #=> Time
546
642
  # resp.app.last_resiliency_score_evaluation_time #=> Time
547
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"
548
648
  # resp.app.policy_arn #=> String
549
649
  # resp.app.resiliency_score #=> Float
550
650
  # resp.app.status #=> String, one of "Active", "Deleting"
@@ -573,7 +673,7 @@ module Aws::ResilienceHub
573
673
  # Application Components.
574
674
  #
575
675
  # @option params [required, String] :app_arn
576
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
676
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
577
677
  # format for this ARN is:
578
678
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
579
679
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -592,15 +692,14 @@ module Aws::ResilienceHub
592
692
  # not need to pass this option.**
593
693
  #
594
694
  # @option params [String] :id
595
- # The identifier of the Application Component.
695
+ # Identifier of the Application Component.
596
696
  #
597
697
  # @option params [required, String] :name
598
- # The name of the Application Component.
698
+ # Name of the Application Component.
599
699
  #
600
700
  # @option params [required, String] :type
601
- # The type of Application Component. For more information about the
602
- # types of Application Component, see [Grouping resources in an
603
- # AppComponent][1].
701
+ # Type of Application Component. For more information about the types of
702
+ # Application Component, see [Grouping resources in an AppComponent][1].
604
703
  #
605
704
  #
606
705
  #
@@ -666,7 +765,7 @@ module Aws::ResilienceHub
666
765
  # Currently, there is no supported additional information for resources.
667
766
  #
668
767
  # @option params [required, String] :app_arn
669
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
768
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
670
769
  # format for this ARN is:
671
770
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
672
771
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -677,15 +776,15 @@ module Aws::ResilienceHub
677
776
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
678
777
  #
679
778
  # @option params [required, Array<String>] :app_components
680
- # The list of Application Components that this resource belongs to. If
681
- # an Application Component is not part of the Resilience Hub
682
- # 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.
683
782
  #
684
783
  # @option params [String] :aws_account_id
685
- # The Amazon Web Services account that owns the physical resource.
784
+ # Amazon Web Services account that owns the physical resource.
686
785
  #
687
786
  # @option params [String] :aws_region
688
- # The Amazon Web Services region that owns the physical resource.
787
+ # Amazon Web Services region that owns the physical resource.
689
788
  #
690
789
  # @option params [String] :client_token
691
790
  # Used for an idempotency token. A client token is a unique,
@@ -696,16 +795,16 @@ module Aws::ResilienceHub
696
795
  # not need to pass this option.**
697
796
  #
698
797
  # @option params [required, Types::LogicalResourceId] :logical_resource_id
699
- # The logical identifier of the resource.
798
+ # Logical identifier of the resource.
700
799
  #
701
800
  # @option params [required, String] :physical_resource_id
702
- # The physical identifier of the resource.
801
+ # Physical identifier of the resource.
703
802
  #
704
803
  # @option params [String] :resource_name
705
- # The name of the resource.
804
+ # Name of the resource.
706
805
  #
707
806
  # @option params [required, String] :resource_type
708
- # The type of resource.
807
+ # Type of resource.
709
808
  #
710
809
  # @return [Types::CreateAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
711
810
  #
@@ -778,8 +877,8 @@ module Aws::ResilienceHub
778
877
  # application.
779
878
  #
780
879
  # @option params [required, String] :assessment_arn
781
- # The Amazon Resource Name (ARN) of the assessment. The format for this
782
- # ARN is:
880
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
881
+ # is:
783
882
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
784
883
  # For more information about ARNs, see [ Amazon Resource Names
785
884
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -835,9 +934,8 @@ module Aws::ResilienceHub
835
934
  # : The template is a TestRecommendation template.
836
935
  #
837
936
  # @option params [Hash<String,String>] :tags
838
- # The tags assigned to the resource. A tag is a label that you assign to
839
- # an Amazon Web Services resource. Each tag consists of a key/value
840
- # 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.
841
939
  #
842
940
  # @return [Types::CreateRecommendationTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
843
941
  #
@@ -913,9 +1011,8 @@ module Aws::ResilienceHub
913
1011
  # The name of the policy
914
1012
  #
915
1013
  # @option params [Hash<String,String>] :tags
916
- # The tags assigned to the resource. A tag is a label that you assign to
917
- # an Amazon Web Services resource. Each tag consists of a key/value
918
- # 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.
919
1016
  #
920
1017
  # @option params [required, String] :tier
921
1018
  # The tier for this resiliency policy, ranging from the highest severity
@@ -941,7 +1038,7 @@ module Aws::ResilienceHub
941
1038
  # tags: {
942
1039
  # "TagKey" => "TagValue",
943
1040
  # },
944
- # tier: "MissionCritical", # required, accepts MissionCritical, Critical, Important, CoreServices, NonCritical
1041
+ # tier: "MissionCritical", # required, accepts MissionCritical, Critical, Important, CoreServices, NonCritical, NotApplicable
945
1042
  # })
946
1043
  #
947
1044
  # @example Response structure
@@ -957,7 +1054,7 @@ module Aws::ResilienceHub
957
1054
  # resp.policy.policy_name #=> String
958
1055
  # resp.policy.tags #=> Hash
959
1056
  # resp.policy.tags["TagKey"] #=> String
960
- # resp.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical"
1057
+ # resp.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical", "NotApplicable"
961
1058
  #
962
1059
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateResiliencyPolicy AWS API Documentation
963
1060
  #
@@ -972,7 +1069,7 @@ module Aws::ResilienceHub
972
1069
  # that can't be undone.
973
1070
  #
974
1071
  # @option params [required, String] :app_arn
975
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1072
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
976
1073
  # format for this ARN is:
977
1074
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
978
1075
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1023,8 +1120,8 @@ module Aws::ResilienceHub
1023
1120
  # destructive action that can't be undone.
1024
1121
  #
1025
1122
  # @option params [required, String] :assessment_arn
1026
- # The Amazon Resource Name (ARN) of the assessment. The format for this
1027
- # ARN is:
1123
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
1124
+ # is:
1028
1125
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
1029
1126
  # For more information about ARNs, see [ Amazon Resource Names
1030
1127
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -1071,7 +1168,7 @@ module Aws::ResilienceHub
1071
1168
  # Resilience Hub application.
1072
1169
  #
1073
1170
  # @option params [required, String] :app_arn
1074
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1171
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1075
1172
  # format for this ARN is:
1076
1173
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1077
1174
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1160,7 +1257,7 @@ module Aws::ResilienceHub
1160
1257
  # </note>
1161
1258
  #
1162
1259
  # @option params [required, String] :app_arn
1163
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1260
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1164
1261
  # format for this ARN is:
1165
1262
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1166
1263
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1179,7 +1276,7 @@ module Aws::ResilienceHub
1179
1276
  # not need to pass this option.**
1180
1277
  #
1181
1278
  # @option params [required, String] :id
1182
- # The identifier of the Application Component.
1279
+ # Identifier of the Application Component.
1183
1280
  #
1184
1281
  # @return [Types::DeleteAppVersionAppComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1185
1282
  #
@@ -1231,7 +1328,7 @@ module Aws::ResilienceHub
1231
1328
  # </note>
1232
1329
  #
1233
1330
  # @option params [required, String] :app_arn
1234
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1331
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1235
1332
  # format for this ARN is:
1236
1333
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1237
1334
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1242,10 +1339,10 @@ module Aws::ResilienceHub
1242
1339
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1243
1340
  #
1244
1341
  # @option params [String] :aws_account_id
1245
- # The Amazon Web Services account that owns the physical resource.
1342
+ # Amazon Web Services account that owns the physical resource.
1246
1343
  #
1247
1344
  # @option params [String] :aws_region
1248
- # The Amazon Web Services region that owns the physical resource.
1345
+ # Amazon Web Services region that owns the physical resource.
1249
1346
  #
1250
1347
  # @option params [String] :client_token
1251
1348
  # Used for an idempotency token. A client token is a unique,
@@ -1256,13 +1353,13 @@ module Aws::ResilienceHub
1256
1353
  # not need to pass this option.**
1257
1354
  #
1258
1355
  # @option params [Types::LogicalResourceId] :logical_resource_id
1259
- # The logical identifier of the resource.
1356
+ # Logical identifier of the resource.
1260
1357
  #
1261
1358
  # @option params [String] :physical_resource_id
1262
- # The physical identifier of the resource.
1359
+ # Physical identifier of the resource.
1263
1360
  #
1264
1361
  # @option params [String] :resource_name
1265
- # The name of the resource.
1362
+ # Name of the resource.
1266
1363
  #
1267
1364
  # @return [Types::DeleteAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1268
1365
  #
@@ -1378,8 +1475,8 @@ module Aws::ResilienceHub
1378
1475
  # not need to pass this option.**
1379
1476
  #
1380
1477
  # @option params [required, String] :policy_arn
1381
- # The Amazon Resource Name (ARN) of the resiliency policy. The format
1382
- # for this ARN is:
1478
+ # Amazon Resource Name (ARN) of the resiliency policy. The format for
1479
+ # this ARN is:
1383
1480
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
1384
1481
  # For more information about ARNs, see [ Amazon Resource Names
1385
1482
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -1415,7 +1512,7 @@ module Aws::ResilienceHub
1415
1512
  # Describes an Resilience Hub application.
1416
1513
  #
1417
1514
  # @option params [required, String] :app_arn
1418
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1515
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1419
1516
  # format for this ARN is:
1420
1517
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1421
1518
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1442,9 +1539,19 @@ module Aws::ResilienceHub
1442
1539
  # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
1443
1540
  # resp.app.creation_time #=> Time
1444
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
1445
1547
  # resp.app.last_app_compliance_evaluation_time #=> Time
1548
+ # resp.app.last_drift_evaluation_time #=> Time
1446
1549
  # resp.app.last_resiliency_score_evaluation_time #=> Time
1447
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"
1448
1555
  # resp.app.policy_arn #=> String
1449
1556
  # resp.app.resiliency_score #=> Float
1450
1557
  # resp.app.status #=> String, one of "Active", "Deleting"
@@ -1463,8 +1570,8 @@ module Aws::ResilienceHub
1463
1570
  # Describes an assessment for an Resilience Hub application.
1464
1571
  #
1465
1572
  # @option params [required, String] :assessment_arn
1466
- # The Amazon Resource Name (ARN) of the assessment. The format for this
1467
- # ARN is:
1573
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
1574
+ # is:
1468
1575
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
1469
1576
  # For more information about ARNs, see [ Amazon Resource Names
1470
1577
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -1505,6 +1612,7 @@ module Aws::ResilienceHub
1505
1612
  # resp.assessment.cost.amount #=> Float
1506
1613
  # resp.assessment.cost.currency #=> String
1507
1614
  # resp.assessment.cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
1615
+ # resp.assessment.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
1508
1616
  # resp.assessment.end_time #=> Time
1509
1617
  # resp.assessment.invoker #=> String, one of "User", "System"
1510
1618
  # resp.assessment.message #=> String
@@ -1519,7 +1627,7 @@ module Aws::ResilienceHub
1519
1627
  # resp.assessment.policy.policy_name #=> String
1520
1628
  # resp.assessment.policy.tags #=> Hash
1521
1629
  # resp.assessment.policy.tags["TagKey"] #=> String
1522
- # 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"
1523
1631
  # resp.assessment.resiliency_score.disruption_score #=> Hash
1524
1632
  # resp.assessment.resiliency_score.disruption_score["DisruptionType"] #=> Float
1525
1633
  # resp.assessment.resiliency_score.score #=> Float
@@ -1531,6 +1639,7 @@ module Aws::ResilienceHub
1531
1639
  # resp.assessment.start_time #=> Time
1532
1640
  # resp.assessment.tags #=> Hash
1533
1641
  # resp.assessment.tags["TagKey"] #=> String
1642
+ # resp.assessment.version_name #=> String
1534
1643
  #
1535
1644
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppAssessment AWS API Documentation
1536
1645
  #
@@ -1544,7 +1653,7 @@ module Aws::ResilienceHub
1544
1653
  # Describes the Resilience Hub application version.
1545
1654
  #
1546
1655
  # @option params [required, String] :app_arn
1547
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1656
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1548
1657
  # format for this ARN is:
1549
1658
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1550
1659
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1555,7 +1664,7 @@ module Aws::ResilienceHub
1555
1664
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1556
1665
  #
1557
1666
  # @option params [required, String] :app_version
1558
- # The Resilience Hub application version.
1667
+ # Resilience Hub application version.
1559
1668
  #
1560
1669
  # @return [Types::DescribeAppVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1561
1670
  #
@@ -1590,7 +1699,7 @@ module Aws::ResilienceHub
1590
1699
  # Describes an Application Component in the Resilience Hub application.
1591
1700
  #
1592
1701
  # @option params [required, String] :app_arn
1593
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1702
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1594
1703
  # format for this ARN is:
1595
1704
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1596
1705
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1601,10 +1710,10 @@ module Aws::ResilienceHub
1601
1710
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1602
1711
  #
1603
1712
  # @option params [required, String] :app_version
1604
- # The Resilience Hub application version.
1713
+ # Resilience Hub application version.
1605
1714
  #
1606
1715
  # @option params [required, String] :id
1607
- # The identifier of the Application Component.
1716
+ # Identifier of the Application Component.
1608
1717
  #
1609
1718
  # @return [Types::DescribeAppVersionAppComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1610
1719
  #
@@ -1655,7 +1764,7 @@ module Aws::ResilienceHub
1655
1764
  # </note>
1656
1765
  #
1657
1766
  # @option params [required, String] :app_arn
1658
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1767
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1659
1768
  # format for this ARN is:
1660
1769
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1661
1770
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1666,22 +1775,22 @@ module Aws::ResilienceHub
1666
1775
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1667
1776
  #
1668
1777
  # @option params [required, String] :app_version
1669
- # The Resilience Hub application version.
1778
+ # Resilience Hub application version.
1670
1779
  #
1671
1780
  # @option params [String] :aws_account_id
1672
- # The Amazon Web Services account that owns the physical resource.
1781
+ # Amazon Web Services account that owns the physical resource.
1673
1782
  #
1674
1783
  # @option params [String] :aws_region
1675
- # The Amazon Web Services region that owns the physical resource.
1784
+ # Amazon Web Services region that owns the physical resource.
1676
1785
  #
1677
1786
  # @option params [Types::LogicalResourceId] :logical_resource_id
1678
- # The logical identifier of the resource.
1787
+ # Logical identifier of the resource.
1679
1788
  #
1680
1789
  # @option params [String] :physical_resource_id
1681
- # The physical identifier of the resource.
1790
+ # Physical identifier of the resource.
1682
1791
  #
1683
1792
  # @option params [String] :resource_name
1684
- # The name of the resource.
1793
+ # Name of the resource.
1685
1794
  #
1686
1795
  # @return [Types::DescribeAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1687
1796
  #
@@ -1750,7 +1859,7 @@ module Aws::ResilienceHub
1750
1859
  # current resolution status is returned.
1751
1860
  #
1752
1861
  # @option params [required, String] :app_arn
1753
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1862
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1754
1863
  # format for this ARN is:
1755
1864
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1756
1865
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1802,7 +1911,7 @@ module Aws::ResilienceHub
1802
1911
  # Describes details about an Resilience Hub application.
1803
1912
  #
1804
1913
  # @option params [required, String] :app_arn
1805
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1914
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1806
1915
  # format for this ARN is:
1807
1916
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1808
1917
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1854,7 +1963,7 @@ module Aws::ResilienceHub
1854
1963
  # </note>
1855
1964
  #
1856
1965
  # @option params [required, String] :app_arn
1857
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
1966
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1858
1967
  # format for this ARN is:
1859
1968
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1860
1969
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -1901,8 +2010,8 @@ module Aws::ResilienceHub
1901
2010
  # tags, tier, and more.
1902
2011
  #
1903
2012
  # @option params [required, String] :policy_arn
1904
- # The Amazon Resource Name (ARN) of the resiliency policy. The format
1905
- # for this ARN is:
2013
+ # Amazon Resource Name (ARN) of the resiliency policy. The format for
2014
+ # this ARN is:
1906
2015
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
1907
2016
  # For more information about ARNs, see [ Amazon Resource Names
1908
2017
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -1934,7 +2043,7 @@ module Aws::ResilienceHub
1934
2043
  # resp.policy.policy_name #=> String
1935
2044
  # resp.policy.tags #=> Hash
1936
2045
  # resp.policy.tags["TagKey"] #=> String
1937
- # resp.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical"
2046
+ # resp.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical", "NotApplicable"
1938
2047
  #
1939
2048
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResiliencyPolicy AWS API Documentation
1940
2049
  #
@@ -1955,7 +2064,7 @@ module Aws::ResilienceHub
1955
2064
  # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html
1956
2065
  #
1957
2066
  # @option params [required, String] :app_arn
1958
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2067
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
1959
2068
  # format for this ARN is:
1960
2069
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1961
2070
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2033,8 +2142,8 @@ module Aws::ResilienceHub
2033
2142
  # Lists the alarm recommendations for an Resilience Hub application.
2034
2143
  #
2035
2144
  # @option params [required, String] :assessment_arn
2036
- # The Amazon Resource Name (ARN) of the assessment. The format for this
2037
- # ARN is:
2145
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
2146
+ # is:
2038
2147
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2039
2148
  # For more information about ARNs, see [ Amazon Resource Names
2040
2149
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -2044,10 +2153,9 @@ module Aws::ResilienceHub
2044
2153
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2045
2154
  #
2046
2155
  # @option params [Integer] :max_results
2047
- # The maximum number of results to include in the response. If more
2048
- # results exist than the specified `MaxResults` value, a token is
2049
- # included in the response so that the remaining results can be
2050
- # 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.
2051
2159
  #
2052
2160
  # @option params [String] :next_token
2053
2161
  # Null, or the token from a previous call to get the next set of
@@ -2072,9 +2180,13 @@ module Aws::ResilienceHub
2072
2180
  #
2073
2181
  # resp.alarm_recommendations #=> Array
2074
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
2075
2185
  # resp.alarm_recommendations[0].description #=> String
2076
2186
  # resp.alarm_recommendations[0].items #=> Array
2077
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
2078
2190
  # resp.alarm_recommendations[0].items[0].resource_id #=> String
2079
2191
  # resp.alarm_recommendations[0].items[0].target_account_id #=> String
2080
2192
  # resp.alarm_recommendations[0].items[0].target_region #=> String
@@ -2094,11 +2206,92 @@ module Aws::ResilienceHub
2094
2206
  req.send_request(options)
2095
2207
  end
2096
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
+
2097
2290
  # Lists the assessments for an Resilience Hub application. You can use
2098
2291
  # request parameters to refine the results for the response object.
2099
2292
  #
2100
2293
  # @option params [String] :app_arn
2101
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2294
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2102
2295
  # format for this ARN is:
2103
2296
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2104
2297
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2122,10 +2315,9 @@ module Aws::ResilienceHub
2122
2315
  # `User` or the `System`.
2123
2316
  #
2124
2317
  # @option params [Integer] :max_results
2125
- # The maximum number of results to include in the response. If more
2126
- # results exist than the specified `MaxResults` value, a token is
2127
- # included in the response so that the remaining results can be
2128
- # 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.
2129
2321
  #
2130
2322
  # @option params [String] :next_token
2131
2323
  # Null, or the token from a previous call to get the next set of
@@ -2167,11 +2359,13 @@ module Aws::ResilienceHub
2167
2359
  # resp.assessment_summaries[0].cost.amount #=> Float
2168
2360
  # resp.assessment_summaries[0].cost.currency #=> String
2169
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"
2170
2363
  # resp.assessment_summaries[0].end_time #=> Time
2171
2364
  # resp.assessment_summaries[0].invoker #=> String, one of "User", "System"
2172
2365
  # resp.assessment_summaries[0].message #=> String
2173
2366
  # resp.assessment_summaries[0].resiliency_score #=> Float
2174
2367
  # resp.assessment_summaries[0].start_time #=> Time
2368
+ # resp.assessment_summaries[0].version_name #=> String
2175
2369
  # resp.next_token #=> String
2176
2370
  #
2177
2371
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessments AWS API Documentation
@@ -2186,8 +2380,8 @@ module Aws::ResilienceHub
2186
2380
  # Lists the compliances for an Resilience Hub Application Component.
2187
2381
  #
2188
2382
  # @option params [required, String] :assessment_arn
2189
- # The Amazon Resource Name (ARN) of the assessment. The format for this
2190
- # ARN is:
2383
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
2384
+ # is:
2191
2385
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2192
2386
  # For more information about ARNs, see [ Amazon Resource Names
2193
2387
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -2197,10 +2391,9 @@ module Aws::ResilienceHub
2197
2391
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2198
2392
  #
2199
2393
  # @option params [Integer] :max_results
2200
- # The maximum number of results to include in the response. If more
2201
- # results exist than the specified `MaxResults` value, a token is
2202
- # included in the response so that the remaining results can be
2203
- # 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.
2204
2397
  #
2205
2398
  # @option params [String] :next_token
2206
2399
  # Null, or the token from a previous call to get the next set of
@@ -2258,8 +2451,8 @@ module Aws::ResilienceHub
2258
2451
  # Lists the recommendations for an Resilience Hub Application Component.
2259
2452
  #
2260
2453
  # @option params [required, String] :assessment_arn
2261
- # The Amazon Resource Name (ARN) of the assessment. The format for this
2262
- # ARN is:
2454
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
2455
+ # is:
2263
2456
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2264
2457
  # For more information about ARNs, see [ Amazon Resource Names
2265
2458
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -2269,10 +2462,9 @@ module Aws::ResilienceHub
2269
2462
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2270
2463
  #
2271
2464
  # @option params [Integer] :max_results
2272
- # The maximum number of results to include in the response. If more
2273
- # results exist than the specified `MaxResults` value, a token is
2274
- # included in the response so that the remaining results can be
2275
- # 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.
2276
2468
  #
2277
2469
  # @option params [String] :next_token
2278
2470
  # Null, or the token from a previous call to get the next set of
@@ -2348,7 +2540,7 @@ module Aws::ResilienceHub
2348
2540
  # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html
2349
2541
  #
2350
2542
  # @option params [required, String] :app_arn
2351
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2543
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2352
2544
  # format for this ARN is:
2353
2545
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2354
2546
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2359,7 +2551,7 @@ module Aws::ResilienceHub
2359
2551
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2360
2552
  #
2361
2553
  # @option params [required, String] :app_version
2362
- # The Resilience Hub application version.
2554
+ # Resilience Hub application version.
2363
2555
  #
2364
2556
  # @option params [Integer] :max_results
2365
2557
  # Maximum number of input sources to be displayed per Resilience Hub
@@ -2410,7 +2602,7 @@ module Aws::ResilienceHub
2410
2602
  # application.
2411
2603
  #
2412
2604
  # @option params [required, String] :app_arn
2413
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2605
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2414
2606
  # format for this ARN is:
2415
2607
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2416
2608
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2421,7 +2613,7 @@ module Aws::ResilienceHub
2421
2613
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2422
2614
  #
2423
2615
  # @option params [required, String] :app_version
2424
- # The version of the Application Component.
2616
+ # Version of the Application Component.
2425
2617
  #
2426
2618
  # @option params [Integer] :max_results
2427
2619
  # Maximum number of Application Components to be displayed per
@@ -2476,7 +2668,7 @@ module Aws::ResilienceHub
2476
2668
  # stacks, resource-groups, or an application registry app.
2477
2669
  #
2478
2670
  # @option params [required, String] :app_arn
2479
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2671
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2480
2672
  # format for this ARN is:
2481
2673
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2482
2674
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2490,10 +2682,9 @@ module Aws::ResilienceHub
2490
2682
  # The version of the application.
2491
2683
  #
2492
2684
  # @option params [Integer] :max_results
2493
- # The maximum number of results to include in the response. If more
2494
- # results exist than the specified `MaxResults` value, a token is
2495
- # included in the response so that the remaining results can be
2496
- # 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.
2497
2688
  #
2498
2689
  # @option params [String] :next_token
2499
2690
  # Null, or the token from a previous call to get the next set of
@@ -2543,7 +2734,7 @@ module Aws::ResilienceHub
2543
2734
  # Lists all the resources in an Resilience Hub application.
2544
2735
  #
2545
2736
  # @option params [required, String] :app_arn
2546
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2737
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2547
2738
  # format for this ARN is:
2548
2739
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2549
2740
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2557,10 +2748,9 @@ module Aws::ResilienceHub
2557
2748
  # The version of the application.
2558
2749
  #
2559
2750
  # @option params [Integer] :max_results
2560
- # The maximum number of results to include in the response. If more
2561
- # results exist than the specified `MaxResults` value, a token is
2562
- # included in the response so that the remaining results can be
2563
- # 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.
2564
2754
  #
2565
2755
  # @option params [String] :next_token
2566
2756
  # Null, or the token from a previous call to get the next set of
@@ -2629,7 +2819,7 @@ module Aws::ResilienceHub
2629
2819
  # Lists the different versions for the Resilience Hub applications.
2630
2820
  #
2631
2821
  # @option params [required, String] :app_arn
2632
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2822
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2633
2823
  # format for this ARN is:
2634
2824
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2635
2825
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2639,16 +2829,21 @@ module Aws::ResilienceHub
2639
2829
  #
2640
2830
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2641
2831
  #
2832
+ # @option params [Time,DateTime,Date,Integer,String] :end_time
2833
+ # Upper limit of the time range to filter the application versions.
2834
+ #
2642
2835
  # @option params [Integer] :max_results
2643
- # The maximum number of results to include in the response. If more
2644
- # results exist than the specified `MaxResults` value, a token is
2645
- # included in the response so that the remaining results can be
2646
- # 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.
2647
2839
  #
2648
2840
  # @option params [String] :next_token
2649
2841
  # Null, or the token from a previous call to get the next set of
2650
2842
  # results.
2651
2843
  #
2844
+ # @option params [Time,DateTime,Date,Integer,String] :start_time
2845
+ # Lower limit of the time range to filter the application versions.
2846
+ #
2652
2847
  # @return [Types::ListAppVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2653
2848
  #
2654
2849
  # * {Types::ListAppVersionsResponse#app_versions #app_versions} => Array&lt;Types::AppVersionSummary&gt;
@@ -2660,14 +2855,19 @@ module Aws::ResilienceHub
2660
2855
  #
2661
2856
  # resp = client.list_app_versions({
2662
2857
  # app_arn: "Arn", # required
2858
+ # end_time: Time.now,
2663
2859
  # max_results: 1,
2664
2860
  # next_token: "NextToken",
2861
+ # start_time: Time.now,
2665
2862
  # })
2666
2863
  #
2667
2864
  # @example Response structure
2668
2865
  #
2669
2866
  # resp.app_versions #=> Array
2670
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
2671
2871
  # resp.next_token #=> String
2672
2872
  #
2673
2873
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersions AWS API Documentation
@@ -2691,7 +2891,7 @@ module Aws::ResilienceHub
2691
2891
  # </note>
2692
2892
  #
2693
2893
  # @option params [String] :app_arn
2694
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
2894
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2695
2895
  # format for this ARN is:
2696
2896
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2697
2897
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -2702,10 +2902,9 @@ module Aws::ResilienceHub
2702
2902
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2703
2903
  #
2704
2904
  # @option params [Integer] :max_results
2705
- # The maximum number of results to include in the response. If more
2706
- # results exist than the specified `MaxResults` value, a token is
2707
- # included in the response so that the remaining results can be
2708
- # 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.
2709
2908
  #
2710
2909
  # @option params [String] :name
2711
2910
  # The name for the one of the listed applications.
@@ -2738,6 +2937,7 @@ module Aws::ResilienceHub
2738
2937
  # resp.app_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
2739
2938
  # resp.app_summaries[0].creation_time #=> Time
2740
2939
  # resp.app_summaries[0].description #=> String
2940
+ # resp.app_summaries[0].drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
2741
2941
  # resp.app_summaries[0].name #=> String
2742
2942
  # resp.app_summaries[0].resiliency_score #=> Float
2743
2943
  # resp.app_summaries[0].status #=> String, one of "Active", "Deleting"
@@ -2756,8 +2956,8 @@ module Aws::ResilienceHub
2756
2956
  # applications.
2757
2957
  #
2758
2958
  # @option params [required, String] :assessment_arn
2759
- # The Amazon Resource Name (ARN) of the assessment. The format for this
2760
- # ARN is:
2959
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
2960
+ # is:
2761
2961
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2762
2962
  # For more information about ARNs, see [ Amazon Resource Names
2763
2963
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -2767,10 +2967,9 @@ module Aws::ResilienceHub
2767
2967
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2768
2968
  #
2769
2969
  # @option params [Integer] :max_results
2770
- # The maximum number of results to include in the response. If more
2771
- # results exist than the specified `MaxResults` value, a token is
2772
- # included in the response so that the remaining results can be
2773
- # 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.
2774
2973
  #
2775
2974
  # @option params [String] :name
2776
2975
  # The name for one of the listed recommendation templates.
@@ -2787,7 +2986,7 @@ module Aws::ResilienceHub
2787
2986
  # descending **startTime**, set reverseOrder to `true`.
2788
2987
  #
2789
2988
  # @option params [Array<String>] :status
2790
- # The status of the action.
2989
+ # Status of the action.
2791
2990
  #
2792
2991
  # @return [Types::ListRecommendationTemplatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2793
2992
  #
@@ -2843,10 +3042,9 @@ module Aws::ResilienceHub
2843
3042
  # Lists the resiliency policies for the Resilience Hub applications.
2844
3043
  #
2845
3044
  # @option params [Integer] :max_results
2846
- # The maximum number of results to include in the response. If more
2847
- # results exist than the specified `MaxResults` value, a token is
2848
- # included in the response so that the remaining results can be
2849
- # 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.
2850
3048
  #
2851
3049
  # @option params [String] :next_token
2852
3050
  # Null, or the token from a previous call to get the next set of
@@ -2885,7 +3083,7 @@ module Aws::ResilienceHub
2885
3083
  # resp.resiliency_policies[0].policy_name #=> String
2886
3084
  # resp.resiliency_policies[0].tags #=> Hash
2887
3085
  # resp.resiliency_policies[0].tags["TagKey"] #=> String
2888
- # 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"
2889
3087
  #
2890
3088
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPolicies AWS API Documentation
2891
3089
  #
@@ -2900,8 +3098,8 @@ module Aws::ResilienceHub
2900
3098
  # Resilience Hub applications.
2901
3099
  #
2902
3100
  # @option params [required, String] :assessment_arn
2903
- # The Amazon Resource Name (ARN) of the assessment. The format for this
2904
- # ARN is:
3101
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
3102
+ # is:
2905
3103
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2906
3104
  # For more information about ARNs, see [ Amazon Resource Names
2907
3105
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -2911,10 +3109,9 @@ module Aws::ResilienceHub
2911
3109
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2912
3110
  #
2913
3111
  # @option params [Integer] :max_results
2914
- # The maximum number of results to include in the response. If more
2915
- # results exist than the specified `MaxResults` value, a token is
2916
- # included in the response so that the remaining results can be
2917
- # 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.
2918
3115
  #
2919
3116
  # @option params [String] :next_token
2920
3117
  # Null, or the token from a previous call to get the next set of
@@ -2943,6 +3140,8 @@ module Aws::ResilienceHub
2943
3140
  # resp.sop_recommendations[0].description #=> String
2944
3141
  # resp.sop_recommendations[0].items #=> Array
2945
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
2946
3145
  # resp.sop_recommendations[0].items[0].resource_id #=> String
2947
3146
  # resp.sop_recommendations[0].items[0].target_account_id #=> String
2948
3147
  # resp.sop_recommendations[0].items[0].target_region #=> String
@@ -2965,10 +3164,9 @@ module Aws::ResilienceHub
2965
3164
  # applications.
2966
3165
  #
2967
3166
  # @option params [Integer] :max_results
2968
- # The maximum number of results to include in the response. If more
2969
- # results exist than the specified `MaxResults` value, a token is
2970
- # included in the response so that the remaining results can be
2971
- # 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.
2972
3170
  #
2973
3171
  # @option params [String] :next_token
2974
3172
  # Null, or the token from a previous call to get the next set of
@@ -3003,7 +3201,7 @@ module Aws::ResilienceHub
3003
3201
  # resp.resiliency_policies[0].policy_name #=> String
3004
3202
  # resp.resiliency_policies[0].tags #=> Hash
3005
3203
  # resp.resiliency_policies[0].tags["TagKey"] #=> String
3006
- # 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"
3007
3205
  #
3008
3206
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSuggestedResiliencyPolicies AWS API Documentation
3009
3207
  #
@@ -3047,8 +3245,8 @@ module Aws::ResilienceHub
3047
3245
  # Lists the test recommendations for the Resilience Hub application.
3048
3246
  #
3049
3247
  # @option params [required, String] :assessment_arn
3050
- # The Amazon Resource Name (ARN) of the assessment. The format for this
3051
- # ARN is:
3248
+ # Amazon Resource Name (ARN) of the assessment. The format for this ARN
3249
+ # is:
3052
3250
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
3053
3251
  # For more information about ARNs, see [ Amazon Resource Names
3054
3252
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -3058,10 +3256,9 @@ module Aws::ResilienceHub
3058
3256
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3059
3257
  #
3060
3258
  # @option params [Integer] :max_results
3061
- # The maximum number of results to include in the response. If more
3062
- # results exist than the specified `MaxResults` value, a token is
3063
- # included in the response so that the remaining results can be
3064
- # 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.
3065
3262
  #
3066
3263
  # @option params [String] :next_token
3067
3264
  # Null, or the token from a previous call to get the next set of
@@ -3093,6 +3290,8 @@ module Aws::ResilienceHub
3093
3290
  # resp.test_recommendations[0].intent #=> String
3094
3291
  # resp.test_recommendations[0].items #=> Array
3095
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
3096
3295
  # resp.test_recommendations[0].items[0].resource_id #=> String
3097
3296
  # resp.test_recommendations[0].items[0].target_account_id #=> String
3098
3297
  # resp.test_recommendations[0].items[0].target_region #=> String
@@ -3118,7 +3317,7 @@ module Aws::ResilienceHub
3118
3317
  # Hub.
3119
3318
  #
3120
3319
  # @option params [required, String] :app_arn
3121
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3320
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3122
3321
  # format for this ARN is:
3123
3322
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3124
3323
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3132,10 +3331,9 @@ module Aws::ResilienceHub
3132
3331
  # The version of the application.
3133
3332
  #
3134
3333
  # @option params [Integer] :max_results
3135
- # The maximum number of results to include in the response. If more
3136
- # results exist than the specified `MaxResults` value, a token is
3137
- # included in the response so that the remaining results can be
3138
- # 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.
3139
3337
  #
3140
3338
  # @option params [String] :next_token
3141
3339
  # Null, or the token from a previous call to get the next set of
@@ -3191,7 +3389,7 @@ module Aws::ResilienceHub
3191
3389
  # Publishes a new version of a specific Resilience Hub application.
3192
3390
  #
3193
3391
  # @option params [required, String] :app_arn
3194
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3392
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3195
3393
  # format for this ARN is:
3196
3394
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3197
3395
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3201,21 +3399,29 @@ module Aws::ResilienceHub
3201
3399
  #
3202
3400
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3203
3401
  #
3402
+ # @option params [String] :version_name
3403
+ # Name of the application version.
3404
+ #
3204
3405
  # @return [Types::PublishAppVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3205
3406
  #
3206
3407
  # * {Types::PublishAppVersionResponse#app_arn #app_arn} => String
3207
3408
  # * {Types::PublishAppVersionResponse#app_version #app_version} => String
3409
+ # * {Types::PublishAppVersionResponse#identifier #identifier} => Integer
3410
+ # * {Types::PublishAppVersionResponse#version_name #version_name} => String
3208
3411
  #
3209
3412
  # @example Request syntax with placeholder values
3210
3413
  #
3211
3414
  # resp = client.publish_app_version({
3212
3415
  # app_arn: "Arn", # required
3416
+ # version_name: "EntityVersion",
3213
3417
  # })
3214
3418
  #
3215
3419
  # @example Response structure
3216
3420
  #
3217
3421
  # resp.app_arn #=> String
3218
3422
  # resp.app_version #=> String
3423
+ # resp.identifier #=> Integer
3424
+ # resp.version_name #=> String
3219
3425
  #
3220
3426
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersion AWS API Documentation
3221
3427
  #
@@ -3230,7 +3436,7 @@ module Aws::ResilienceHub
3230
3436
  # draft version.
3231
3437
  #
3232
3438
  # @option params [required, String] :app_arn
3233
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3439
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3234
3440
  # format for this ARN is:
3235
3441
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3236
3442
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3262,7 +3468,7 @@ module Aws::ResilienceHub
3262
3468
  #
3263
3469
  # * <i> <code>logicalResourceId</code> </i>
3264
3470
  #
3265
- # The logical identifier of the resource.
3471
+ # Logical identifier of the resource.
3266
3472
  #
3267
3473
  # Type: Object
3268
3474
  #
@@ -3270,7 +3476,7 @@ module Aws::ResilienceHub
3270
3476
  #
3271
3477
  # * `identifier`
3272
3478
  #
3273
- # The identifier of the resource.
3479
+ # Identifier of the resource.
3274
3480
  #
3275
3481
  # Type: String
3276
3482
  #
@@ -3295,7 +3501,7 @@ module Aws::ResilienceHub
3295
3501
  #
3296
3502
  # * `eksSourceName`
3297
3503
  #
3298
- # The name of the Amazon Elastic Kubernetes Service cluster and
3504
+ # Name of the Amazon Elastic Kubernetes Service cluster and
3299
3505
  # namespace this resource belongs to.
3300
3506
  #
3301
3507
  # <note markdown="1"> This parameter accepts values in "eks-cluster/namespace"
@@ -3336,9 +3542,9 @@ module Aws::ResilienceHub
3336
3542
  #
3337
3543
  # * <b> <code>appComponents</code> </b>
3338
3544
  #
3339
- # The list of Application Components that this resource belongs to. If
3340
- # an Application Component is not part of the Resilience Hub
3341
- # 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.
3342
3548
  #
3343
3549
  # Type: Array
3344
3550
  #
@@ -3346,13 +3552,13 @@ module Aws::ResilienceHub
3346
3552
  #
3347
3553
  # * `name`
3348
3554
  #
3349
- # The name of the Application Component.
3555
+ # Name of the Application Component.
3350
3556
  #
3351
3557
  # Type: String
3352
3558
  #
3353
3559
  # * `type`
3354
3560
  #
3355
- # The type of Application Component. For more information about the
3561
+ # Type of Application Component. For more information about the
3356
3562
  # types of Application Component, see [Grouping resources in an
3357
3563
  # AppComponent][2].
3358
3564
  #
@@ -3397,7 +3603,7 @@ module Aws::ResilienceHub
3397
3603
  #
3398
3604
  # * <i> <code>logicalResourceIds</code> </i>
3399
3605
  #
3400
- # The logical identifier of the resource.
3606
+ # Logical identifier of the resource.
3401
3607
  #
3402
3608
  # Type: Object
3403
3609
  #
@@ -3417,7 +3623,7 @@ module Aws::ResilienceHub
3417
3623
  #
3418
3624
  # * `identifier`
3419
3625
  #
3420
- # The identifier of the resource.
3626
+ # Identifier of the resource.
3421
3627
  #
3422
3628
  # Type: String
3423
3629
  #
@@ -3442,7 +3648,7 @@ module Aws::ResilienceHub
3442
3648
  #
3443
3649
  # * `eksSourceName`
3444
3650
  #
3445
- # The name of the Amazon Elastic Kubernetes Service cluster and
3651
+ # Name of the Amazon Elastic Kubernetes Service cluster and
3446
3652
  # namespace this resource belongs to.
3447
3653
  #
3448
3654
  # <note markdown="1"> This parameter accepts values in "eks-cluster/namespace"
@@ -3454,7 +3660,7 @@ module Aws::ResilienceHub
3454
3660
  #
3455
3661
  # * <b> <code>version</code> </b>
3456
3662
  #
3457
- # The Resilience Hub application version.
3663
+ # Resilience Hub application version.
3458
3664
  #
3459
3665
  # * `additionalInfo`
3460
3666
  #
@@ -3507,7 +3713,7 @@ module Aws::ResilienceHub
3507
3713
  # Removes resource mappings from a draft application version.
3508
3714
  #
3509
3715
  # @option params [required, String] :app_arn
3510
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3716
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3511
3717
  # format for this ARN is:
3512
3718
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3513
3719
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3579,7 +3785,7 @@ module Aws::ResilienceHub
3579
3785
  # Resolves the resources for an application version.
3580
3786
  #
3581
3787
  # @option params [required, String] :app_arn
3582
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3788
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3583
3789
  # format for this ARN is:
3584
3790
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3585
3791
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3625,7 +3831,7 @@ module Aws::ResilienceHub
3625
3831
  # Creates a new application assessment for an application.
3626
3832
  #
3627
3833
  # @option params [required, String] :app_arn
3628
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3834
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3629
3835
  # format for this ARN is:
3630
3836
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3631
3837
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3650,9 +3856,8 @@ module Aws::ResilienceHub
3650
3856
  # not need to pass this option.**
3651
3857
  #
3652
3858
  # @option params [Hash<String,String>] :tags
3653
- # The tags assigned to the resource. A tag is a label that you assign to
3654
- # an Amazon Web Services resource. Each tag consists of a key/value
3655
- # 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.
3656
3861
  #
3657
3862
  # @return [Types::StartAppAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3658
3863
  #
@@ -3692,6 +3897,7 @@ module Aws::ResilienceHub
3692
3897
  # resp.assessment.cost.amount #=> Float
3693
3898
  # resp.assessment.cost.currency #=> String
3694
3899
  # resp.assessment.cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
3900
+ # resp.assessment.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
3695
3901
  # resp.assessment.end_time #=> Time
3696
3902
  # resp.assessment.invoker #=> String, one of "User", "System"
3697
3903
  # resp.assessment.message #=> String
@@ -3706,7 +3912,7 @@ module Aws::ResilienceHub
3706
3912
  # resp.assessment.policy.policy_name #=> String
3707
3913
  # resp.assessment.policy.tags #=> Hash
3708
3914
  # resp.assessment.policy.tags["TagKey"] #=> String
3709
- # 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"
3710
3916
  # resp.assessment.resiliency_score.disruption_score #=> Hash
3711
3917
  # resp.assessment.resiliency_score.disruption_score["DisruptionType"] #=> Float
3712
3918
  # resp.assessment.resiliency_score.score #=> Float
@@ -3718,6 +3924,7 @@ module Aws::ResilienceHub
3718
3924
  # resp.assessment.start_time #=> Time
3719
3925
  # resp.assessment.tags #=> Hash
3720
3926
  # resp.assessment.tags["TagKey"] #=> String
3927
+ # resp.assessment.version_name #=> String
3721
3928
  #
3722
3929
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartAppAssessment AWS API Documentation
3723
3930
  #
@@ -3731,7 +3938,7 @@ module Aws::ResilienceHub
3731
3938
  # Applies one or more tags to a resource.
3732
3939
  #
3733
3940
  # @option params [required, String] :resource_arn
3734
- # The Amazon Resource Name (ARN) of the resource.
3941
+ # Amazon Resource Name (ARN) of the resource.
3735
3942
  #
3736
3943
  # @option params [required, Hash<String,String>] :tags
3737
3944
  # The tags to assign to the resource. Each tag consists of a key/value
@@ -3760,7 +3967,7 @@ module Aws::ResilienceHub
3760
3967
  # Removes one or more tags from a resource.
3761
3968
  #
3762
3969
  # @option params [required, String] :resource_arn
3763
- # The Amazon Resource Name (ARN) of the resource.
3970
+ # Amazon Resource Name (ARN) of the resource.
3764
3971
  #
3765
3972
  # @option params [required, Array<String>] :tag_keys
3766
3973
  # The keys of the tags you want to remove.
@@ -3786,7 +3993,7 @@ module Aws::ResilienceHub
3786
3993
  # Updates an application.
3787
3994
  #
3788
3995
  # @option params [required, String] :app_arn
3789
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
3996
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3790
3997
  # format for this ARN is:
3791
3998
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3792
3999
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3805,9 +4012,19 @@ module Aws::ResilienceHub
3805
4012
  # @option params [String] :description
3806
4013
  # The optional description for an app.
3807
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
+ #
3808
4025
  # @option params [String] :policy_arn
3809
- # The Amazon Resource Name (ARN) of the resiliency policy. The format
3810
- # for this ARN is:
4026
+ # Amazon Resource Name (ARN) of the resiliency policy. The format for
4027
+ # this ARN is:
3811
4028
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
3812
4029
  # For more information about ARNs, see [ Amazon Resource Names
3813
4030
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -3827,6 +4044,18 @@ module Aws::ResilienceHub
3827
4044
  # assessment_schedule: "Disabled", # accepts Disabled, Daily
3828
4045
  # clear_resiliency_policy_arn: false,
3829
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
+ # },
3830
4059
  # policy_arn: "Arn",
3831
4060
  # })
3832
4061
  #
@@ -3837,9 +4066,19 @@ module Aws::ResilienceHub
3837
4066
  # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
3838
4067
  # resp.app.creation_time #=> Time
3839
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
3840
4074
  # resp.app.last_app_compliance_evaluation_time #=> Time
4075
+ # resp.app.last_drift_evaluation_time #=> Time
3841
4076
  # resp.app.last_resiliency_score_evaluation_time #=> Time
3842
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"
3843
4082
  # resp.app.policy_arn #=> String
3844
4083
  # resp.app.resiliency_score #=> Float
3845
4084
  # resp.app.status #=> String, one of "Active", "Deleting"
@@ -3884,7 +4123,7 @@ module Aws::ResilienceHub
3884
4123
  # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/app-config-param.html
3885
4124
  #
3886
4125
  # @option params [required, String] :app_arn
3887
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
4126
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3888
4127
  # format for this ARN is:
3889
4128
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3890
4129
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3940,7 +4179,7 @@ module Aws::ResilienceHub
3940
4179
  # Application Components.
3941
4180
  #
3942
4181
  # @option params [required, String] :app_arn
3943
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
4182
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3944
4183
  # format for this ARN is:
3945
4184
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3946
4185
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -3951,15 +4190,14 @@ module Aws::ResilienceHub
3951
4190
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3952
4191
  #
3953
4192
  # @option params [required, String] :id
3954
- # The identifier of the Application Component.
4193
+ # Identifier of the Application Component.
3955
4194
  #
3956
4195
  # @option params [String] :name
3957
- # The name of the Application Component.
4196
+ # Name of the Application Component.
3958
4197
  #
3959
4198
  # @option params [String] :type
3960
- # The type of Application Component. For more information about the
3961
- # types of Application Component, see [Grouping resources in an
3962
- # AppComponent][1].
4199
+ # Type of Application Component. For more information about the types of
4200
+ # Application Component, see [Grouping resources in an AppComponent][1].
3963
4201
  #
3964
4202
  #
3965
4203
  #
@@ -4021,7 +4259,7 @@ module Aws::ResilienceHub
4021
4259
  # Currently, there is no supported additional information for resources.
4022
4260
  #
4023
4261
  # @option params [required, String] :app_arn
4024
- # The Amazon Resource Name (ARN) of the Resilience Hub application. The
4262
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
4025
4263
  # format for this ARN is:
4026
4264
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
4027
4265
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
@@ -4032,15 +4270,15 @@ module Aws::ResilienceHub
4032
4270
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
4033
4271
  #
4034
4272
  # @option params [Array<String>] :app_components
4035
- # The list of Application Components that this resource belongs to. If
4036
- # an Application Component is not part of the Resilience Hub
4037
- # 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.
4038
4276
  #
4039
4277
  # @option params [String] :aws_account_id
4040
- # The Amazon Web Services account that owns the physical resource.
4278
+ # Amazon Web Services account that owns the physical resource.
4041
4279
  #
4042
4280
  # @option params [String] :aws_region
4043
- # The Amazon Web Services region that owns the physical resource.
4281
+ # Amazon Web Services region that owns the physical resource.
4044
4282
  #
4045
4283
  # @option params [Boolean] :excluded
4046
4284
  # Indicates if a resource is excluded from an Resilience Hub
@@ -4052,16 +4290,16 @@ module Aws::ResilienceHub
4052
4290
  # </note>
4053
4291
  #
4054
4292
  # @option params [Types::LogicalResourceId] :logical_resource_id
4055
- # The logical identifier of the resource.
4293
+ # Logical identifier of the resource.
4056
4294
  #
4057
4295
  # @option params [String] :physical_resource_id
4058
- # The physical identifier of the resource.
4296
+ # Physical identifier of the resource.
4059
4297
  #
4060
4298
  # @option params [String] :resource_name
4061
- # The name of the resource.
4299
+ # Name of the resource.
4062
4300
  #
4063
4301
  # @option params [String] :resource_type
4064
- # The type of resource.
4302
+ # Type of resource.
4065
4303
  #
4066
4304
  # @return [Types::UpdateAppVersionResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4067
4305
  #
@@ -4141,8 +4379,8 @@ module Aws::ResilienceHub
4141
4379
  # time objective (RTO) and recovery point objective (RPO) in seconds.
4142
4380
  #
4143
4381
  # @option params [required, String] :policy_arn
4144
- # The Amazon Resource Name (ARN) of the resiliency policy. The format
4145
- # for this ARN is:
4382
+ # Amazon Resource Name (ARN) of the resiliency policy. The format for
4383
+ # this ARN is:
4146
4384
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
4147
4385
  # For more information about ARNs, see [ Amazon Resource Names
4148
4386
  # (ARNs)][1] in the *AWS General Reference* guide.
@@ -4178,7 +4416,7 @@ module Aws::ResilienceHub
4178
4416
  # policy_arn: "Arn", # required
4179
4417
  # policy_description: "EntityDescription",
4180
4418
  # policy_name: "EntityName",
4181
- # tier: "MissionCritical", # accepts MissionCritical, Critical, Important, CoreServices, NonCritical
4419
+ # tier: "MissionCritical", # accepts MissionCritical, Critical, Important, CoreServices, NonCritical, NotApplicable
4182
4420
  # })
4183
4421
  #
4184
4422
  # @example Response structure
@@ -4194,7 +4432,7 @@ module Aws::ResilienceHub
4194
4432
  # resp.policy.policy_name #=> String
4195
4433
  # resp.policy.tags #=> Hash
4196
4434
  # resp.policy.tags["TagKey"] #=> String
4197
- # resp.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical"
4435
+ # resp.policy.tier #=> String, one of "MissionCritical", "Critical", "Important", "CoreServices", "NonCritical", "NotApplicable"
4198
4436
  #
4199
4437
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicy AWS API Documentation
4200
4438
  #
@@ -4218,7 +4456,7 @@ module Aws::ResilienceHub
4218
4456
  params: params,
4219
4457
  config: config)
4220
4458
  context[:gem_name] = 'aws-sdk-resiliencehub'
4221
- context[:gem_version] = '1.18.0'
4459
+ context[:gem_version] = '1.19.0'
4222
4460
  Seahorse::Client::Request.new(handlers, context)
4223
4461
  end
4224
4462