aws-sdk-resiliencehub 1.32.0 → 1.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7285fcab7c46456cf64f64dc18a7c497ea5039930cb79174e8f09b75bdbd418
4
- data.tar.gz: ec8433b1acf4ac57ad2bd477a74b5dca5b89d699728aee5e3a86ce7c90dfb56a
3
+ metadata.gz: 65e31dd205d97b27b4b54e28ffe075f34467b3e4a276c0a9f2872b0fb304325b
4
+ data.tar.gz: 963b01ee61345491136d3460f4b1f96d67b394bce09387812a83ca85d83fdf06
5
5
  SHA512:
6
- metadata.gz: 16a7856674a73c67d75840e72b6ee20f568603617367bd017f2886c36000f457c58fd4e74a233de8af1ccb37d6e1a608f187faaccc4df3cca955ec28ee10b563
7
- data.tar.gz: 38a9d5509cf0a2d2e4bd6713c4ee679023de0e46b5698f800de36ac07b64f319b8a9c53a419f9dfc92604012889cb374b59e8ab15c2fb8c6d3de1a2c22c94f4e
6
+ metadata.gz: c384dd635bc23c4a0ad0d5cac2059f84c43b7b4149b96b2f4d0ce94b1f8f0bced2964761b680007a6c23e45c743790e1b59d35cdd82308c24d1d05d40f44cf24
7
+ data.tar.gz: 0a10f31ee5c9a5a65981c3774c1374f6edfa14f8000e0fce6cebc6d23623d82e5b44f1e0eb40f50b98a1e4284cb77f519e69b52fc81bed73d025974228c26f84
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2024-08-02)
5
+ ------------------
6
+
7
+ * Feature - Customers are presented with the grouping recommendations and can determine if the recommendations are accurate and apply to their case. This feature simplifies onboarding by organizing resources into appropriate AppComponents.
8
+
4
9
  1.32.0 (2024-07-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.32.0
1
+ 1.33.0
@@ -425,11 +425,61 @@ module Aws::ResilienceHub
425
425
 
426
426
  # @!group API Operations
427
427
 
428
+ # Accepts the resource grouping recommendations suggested by Resilience
429
+ # Hub for your application.
430
+ #
431
+ # @option params [required, String] :app_arn
432
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
433
+ # format for this ARN is:
434
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
435
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
436
+ # the *Amazon Web Services General Reference* guide.
437
+ #
438
+ #
439
+ #
440
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
441
+ #
442
+ # @option params [required, Array<Types::AcceptGroupingRecommendationEntry>] :entries
443
+ # Indicates the list of resource grouping recommendations you want to
444
+ # include in your application.
445
+ #
446
+ # @return [Types::AcceptResourceGroupingRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
447
+ #
448
+ # * {Types::AcceptResourceGroupingRecommendationsResponse#app_arn #app_arn} => String
449
+ # * {Types::AcceptResourceGroupingRecommendationsResponse#failed_entries #failed_entries} => Array&lt;Types::FailedGroupingRecommendationEntry&gt;
450
+ #
451
+ # @example Request syntax with placeholder values
452
+ #
453
+ # resp = client.accept_resource_grouping_recommendations({
454
+ # app_arn: "Arn", # required
455
+ # entries: [ # required
456
+ # {
457
+ # grouping_recommendation_id: "String255", # required
458
+ # },
459
+ # ],
460
+ # })
461
+ #
462
+ # @example Response structure
463
+ #
464
+ # resp.app_arn #=> String
465
+ # resp.failed_entries #=> Array
466
+ # resp.failed_entries[0].error_message #=> String
467
+ # resp.failed_entries[0].grouping_recommendation_id #=> String
468
+ #
469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AcceptResourceGroupingRecommendations AWS API Documentation
470
+ #
471
+ # @overload accept_resource_grouping_recommendations(params = {})
472
+ # @param [Hash] params ({})
473
+ def accept_resource_grouping_recommendations(params = {}, options = {})
474
+ req = build_request(:accept_resource_grouping_recommendations, params)
475
+ req.send_request(options)
476
+ end
477
+
428
478
  # Adds the source of resource-maps to the draft version of an
429
479
  # application. During assessment, Resilience Hub will use these
430
480
  # resource-maps to resolve the latest physical ID for each resource in
431
481
  # the application template. For more information about different types
432
- # of resources suported by Resilience Hub and how to add them in your
482
+ # of resources supported by Resilience Hub and how to add them in your
433
483
  # application, see [Step 2: How is your application managed?][1] in the
434
484
  # Resilience Hub User Guide.
435
485
  #
@@ -675,7 +725,7 @@ module Aws::ResilienceHub
675
725
  #
676
726
  # resp.app.app_arn #=> String
677
727
  # resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
678
- # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
728
+ # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected", "NotApplicable", "MissingPolicy"
679
729
  # resp.app.creation_time #=> Time
680
730
  # resp.app.description #=> String
681
731
  # resp.app.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
@@ -1594,7 +1644,7 @@ module Aws::ResilienceHub
1594
1644
  #
1595
1645
  # resp.app.app_arn #=> String
1596
1646
  # resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
1597
- # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
1647
+ # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected", "NotApplicable", "MissingPolicy"
1598
1648
  # resp.app.creation_time #=> Time
1599
1649
  # resp.app.description #=> String
1600
1650
  # resp.app.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
@@ -1660,7 +1710,7 @@ module Aws::ResilienceHub
1660
1710
  # resp.assessment.compliance #=> Hash
1661
1711
  # resp.assessment.compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
1662
1712
  # resp.assessment.compliance["DisruptionType"].achievable_rto_in_secs #=> Integer
1663
- # resp.assessment.compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
1713
+ # resp.assessment.compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
1664
1714
  # resp.assessment.compliance["DisruptionType"].current_rpo_in_secs #=> Integer
1665
1715
  # resp.assessment.compliance["DisruptionType"].current_rto_in_secs #=> Integer
1666
1716
  # resp.assessment.compliance["DisruptionType"].message #=> String
@@ -1668,7 +1718,7 @@ module Aws::ResilienceHub
1668
1718
  # resp.assessment.compliance["DisruptionType"].rpo_reference_id #=> String
1669
1719
  # resp.assessment.compliance["DisruptionType"].rto_description #=> String
1670
1720
  # resp.assessment.compliance["DisruptionType"].rto_reference_id #=> String
1671
- # resp.assessment.compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
1721
+ # resp.assessment.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
1672
1722
  # resp.assessment.cost.amount #=> Float
1673
1723
  # resp.assessment.cost.currency #=> String
1674
1724
  # resp.assessment.cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
@@ -1702,6 +1752,12 @@ module Aws::ResilienceHub
1702
1752
  # resp.assessment.resource_errors_details.resource_errors[0].physical_resource_id #=> String
1703
1753
  # resp.assessment.resource_errors_details.resource_errors[0].reason #=> String
1704
1754
  # resp.assessment.start_time #=> Time
1755
+ # resp.assessment.summary.risk_recommendations #=> Array
1756
+ # resp.assessment.summary.risk_recommendations[0].app_components #=> Array
1757
+ # resp.assessment.summary.risk_recommendations[0].app_components[0] #=> String
1758
+ # resp.assessment.summary.risk_recommendations[0].recommendation #=> String
1759
+ # resp.assessment.summary.risk_recommendations[0].risk #=> String
1760
+ # resp.assessment.summary.summary #=> String
1705
1761
  # resp.assessment.tags #=> Hash
1706
1762
  # resp.assessment.tags["TagKey"] #=> String
1707
1763
  # resp.assessment.version_name #=> String
@@ -1816,7 +1872,7 @@ module Aws::ResilienceHub
1816
1872
 
1817
1873
  # Describes a resource of the Resilience Hub application.
1818
1874
  #
1819
- # <note markdown="1"> This API accepts only one of the following parameters to descibe the
1875
+ # <note markdown="1"> This API accepts only one of the following parameters to describe the
1820
1876
  # resource:
1821
1877
  #
1822
1878
  # * `resourceName`
@@ -2119,6 +2175,51 @@ module Aws::ResilienceHub
2119
2175
  req.send_request(options)
2120
2176
  end
2121
2177
 
2178
+ # Describes the resource grouping recommendation tasks run by Resilience
2179
+ # Hub for your application.
2180
+ #
2181
+ # @option params [required, String] :app_arn
2182
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
2183
+ # format for this ARN is:
2184
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2185
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2186
+ # the *Amazon Web Services General Reference* guide.
2187
+ #
2188
+ #
2189
+ #
2190
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2191
+ #
2192
+ # @option params [String] :grouping_id
2193
+ # Indicates the identifier of the grouping recommendation task.
2194
+ #
2195
+ # @return [Types::DescribeResourceGroupingRecommendationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2196
+ #
2197
+ # * {Types::DescribeResourceGroupingRecommendationTaskResponse#error_message #error_message} => String
2198
+ # * {Types::DescribeResourceGroupingRecommendationTaskResponse#grouping_id #grouping_id} => String
2199
+ # * {Types::DescribeResourceGroupingRecommendationTaskResponse#status #status} => String
2200
+ #
2201
+ # @example Request syntax with placeholder values
2202
+ #
2203
+ # resp = client.describe_resource_grouping_recommendation_task({
2204
+ # app_arn: "Arn", # required
2205
+ # grouping_id: "String255",
2206
+ # })
2207
+ #
2208
+ # @example Response structure
2209
+ #
2210
+ # resp.error_message #=> String
2211
+ # resp.grouping_id #=> String
2212
+ # resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
2213
+ #
2214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResourceGroupingRecommendationTask AWS API Documentation
2215
+ #
2216
+ # @overload describe_resource_grouping_recommendation_task(params = {})
2217
+ # @param [Hash] params ({})
2218
+ def describe_resource_grouping_recommendation_task(params = {}, options = {})
2219
+ req = build_request(:describe_resource_grouping_recommendation_task, params)
2220
+ req.send_request(options)
2221
+ end
2222
+
2122
2223
  # Imports resources to Resilience Hub application draft version from
2123
2224
  # different input sources. For more information about the input sources
2124
2225
  # supported by Resilience Hub, see [Discover the structure and describe
@@ -2287,12 +2388,11 @@ module Aws::ResilienceHub
2287
2388
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2288
2389
  #
2289
2390
  # @option params [Integer] :max_results
2290
- # Indicates the maximum number of applications requested.
2391
+ # Indicates the maximum number of compliance drifts requested.
2291
2392
  #
2292
2393
  # @option params [String] :next_token
2293
- # Indicates the unique token number of the next application to be
2294
- # checked for compliance and regulatory requirements from the list of
2295
- # applications.
2394
+ # Null, or the token from a previous call to get the next set of
2395
+ # results.
2296
2396
  #
2297
2397
  # @return [Types::ListAppAssessmentComplianceDriftsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2298
2398
  #
@@ -2316,7 +2416,7 @@ module Aws::ResilienceHub
2316
2416
  # resp.compliance_drifts[0].actual_value #=> Hash
2317
2417
  # resp.compliance_drifts[0].actual_value["DisruptionType"].achievable_rpo_in_secs #=> Integer
2318
2418
  # resp.compliance_drifts[0].actual_value["DisruptionType"].achievable_rto_in_secs #=> Integer
2319
- # resp.compliance_drifts[0].actual_value["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
2419
+ # resp.compliance_drifts[0].actual_value["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
2320
2420
  # resp.compliance_drifts[0].actual_value["DisruptionType"].current_rpo_in_secs #=> Integer
2321
2421
  # resp.compliance_drifts[0].actual_value["DisruptionType"].current_rto_in_secs #=> Integer
2322
2422
  # resp.compliance_drifts[0].actual_value["DisruptionType"].message #=> String
@@ -2334,7 +2434,7 @@ module Aws::ResilienceHub
2334
2434
  # resp.compliance_drifts[0].expected_value #=> Hash
2335
2435
  # resp.compliance_drifts[0].expected_value["DisruptionType"].achievable_rpo_in_secs #=> Integer
2336
2436
  # resp.compliance_drifts[0].expected_value["DisruptionType"].achievable_rto_in_secs #=> Integer
2337
- # resp.compliance_drifts[0].expected_value["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
2437
+ # resp.compliance_drifts[0].expected_value["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
2338
2438
  # resp.compliance_drifts[0].expected_value["DisruptionType"].current_rpo_in_secs #=> Integer
2339
2439
  # resp.compliance_drifts[0].expected_value["DisruptionType"].current_rto_in_secs #=> Integer
2340
2440
  # resp.compliance_drifts[0].expected_value["DisruptionType"].message #=> String
@@ -2469,7 +2569,7 @@ module Aws::ResilienceHub
2469
2569
  # app_arn: "Arn",
2470
2570
  # assessment_name: "EntityName",
2471
2571
  # assessment_status: ["Pending"], # accepts Pending, InProgress, Failed, Success
2472
- # compliance_status: "PolicyBreached", # accepts PolicyBreached, PolicyMet
2572
+ # compliance_status: "PolicyBreached", # accepts PolicyBreached, PolicyMet, NotApplicable, MissingPolicy
2473
2573
  # invoker: "User", # accepts User, System
2474
2574
  # max_results: 1,
2475
2575
  # next_token: "NextToken",
@@ -2484,7 +2584,7 @@ module Aws::ResilienceHub
2484
2584
  # resp.assessment_summaries[0].assessment_arn #=> String
2485
2585
  # resp.assessment_summaries[0].assessment_name #=> String
2486
2586
  # resp.assessment_summaries[0].assessment_status #=> String, one of "Pending", "InProgress", "Failed", "Success"
2487
- # resp.assessment_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
2587
+ # resp.assessment_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
2488
2588
  # resp.assessment_summaries[0].cost.amount #=> Float
2489
2589
  # resp.assessment_summaries[0].cost.currency #=> String
2490
2590
  # resp.assessment_summaries[0].cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
@@ -2550,7 +2650,7 @@ module Aws::ResilienceHub
2550
2650
  # resp.component_compliances[0].compliance #=> Hash
2551
2651
  # resp.component_compliances[0].compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
2552
2652
  # resp.component_compliances[0].compliance["DisruptionType"].achievable_rto_in_secs #=> Integer
2553
- # resp.component_compliances[0].compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
2653
+ # resp.component_compliances[0].compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
2554
2654
  # resp.component_compliances[0].compliance["DisruptionType"].current_rpo_in_secs #=> Integer
2555
2655
  # resp.component_compliances[0].compliance["DisruptionType"].current_rto_in_secs #=> Integer
2556
2656
  # resp.component_compliances[0].compliance["DisruptionType"].message #=> String
@@ -2570,7 +2670,7 @@ module Aws::ResilienceHub
2570
2670
  # resp.component_compliances[0].resiliency_score.disruption_score #=> Hash
2571
2671
  # resp.component_compliances[0].resiliency_score.disruption_score["DisruptionType"] #=> Float
2572
2672
  # resp.component_compliances[0].resiliency_score.score #=> Float
2573
- # resp.component_compliances[0].status #=> String, one of "PolicyBreached", "PolicyMet"
2673
+ # resp.component_compliances[0].status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
2574
2674
  # resp.next_token #=> String
2575
2675
  #
2576
2676
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliances AWS API Documentation
@@ -2628,7 +2728,7 @@ module Aws::ResilienceHub
2628
2728
  # resp.component_recommendations[0].config_recommendations[0].compliance #=> Hash
2629
2729
  # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
2630
2730
  # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].achievable_rto_in_secs #=> Integer
2631
- # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
2731
+ # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
2632
2732
  # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].current_rpo_in_secs #=> Integer
2633
2733
  # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].current_rto_in_secs #=> Integer
2634
2734
  # resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].message #=> String
@@ -2644,7 +2744,7 @@ module Aws::ResilienceHub
2644
2744
  # resp.component_recommendations[0].config_recommendations[0].name #=> String
2645
2745
  # resp.component_recommendations[0].config_recommendations[0].optimization_type #=> String, one of "LeastCost", "LeastChange", "BestAZRecovery", "LeastErrors", "BestAttainable", "BestRegionRecovery"
2646
2746
  # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance #=> Hash
2647
- # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
2747
+ # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
2648
2748
  # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rpo_description #=> String
2649
2749
  # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rpo_in_secs #=> Integer
2650
2750
  # resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rto_description #=> String
@@ -2652,7 +2752,7 @@ module Aws::ResilienceHub
2652
2752
  # resp.component_recommendations[0].config_recommendations[0].reference_id #=> String
2653
2753
  # resp.component_recommendations[0].config_recommendations[0].suggested_changes #=> Array
2654
2754
  # resp.component_recommendations[0].config_recommendations[0].suggested_changes[0] #=> String
2655
- # resp.component_recommendations[0].recommendation_status #=> String, one of "BreachedUnattainable", "BreachedCanMeet", "MetCanImprove"
2755
+ # resp.component_recommendations[0].recommendation_status #=> String, one of "BreachedUnattainable", "BreachedCanMeet", "MetCanImprove", "MissingPolicy"
2656
2756
  # resp.next_token #=> String
2657
2757
  #
2658
2758
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations AWS API Documentation
@@ -3054,7 +3154,7 @@ module Aws::ResilienceHub
3054
3154
  # @option params [Boolean] :reverse_order
3055
3155
  # The application list is sorted based on the values of
3056
3156
  # `lastAppComplianceEvaluationTime` field. By default, application list
3057
- # is sorted in ascending order. To sort the appliation list in
3157
+ # is sorted in ascending order. To sort the application list in
3058
3158
  # descending order, set this field to `True`.
3059
3159
  #
3060
3160
  # @option params [Time,DateTime,Date,Integer,String] :to_last_assessment_time
@@ -3085,7 +3185,7 @@ module Aws::ResilienceHub
3085
3185
  # resp.app_summaries #=> Array
3086
3186
  # resp.app_summaries[0].app_arn #=> String
3087
3187
  # resp.app_summaries[0].assessment_schedule #=> String, one of "Disabled", "Daily"
3088
- # resp.app_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
3188
+ # resp.app_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected", "NotApplicable", "MissingPolicy"
3089
3189
  # resp.app_summaries[0].creation_time #=> Time
3090
3190
  # resp.app_summaries[0].description #=> String
3091
3191
  # resp.app_summaries[0].drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
@@ -3248,6 +3348,82 @@ module Aws::ResilienceHub
3248
3348
  req.send_request(options)
3249
3349
  end
3250
3350
 
3351
+ # Lists the resource grouping recommendations suggested by Resilience
3352
+ # Hub for your application.
3353
+ #
3354
+ # @option params [String] :app_arn
3355
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
3356
+ # format for this ARN is:
3357
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3358
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3359
+ # the *Amazon Web Services General Reference* guide.
3360
+ #
3361
+ #
3362
+ #
3363
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3364
+ #
3365
+ # @option params [Integer] :max_results
3366
+ # Maximum number of grouping recommendations to be displayed per
3367
+ # Resilience Hub application.
3368
+ #
3369
+ # @option params [String] :next_token
3370
+ # Null, or the token from a previous call to get the next set of
3371
+ # results.
3372
+ #
3373
+ # @return [Types::ListResourceGroupingRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3374
+ #
3375
+ # * {Types::ListResourceGroupingRecommendationsResponse#grouping_recommendations #grouping_recommendations} => Array&lt;Types::GroupingRecommendation&gt;
3376
+ # * {Types::ListResourceGroupingRecommendationsResponse#next_token #next_token} => String
3377
+ #
3378
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3379
+ #
3380
+ # @example Request syntax with placeholder values
3381
+ #
3382
+ # resp = client.list_resource_grouping_recommendations({
3383
+ # app_arn: "Arn",
3384
+ # max_results: 1,
3385
+ # next_token: "NextToken",
3386
+ # })
3387
+ #
3388
+ # @example Response structure
3389
+ #
3390
+ # resp.grouping_recommendations #=> Array
3391
+ # resp.grouping_recommendations[0].confidence_level #=> String, one of "High", "Medium"
3392
+ # resp.grouping_recommendations[0].creation_time #=> Time
3393
+ # resp.grouping_recommendations[0].grouping_app_component.app_component_id #=> String
3394
+ # resp.grouping_recommendations[0].grouping_app_component.app_component_name #=> String
3395
+ # resp.grouping_recommendations[0].grouping_app_component.app_component_type #=> String
3396
+ # resp.grouping_recommendations[0].grouping_recommendation_id #=> String
3397
+ # resp.grouping_recommendations[0].recommendation_reasons #=> Array
3398
+ # resp.grouping_recommendations[0].recommendation_reasons[0] #=> String
3399
+ # resp.grouping_recommendations[0].rejection_reason #=> String, one of "DistinctBusinessPurpose", "SeparateDataConcern", "DistinctUserGroupHandling", "Other"
3400
+ # resp.grouping_recommendations[0].resources #=> Array
3401
+ # resp.grouping_recommendations[0].resources[0].logical_resource_id.eks_source_name #=> String
3402
+ # resp.grouping_recommendations[0].resources[0].logical_resource_id.identifier #=> String
3403
+ # resp.grouping_recommendations[0].resources[0].logical_resource_id.logical_stack_name #=> String
3404
+ # resp.grouping_recommendations[0].resources[0].logical_resource_id.resource_group_name #=> String
3405
+ # resp.grouping_recommendations[0].resources[0].logical_resource_id.terraform_source_name #=> String
3406
+ # resp.grouping_recommendations[0].resources[0].physical_resource_id.aws_account_id #=> String
3407
+ # resp.grouping_recommendations[0].resources[0].physical_resource_id.aws_region #=> String
3408
+ # resp.grouping_recommendations[0].resources[0].physical_resource_id.identifier #=> String
3409
+ # resp.grouping_recommendations[0].resources[0].physical_resource_id.type #=> String, one of "Arn", "Native"
3410
+ # resp.grouping_recommendations[0].resources[0].resource_name #=> String
3411
+ # resp.grouping_recommendations[0].resources[0].resource_type #=> String
3412
+ # resp.grouping_recommendations[0].resources[0].source_app_component_ids #=> Array
3413
+ # resp.grouping_recommendations[0].resources[0].source_app_component_ids[0] #=> String
3414
+ # resp.grouping_recommendations[0].score #=> Float
3415
+ # resp.grouping_recommendations[0].status #=> String, one of "Accepted", "Rejected", "PendingDecision"
3416
+ # resp.next_token #=> String
3417
+ #
3418
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResourceGroupingRecommendations AWS API Documentation
3419
+ #
3420
+ # @overload list_resource_grouping_recommendations(params = {})
3421
+ # @param [Hash] params ({})
3422
+ def list_resource_grouping_recommendations(params = {}, options = {})
3423
+ req = build_request(:list_resource_grouping_recommendations, params)
3424
+ req.send_request(options)
3425
+ end
3426
+
3251
3427
  # Lists the standard operating procedure (SOP) recommendations for the
3252
3428
  # Resilience Hub applications.
3253
3429
  #
@@ -3866,6 +4042,56 @@ module Aws::ResilienceHub
3866
4042
  req.send_request(options)
3867
4043
  end
3868
4044
 
4045
+ # Rejects resource grouping recommendations.
4046
+ #
4047
+ # @option params [required, String] :app_arn
4048
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
4049
+ # format for this ARN is:
4050
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
4051
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
4052
+ # the *Amazon Web Services General Reference* guide.
4053
+ #
4054
+ #
4055
+ #
4056
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
4057
+ #
4058
+ # @option params [required, Array<Types::RejectGroupingRecommendationEntry>] :entries
4059
+ # Indicates the list of resource grouping recommendations you have
4060
+ # selected to exclude from your application.
4061
+ #
4062
+ # @return [Types::RejectResourceGroupingRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4063
+ #
4064
+ # * {Types::RejectResourceGroupingRecommendationsResponse#app_arn #app_arn} => String
4065
+ # * {Types::RejectResourceGroupingRecommendationsResponse#failed_entries #failed_entries} => Array&lt;Types::FailedGroupingRecommendationEntry&gt;
4066
+ #
4067
+ # @example Request syntax with placeholder values
4068
+ #
4069
+ # resp = client.reject_resource_grouping_recommendations({
4070
+ # app_arn: "Arn", # required
4071
+ # entries: [ # required
4072
+ # {
4073
+ # grouping_recommendation_id: "String255", # required
4074
+ # rejection_reason: "DistinctBusinessPurpose", # accepts DistinctBusinessPurpose, SeparateDataConcern, DistinctUserGroupHandling, Other
4075
+ # },
4076
+ # ],
4077
+ # })
4078
+ #
4079
+ # @example Response structure
4080
+ #
4081
+ # resp.app_arn #=> String
4082
+ # resp.failed_entries #=> Array
4083
+ # resp.failed_entries[0].error_message #=> String
4084
+ # resp.failed_entries[0].grouping_recommendation_id #=> String
4085
+ #
4086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RejectResourceGroupingRecommendations AWS API Documentation
4087
+ #
4088
+ # @overload reject_resource_grouping_recommendations(params = {})
4089
+ # @param [Hash] params ({})
4090
+ def reject_resource_grouping_recommendations(params = {}, options = {})
4091
+ req = build_request(:reject_resource_grouping_recommendations, params)
4092
+ req.send_request(options)
4093
+ end
4094
+
3869
4095
  # Removes resource mappings from a draft application version.
3870
4096
  #
3871
4097
  # @option params [required, String] :app_arn
@@ -4041,7 +4267,7 @@ module Aws::ResilienceHub
4041
4267
  # resp.assessment.compliance #=> Hash
4042
4268
  # resp.assessment.compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
4043
4269
  # resp.assessment.compliance["DisruptionType"].achievable_rto_in_secs #=> Integer
4044
- # resp.assessment.compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
4270
+ # resp.assessment.compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
4045
4271
  # resp.assessment.compliance["DisruptionType"].current_rpo_in_secs #=> Integer
4046
4272
  # resp.assessment.compliance["DisruptionType"].current_rto_in_secs #=> Integer
4047
4273
  # resp.assessment.compliance["DisruptionType"].message #=> String
@@ -4049,7 +4275,7 @@ module Aws::ResilienceHub
4049
4275
  # resp.assessment.compliance["DisruptionType"].rpo_reference_id #=> String
4050
4276
  # resp.assessment.compliance["DisruptionType"].rto_description #=> String
4051
4277
  # resp.assessment.compliance["DisruptionType"].rto_reference_id #=> String
4052
- # resp.assessment.compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
4278
+ # resp.assessment.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
4053
4279
  # resp.assessment.cost.amount #=> Float
4054
4280
  # resp.assessment.cost.currency #=> String
4055
4281
  # resp.assessment.cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
@@ -4083,6 +4309,12 @@ module Aws::ResilienceHub
4083
4309
  # resp.assessment.resource_errors_details.resource_errors[0].physical_resource_id #=> String
4084
4310
  # resp.assessment.resource_errors_details.resource_errors[0].reason #=> String
4085
4311
  # resp.assessment.start_time #=> Time
4312
+ # resp.assessment.summary.risk_recommendations #=> Array
4313
+ # resp.assessment.summary.risk_recommendations[0].app_components #=> Array
4314
+ # resp.assessment.summary.risk_recommendations[0].app_components[0] #=> String
4315
+ # resp.assessment.summary.risk_recommendations[0].recommendation #=> String
4316
+ # resp.assessment.summary.risk_recommendations[0].risk #=> String
4317
+ # resp.assessment.summary.summary #=> String
4086
4318
  # resp.assessment.tags #=> Hash
4087
4319
  # resp.assessment.tags["TagKey"] #=> String
4088
4320
  # resp.assessment.version_name #=> String
@@ -4096,6 +4328,48 @@ module Aws::ResilienceHub
4096
4328
  req.send_request(options)
4097
4329
  end
4098
4330
 
4331
+ # Starts grouping recommendation task.
4332
+ #
4333
+ # @option params [required, String] :app_arn
4334
+ # Amazon Resource Name (ARN) of the Resilience Hub application. The
4335
+ # format for this ARN is:
4336
+ # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
4337
+ # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
4338
+ # the *Amazon Web Services General Reference* guide.
4339
+ #
4340
+ #
4341
+ #
4342
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
4343
+ #
4344
+ # @return [Types::StartResourceGroupingRecommendationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4345
+ #
4346
+ # * {Types::StartResourceGroupingRecommendationTaskResponse#app_arn #app_arn} => String
4347
+ # * {Types::StartResourceGroupingRecommendationTaskResponse#error_message #error_message} => String
4348
+ # * {Types::StartResourceGroupingRecommendationTaskResponse#grouping_id #grouping_id} => String
4349
+ # * {Types::StartResourceGroupingRecommendationTaskResponse#status #status} => String
4350
+ #
4351
+ # @example Request syntax with placeholder values
4352
+ #
4353
+ # resp = client.start_resource_grouping_recommendation_task({
4354
+ # app_arn: "Arn", # required
4355
+ # })
4356
+ #
4357
+ # @example Response structure
4358
+ #
4359
+ # resp.app_arn #=> String
4360
+ # resp.error_message #=> String
4361
+ # resp.grouping_id #=> String
4362
+ # resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
4363
+ #
4364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartResourceGroupingRecommendationTask AWS API Documentation
4365
+ #
4366
+ # @overload start_resource_grouping_recommendation_task(params = {})
4367
+ # @param [Hash] params ({})
4368
+ def start_resource_grouping_recommendation_task(params = {}, options = {})
4369
+ req = build_request(:start_resource_grouping_recommendation_task, params)
4370
+ req.send_request(options)
4371
+ end
4372
+
4099
4373
  # Applies one or more tags to a resource.
4100
4374
  #
4101
4375
  # @option params [required, String] :resource_arn
@@ -4224,7 +4498,7 @@ module Aws::ResilienceHub
4224
4498
  #
4225
4499
  # resp.app.app_arn #=> String
4226
4500
  # resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
4227
- # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
4501
+ # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected", "NotApplicable", "MissingPolicy"
4228
4502
  # resp.app.creation_time #=> Time
4229
4503
  # resp.app.description #=> String
4230
4504
  # resp.app.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
@@ -4629,7 +4903,7 @@ module Aws::ResilienceHub
4629
4903
  params: params,
4630
4904
  config: config)
4631
4905
  context[:gem_name] = 'aws-sdk-resiliencehub'
4632
- context[:gem_version] = '1.32.0'
4906
+ context[:gem_version] = '1.33.0'
4633
4907
  Seahorse::Client::Request.new(handlers, context)
4634
4908
  end
4635
4909