aws-sdk-resiliencehub 1.31.0 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehub/client.rb +308 -25
- data/lib/aws-sdk-resiliencehub/client_api.rb +204 -2
- data/lib/aws-sdk-resiliencehub/endpoints.rb +70 -0
- data/lib/aws-sdk-resiliencehub/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-resiliencehub/types.rb +540 -10
- data/lib/aws-sdk-resiliencehub.rb +2 -2
- data/sig/client.rbs +74 -1
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +132 -9
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65e31dd205d97b27b4b54e28ffe075f34467b3e4a276c0a9f2872b0fb304325b
|
4
|
+
data.tar.gz: 963b01ee61345491136d3460f4b1f96d67b394bce09387812a83ca85d83fdf06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c384dd635bc23c4a0ad0d5cac2059f84c43b7b4149b96b2f4d0ce94b1f8f0bced2964761b680007a6c23e45c743790e1b59d35cdd82308c24d1d05d40f44cf24
|
7
|
+
data.tar.gz: 0a10f31ee5c9a5a65981c3774c1374f6edfa14f8000e0fce6cebc6d23623d82e5b44f1e0eb40f50b98a1e4284cb77f519e69b52fc81bed73d025974228c26f84
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
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
|
+
|
9
|
+
1.32.0 (2024-07-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.31.0 (2024-06-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.33.0
|
@@ -312,6 +312,15 @@ module Aws::ResilienceHub
|
|
312
312
|
#
|
313
313
|
# @option options [String] :session_token
|
314
314
|
#
|
315
|
+
# @option options [Array] :sigv4a_signing_region_set
|
316
|
+
# A list of regions that should be signed with SigV4a signing. When
|
317
|
+
# not passed, a default `:sigv4a_signing_region_set` is searched for
|
318
|
+
# in the following locations:
|
319
|
+
#
|
320
|
+
# * `Aws.config[:sigv4a_signing_region_set]`
|
321
|
+
# * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
|
322
|
+
# * `~/.aws/config`
|
323
|
+
#
|
315
324
|
# @option options [Boolean] :stub_responses (false)
|
316
325
|
# Causes the client to return stubbed responses. By default
|
317
326
|
# fake responses are generated and returned. You can specify
|
@@ -416,11 +425,61 @@ module Aws::ResilienceHub
|
|
416
425
|
|
417
426
|
# @!group API Operations
|
418
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<Types::FailedGroupingRecommendationEntry>
|
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
|
+
|
419
478
|
# Adds the source of resource-maps to the draft version of an
|
420
479
|
# application. During assessment, Resilience Hub will use these
|
421
480
|
# resource-maps to resolve the latest physical ID for each resource in
|
422
481
|
# the application template. For more information about different types
|
423
|
-
# of resources
|
482
|
+
# of resources supported by Resilience Hub and how to add them in your
|
424
483
|
# application, see [Step 2: How is your application managed?][1] in the
|
425
484
|
# Resilience Hub User Guide.
|
426
485
|
#
|
@@ -666,7 +725,7 @@ module Aws::ResilienceHub
|
|
666
725
|
#
|
667
726
|
# resp.app.app_arn #=> String
|
668
727
|
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
669
|
-
# 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"
|
670
729
|
# resp.app.creation_time #=> Time
|
671
730
|
# resp.app.description #=> String
|
672
731
|
# resp.app.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
|
@@ -1585,7 +1644,7 @@ module Aws::ResilienceHub
|
|
1585
1644
|
#
|
1586
1645
|
# resp.app.app_arn #=> String
|
1587
1646
|
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
1588
|
-
# 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"
|
1589
1648
|
# resp.app.creation_time #=> Time
|
1590
1649
|
# resp.app.description #=> String
|
1591
1650
|
# resp.app.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
|
@@ -1651,7 +1710,7 @@ module Aws::ResilienceHub
|
|
1651
1710
|
# resp.assessment.compliance #=> Hash
|
1652
1711
|
# resp.assessment.compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
|
1653
1712
|
# resp.assessment.compliance["DisruptionType"].achievable_rto_in_secs #=> Integer
|
1654
|
-
# 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"
|
1655
1714
|
# resp.assessment.compliance["DisruptionType"].current_rpo_in_secs #=> Integer
|
1656
1715
|
# resp.assessment.compliance["DisruptionType"].current_rto_in_secs #=> Integer
|
1657
1716
|
# resp.assessment.compliance["DisruptionType"].message #=> String
|
@@ -1659,7 +1718,7 @@ module Aws::ResilienceHub
|
|
1659
1718
|
# resp.assessment.compliance["DisruptionType"].rpo_reference_id #=> String
|
1660
1719
|
# resp.assessment.compliance["DisruptionType"].rto_description #=> String
|
1661
1720
|
# resp.assessment.compliance["DisruptionType"].rto_reference_id #=> String
|
1662
|
-
# resp.assessment.compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
|
1721
|
+
# resp.assessment.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
1663
1722
|
# resp.assessment.cost.amount #=> Float
|
1664
1723
|
# resp.assessment.cost.currency #=> String
|
1665
1724
|
# resp.assessment.cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
|
@@ -1693,6 +1752,12 @@ module Aws::ResilienceHub
|
|
1693
1752
|
# resp.assessment.resource_errors_details.resource_errors[0].physical_resource_id #=> String
|
1694
1753
|
# resp.assessment.resource_errors_details.resource_errors[0].reason #=> String
|
1695
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
|
1696
1761
|
# resp.assessment.tags #=> Hash
|
1697
1762
|
# resp.assessment.tags["TagKey"] #=> String
|
1698
1763
|
# resp.assessment.version_name #=> String
|
@@ -1807,7 +1872,7 @@ module Aws::ResilienceHub
|
|
1807
1872
|
|
1808
1873
|
# Describes a resource of the Resilience Hub application.
|
1809
1874
|
#
|
1810
|
-
# <note markdown="1"> This API accepts only one of the following parameters to
|
1875
|
+
# <note markdown="1"> This API accepts only one of the following parameters to describe the
|
1811
1876
|
# resource:
|
1812
1877
|
#
|
1813
1878
|
# * `resourceName`
|
@@ -2110,6 +2175,51 @@ module Aws::ResilienceHub
|
|
2110
2175
|
req.send_request(options)
|
2111
2176
|
end
|
2112
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
|
+
|
2113
2223
|
# Imports resources to Resilience Hub application draft version from
|
2114
2224
|
# different input sources. For more information about the input sources
|
2115
2225
|
# supported by Resilience Hub, see [Discover the structure and describe
|
@@ -2278,12 +2388,11 @@ module Aws::ResilienceHub
|
|
2278
2388
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2279
2389
|
#
|
2280
2390
|
# @option params [Integer] :max_results
|
2281
|
-
# Indicates the maximum number of
|
2391
|
+
# Indicates the maximum number of compliance drifts requested.
|
2282
2392
|
#
|
2283
2393
|
# @option params [String] :next_token
|
2284
|
-
#
|
2285
|
-
#
|
2286
|
-
# applications.
|
2394
|
+
# Null, or the token from a previous call to get the next set of
|
2395
|
+
# results.
|
2287
2396
|
#
|
2288
2397
|
# @return [Types::ListAppAssessmentComplianceDriftsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2289
2398
|
#
|
@@ -2307,7 +2416,7 @@ module Aws::ResilienceHub
|
|
2307
2416
|
# resp.compliance_drifts[0].actual_value #=> Hash
|
2308
2417
|
# resp.compliance_drifts[0].actual_value["DisruptionType"].achievable_rpo_in_secs #=> Integer
|
2309
2418
|
# resp.compliance_drifts[0].actual_value["DisruptionType"].achievable_rto_in_secs #=> Integer
|
2310
|
-
# 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"
|
2311
2420
|
# resp.compliance_drifts[0].actual_value["DisruptionType"].current_rpo_in_secs #=> Integer
|
2312
2421
|
# resp.compliance_drifts[0].actual_value["DisruptionType"].current_rto_in_secs #=> Integer
|
2313
2422
|
# resp.compliance_drifts[0].actual_value["DisruptionType"].message #=> String
|
@@ -2325,7 +2434,7 @@ module Aws::ResilienceHub
|
|
2325
2434
|
# resp.compliance_drifts[0].expected_value #=> Hash
|
2326
2435
|
# resp.compliance_drifts[0].expected_value["DisruptionType"].achievable_rpo_in_secs #=> Integer
|
2327
2436
|
# resp.compliance_drifts[0].expected_value["DisruptionType"].achievable_rto_in_secs #=> Integer
|
2328
|
-
# 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"
|
2329
2438
|
# resp.compliance_drifts[0].expected_value["DisruptionType"].current_rpo_in_secs #=> Integer
|
2330
2439
|
# resp.compliance_drifts[0].expected_value["DisruptionType"].current_rto_in_secs #=> Integer
|
2331
2440
|
# resp.compliance_drifts[0].expected_value["DisruptionType"].message #=> String
|
@@ -2460,7 +2569,7 @@ module Aws::ResilienceHub
|
|
2460
2569
|
# app_arn: "Arn",
|
2461
2570
|
# assessment_name: "EntityName",
|
2462
2571
|
# assessment_status: ["Pending"], # accepts Pending, InProgress, Failed, Success
|
2463
|
-
# compliance_status: "PolicyBreached", # accepts PolicyBreached, PolicyMet
|
2572
|
+
# compliance_status: "PolicyBreached", # accepts PolicyBreached, PolicyMet, NotApplicable, MissingPolicy
|
2464
2573
|
# invoker: "User", # accepts User, System
|
2465
2574
|
# max_results: 1,
|
2466
2575
|
# next_token: "NextToken",
|
@@ -2475,7 +2584,7 @@ module Aws::ResilienceHub
|
|
2475
2584
|
# resp.assessment_summaries[0].assessment_arn #=> String
|
2476
2585
|
# resp.assessment_summaries[0].assessment_name #=> String
|
2477
2586
|
# resp.assessment_summaries[0].assessment_status #=> String, one of "Pending", "InProgress", "Failed", "Success"
|
2478
|
-
# 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"
|
2479
2588
|
# resp.assessment_summaries[0].cost.amount #=> Float
|
2480
2589
|
# resp.assessment_summaries[0].cost.currency #=> String
|
2481
2590
|
# resp.assessment_summaries[0].cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
|
@@ -2541,7 +2650,7 @@ module Aws::ResilienceHub
|
|
2541
2650
|
# resp.component_compliances[0].compliance #=> Hash
|
2542
2651
|
# resp.component_compliances[0].compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
|
2543
2652
|
# resp.component_compliances[0].compliance["DisruptionType"].achievable_rto_in_secs #=> Integer
|
2544
|
-
# 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"
|
2545
2654
|
# resp.component_compliances[0].compliance["DisruptionType"].current_rpo_in_secs #=> Integer
|
2546
2655
|
# resp.component_compliances[0].compliance["DisruptionType"].current_rto_in_secs #=> Integer
|
2547
2656
|
# resp.component_compliances[0].compliance["DisruptionType"].message #=> String
|
@@ -2561,7 +2670,7 @@ module Aws::ResilienceHub
|
|
2561
2670
|
# resp.component_compliances[0].resiliency_score.disruption_score #=> Hash
|
2562
2671
|
# resp.component_compliances[0].resiliency_score.disruption_score["DisruptionType"] #=> Float
|
2563
2672
|
# resp.component_compliances[0].resiliency_score.score #=> Float
|
2564
|
-
# resp.component_compliances[0].status #=> String, one of "PolicyBreached", "PolicyMet"
|
2673
|
+
# resp.component_compliances[0].status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
2565
2674
|
# resp.next_token #=> String
|
2566
2675
|
#
|
2567
2676
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliances AWS API Documentation
|
@@ -2619,7 +2728,7 @@ module Aws::ResilienceHub
|
|
2619
2728
|
# resp.component_recommendations[0].config_recommendations[0].compliance #=> Hash
|
2620
2729
|
# resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
|
2621
2730
|
# resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].achievable_rto_in_secs #=> Integer
|
2622
|
-
# 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"
|
2623
2732
|
# resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].current_rpo_in_secs #=> Integer
|
2624
2733
|
# resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].current_rto_in_secs #=> Integer
|
2625
2734
|
# resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].message #=> String
|
@@ -2635,7 +2744,7 @@ module Aws::ResilienceHub
|
|
2635
2744
|
# resp.component_recommendations[0].config_recommendations[0].name #=> String
|
2636
2745
|
# resp.component_recommendations[0].config_recommendations[0].optimization_type #=> String, one of "LeastCost", "LeastChange", "BestAZRecovery", "LeastErrors", "BestAttainable", "BestRegionRecovery"
|
2637
2746
|
# resp.component_recommendations[0].config_recommendations[0].recommendation_compliance #=> Hash
|
2638
|
-
# 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"
|
2639
2748
|
# resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rpo_description #=> String
|
2640
2749
|
# resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rpo_in_secs #=> Integer
|
2641
2750
|
# resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rto_description #=> String
|
@@ -2643,7 +2752,7 @@ module Aws::ResilienceHub
|
|
2643
2752
|
# resp.component_recommendations[0].config_recommendations[0].reference_id #=> String
|
2644
2753
|
# resp.component_recommendations[0].config_recommendations[0].suggested_changes #=> Array
|
2645
2754
|
# resp.component_recommendations[0].config_recommendations[0].suggested_changes[0] #=> String
|
2646
|
-
# 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"
|
2647
2756
|
# resp.next_token #=> String
|
2648
2757
|
#
|
2649
2758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations AWS API Documentation
|
@@ -3045,7 +3154,7 @@ module Aws::ResilienceHub
|
|
3045
3154
|
# @option params [Boolean] :reverse_order
|
3046
3155
|
# The application list is sorted based on the values of
|
3047
3156
|
# `lastAppComplianceEvaluationTime` field. By default, application list
|
3048
|
-
# is sorted in ascending order. To sort the
|
3157
|
+
# is sorted in ascending order. To sort the application list in
|
3049
3158
|
# descending order, set this field to `True`.
|
3050
3159
|
#
|
3051
3160
|
# @option params [Time,DateTime,Date,Integer,String] :to_last_assessment_time
|
@@ -3076,7 +3185,7 @@ module Aws::ResilienceHub
|
|
3076
3185
|
# resp.app_summaries #=> Array
|
3077
3186
|
# resp.app_summaries[0].app_arn #=> String
|
3078
3187
|
# resp.app_summaries[0].assessment_schedule #=> String, one of "Disabled", "Daily"
|
3079
|
-
# 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"
|
3080
3189
|
# resp.app_summaries[0].creation_time #=> Time
|
3081
3190
|
# resp.app_summaries[0].description #=> String
|
3082
3191
|
# resp.app_summaries[0].drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
|
@@ -3239,6 +3348,82 @@ module Aws::ResilienceHub
|
|
3239
3348
|
req.send_request(options)
|
3240
3349
|
end
|
3241
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<Types::GroupingRecommendation>
|
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
|
+
|
3242
3427
|
# Lists the standard operating procedure (SOP) recommendations for the
|
3243
3428
|
# Resilience Hub applications.
|
3244
3429
|
#
|
@@ -3857,6 +4042,56 @@ module Aws::ResilienceHub
|
|
3857
4042
|
req.send_request(options)
|
3858
4043
|
end
|
3859
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<Types::FailedGroupingRecommendationEntry>
|
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
|
+
|
3860
4095
|
# Removes resource mappings from a draft application version.
|
3861
4096
|
#
|
3862
4097
|
# @option params [required, String] :app_arn
|
@@ -4032,7 +4267,7 @@ module Aws::ResilienceHub
|
|
4032
4267
|
# resp.assessment.compliance #=> Hash
|
4033
4268
|
# resp.assessment.compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
|
4034
4269
|
# resp.assessment.compliance["DisruptionType"].achievable_rto_in_secs #=> Integer
|
4035
|
-
# 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"
|
4036
4271
|
# resp.assessment.compliance["DisruptionType"].current_rpo_in_secs #=> Integer
|
4037
4272
|
# resp.assessment.compliance["DisruptionType"].current_rto_in_secs #=> Integer
|
4038
4273
|
# resp.assessment.compliance["DisruptionType"].message #=> String
|
@@ -4040,7 +4275,7 @@ module Aws::ResilienceHub
|
|
4040
4275
|
# resp.assessment.compliance["DisruptionType"].rpo_reference_id #=> String
|
4041
4276
|
# resp.assessment.compliance["DisruptionType"].rto_description #=> String
|
4042
4277
|
# resp.assessment.compliance["DisruptionType"].rto_reference_id #=> String
|
4043
|
-
# resp.assessment.compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
|
4278
|
+
# resp.assessment.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
4044
4279
|
# resp.assessment.cost.amount #=> Float
|
4045
4280
|
# resp.assessment.cost.currency #=> String
|
4046
4281
|
# resp.assessment.cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
|
@@ -4074,6 +4309,12 @@ module Aws::ResilienceHub
|
|
4074
4309
|
# resp.assessment.resource_errors_details.resource_errors[0].physical_resource_id #=> String
|
4075
4310
|
# resp.assessment.resource_errors_details.resource_errors[0].reason #=> String
|
4076
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
|
4077
4318
|
# resp.assessment.tags #=> Hash
|
4078
4319
|
# resp.assessment.tags["TagKey"] #=> String
|
4079
4320
|
# resp.assessment.version_name #=> String
|
@@ -4087,6 +4328,48 @@ module Aws::ResilienceHub
|
|
4087
4328
|
req.send_request(options)
|
4088
4329
|
end
|
4089
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
|
+
|
4090
4373
|
# Applies one or more tags to a resource.
|
4091
4374
|
#
|
4092
4375
|
# @option params [required, String] :resource_arn
|
@@ -4215,7 +4498,7 @@ module Aws::ResilienceHub
|
|
4215
4498
|
#
|
4216
4499
|
# resp.app.app_arn #=> String
|
4217
4500
|
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
4218
|
-
# 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"
|
4219
4502
|
# resp.app.creation_time #=> Time
|
4220
4503
|
# resp.app.description #=> String
|
4221
4504
|
# resp.app.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
|
@@ -4620,7 +4903,7 @@ module Aws::ResilienceHub
|
|
4620
4903
|
params: params,
|
4621
4904
|
config: config)
|
4622
4905
|
context[:gem_name] = 'aws-sdk-resiliencehub'
|
4623
|
-
context[:gem_version] = '1.
|
4906
|
+
context[:gem_version] = '1.33.0'
|
4624
4907
|
Seahorse::Client::Request.new(handlers, context)
|
4625
4908
|
end
|
4626
4909
|
|