aws-sdk-resiliencehub 1.32.0 → 1.34.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 +317 -26
- 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: 03a9caac0b1b4e34a582d1cce2b2a6142d159c5cb8f6643c1236c18f60419440
|
4
|
+
data.tar.gz: c635188dbdbd1d5f932f7474c95ddddd0bb3a31cda3be7428c7781180c158532
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44bad512113ce92030dd3fda1c633ba989ada3154884972f9cce1ae7cc560474bd79f2e65655f4c9b0ecfceb5ac7f57102181a616a65c55216711f7459efcb59
|
7
|
+
data.tar.gz: 97af58e448f3f5d067672961e2badce12a8e6c797364de7f20b897f4039eece1da255b2b05d176959022f4301e501119a0b26c00f137f30e4b34871a0713c951
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.34.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.33.0 (2024-08-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.32.0 (2024-07-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.34.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::ResilienceHub
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
88
90
|
add_plugin(Aws::ResilienceHub::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::ResilienceHub
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -425,11 +437,61 @@ module Aws::ResilienceHub
|
|
425
437
|
|
426
438
|
# @!group API Operations
|
427
439
|
|
440
|
+
# Accepts the resource grouping recommendations suggested by Resilience
|
441
|
+
# Hub for your application.
|
442
|
+
#
|
443
|
+
# @option params [required, String] :app_arn
|
444
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
445
|
+
# format for this ARN is:
|
446
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
447
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
448
|
+
# the *Amazon Web Services General Reference* guide.
|
449
|
+
#
|
450
|
+
#
|
451
|
+
#
|
452
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
453
|
+
#
|
454
|
+
# @option params [required, Array<Types::AcceptGroupingRecommendationEntry>] :entries
|
455
|
+
# Indicates the list of resource grouping recommendations you want to
|
456
|
+
# include in your application.
|
457
|
+
#
|
458
|
+
# @return [Types::AcceptResourceGroupingRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
459
|
+
#
|
460
|
+
# * {Types::AcceptResourceGroupingRecommendationsResponse#app_arn #app_arn} => String
|
461
|
+
# * {Types::AcceptResourceGroupingRecommendationsResponse#failed_entries #failed_entries} => Array<Types::FailedGroupingRecommendationEntry>
|
462
|
+
#
|
463
|
+
# @example Request syntax with placeholder values
|
464
|
+
#
|
465
|
+
# resp = client.accept_resource_grouping_recommendations({
|
466
|
+
# app_arn: "Arn", # required
|
467
|
+
# entries: [ # required
|
468
|
+
# {
|
469
|
+
# grouping_recommendation_id: "String255", # required
|
470
|
+
# },
|
471
|
+
# ],
|
472
|
+
# })
|
473
|
+
#
|
474
|
+
# @example Response structure
|
475
|
+
#
|
476
|
+
# resp.app_arn #=> String
|
477
|
+
# resp.failed_entries #=> Array
|
478
|
+
# resp.failed_entries[0].error_message #=> String
|
479
|
+
# resp.failed_entries[0].grouping_recommendation_id #=> String
|
480
|
+
#
|
481
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AcceptResourceGroupingRecommendations AWS API Documentation
|
482
|
+
#
|
483
|
+
# @overload accept_resource_grouping_recommendations(params = {})
|
484
|
+
# @param [Hash] params ({})
|
485
|
+
def accept_resource_grouping_recommendations(params = {}, options = {})
|
486
|
+
req = build_request(:accept_resource_grouping_recommendations, params)
|
487
|
+
req.send_request(options)
|
488
|
+
end
|
489
|
+
|
428
490
|
# Adds the source of resource-maps to the draft version of an
|
429
491
|
# application. During assessment, Resilience Hub will use these
|
430
492
|
# resource-maps to resolve the latest physical ID for each resource in
|
431
493
|
# the application template. For more information about different types
|
432
|
-
# of resources
|
494
|
+
# of resources supported by Resilience Hub and how to add them in your
|
433
495
|
# application, see [Step 2: How is your application managed?][1] in the
|
434
496
|
# Resilience Hub User Guide.
|
435
497
|
#
|
@@ -675,7 +737,7 @@ module Aws::ResilienceHub
|
|
675
737
|
#
|
676
738
|
# resp.app.app_arn #=> String
|
677
739
|
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
678
|
-
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
740
|
+
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected", "NotApplicable", "MissingPolicy"
|
679
741
|
# resp.app.creation_time #=> Time
|
680
742
|
# resp.app.description #=> String
|
681
743
|
# resp.app.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
|
@@ -1594,7 +1656,7 @@ module Aws::ResilienceHub
|
|
1594
1656
|
#
|
1595
1657
|
# resp.app.app_arn #=> String
|
1596
1658
|
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
1597
|
-
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
1659
|
+
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected", "NotApplicable", "MissingPolicy"
|
1598
1660
|
# resp.app.creation_time #=> Time
|
1599
1661
|
# resp.app.description #=> String
|
1600
1662
|
# resp.app.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
|
@@ -1660,7 +1722,7 @@ module Aws::ResilienceHub
|
|
1660
1722
|
# resp.assessment.compliance #=> Hash
|
1661
1723
|
# resp.assessment.compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
|
1662
1724
|
# resp.assessment.compliance["DisruptionType"].achievable_rto_in_secs #=> Integer
|
1663
|
-
# resp.assessment.compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
|
1725
|
+
# resp.assessment.compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
1664
1726
|
# resp.assessment.compliance["DisruptionType"].current_rpo_in_secs #=> Integer
|
1665
1727
|
# resp.assessment.compliance["DisruptionType"].current_rto_in_secs #=> Integer
|
1666
1728
|
# resp.assessment.compliance["DisruptionType"].message #=> String
|
@@ -1668,7 +1730,7 @@ module Aws::ResilienceHub
|
|
1668
1730
|
# resp.assessment.compliance["DisruptionType"].rpo_reference_id #=> String
|
1669
1731
|
# resp.assessment.compliance["DisruptionType"].rto_description #=> String
|
1670
1732
|
# resp.assessment.compliance["DisruptionType"].rto_reference_id #=> String
|
1671
|
-
# resp.assessment.compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
|
1733
|
+
# resp.assessment.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
1672
1734
|
# resp.assessment.cost.amount #=> Float
|
1673
1735
|
# resp.assessment.cost.currency #=> String
|
1674
1736
|
# resp.assessment.cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
|
@@ -1702,6 +1764,12 @@ module Aws::ResilienceHub
|
|
1702
1764
|
# resp.assessment.resource_errors_details.resource_errors[0].physical_resource_id #=> String
|
1703
1765
|
# resp.assessment.resource_errors_details.resource_errors[0].reason #=> String
|
1704
1766
|
# resp.assessment.start_time #=> Time
|
1767
|
+
# resp.assessment.summary.risk_recommendations #=> Array
|
1768
|
+
# resp.assessment.summary.risk_recommendations[0].app_components #=> Array
|
1769
|
+
# resp.assessment.summary.risk_recommendations[0].app_components[0] #=> String
|
1770
|
+
# resp.assessment.summary.risk_recommendations[0].recommendation #=> String
|
1771
|
+
# resp.assessment.summary.risk_recommendations[0].risk #=> String
|
1772
|
+
# resp.assessment.summary.summary #=> String
|
1705
1773
|
# resp.assessment.tags #=> Hash
|
1706
1774
|
# resp.assessment.tags["TagKey"] #=> String
|
1707
1775
|
# resp.assessment.version_name #=> String
|
@@ -1816,7 +1884,7 @@ module Aws::ResilienceHub
|
|
1816
1884
|
|
1817
1885
|
# Describes a resource of the Resilience Hub application.
|
1818
1886
|
#
|
1819
|
-
# <note markdown="1"> This API accepts only one of the following parameters to
|
1887
|
+
# <note markdown="1"> This API accepts only one of the following parameters to describe the
|
1820
1888
|
# resource:
|
1821
1889
|
#
|
1822
1890
|
# * `resourceName`
|
@@ -2119,6 +2187,51 @@ module Aws::ResilienceHub
|
|
2119
2187
|
req.send_request(options)
|
2120
2188
|
end
|
2121
2189
|
|
2190
|
+
# Describes the resource grouping recommendation tasks run by Resilience
|
2191
|
+
# Hub for your application.
|
2192
|
+
#
|
2193
|
+
# @option params [required, String] :app_arn
|
2194
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
2195
|
+
# format for this ARN is:
|
2196
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2197
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2198
|
+
# the *Amazon Web Services General Reference* guide.
|
2199
|
+
#
|
2200
|
+
#
|
2201
|
+
#
|
2202
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2203
|
+
#
|
2204
|
+
# @option params [String] :grouping_id
|
2205
|
+
# Indicates the identifier of the grouping recommendation task.
|
2206
|
+
#
|
2207
|
+
# @return [Types::DescribeResourceGroupingRecommendationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2208
|
+
#
|
2209
|
+
# * {Types::DescribeResourceGroupingRecommendationTaskResponse#error_message #error_message} => String
|
2210
|
+
# * {Types::DescribeResourceGroupingRecommendationTaskResponse#grouping_id #grouping_id} => String
|
2211
|
+
# * {Types::DescribeResourceGroupingRecommendationTaskResponse#status #status} => String
|
2212
|
+
#
|
2213
|
+
# @example Request syntax with placeholder values
|
2214
|
+
#
|
2215
|
+
# resp = client.describe_resource_grouping_recommendation_task({
|
2216
|
+
# app_arn: "Arn", # required
|
2217
|
+
# grouping_id: "String255",
|
2218
|
+
# })
|
2219
|
+
#
|
2220
|
+
# @example Response structure
|
2221
|
+
#
|
2222
|
+
# resp.error_message #=> String
|
2223
|
+
# resp.grouping_id #=> String
|
2224
|
+
# resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
|
2225
|
+
#
|
2226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResourceGroupingRecommendationTask AWS API Documentation
|
2227
|
+
#
|
2228
|
+
# @overload describe_resource_grouping_recommendation_task(params = {})
|
2229
|
+
# @param [Hash] params ({})
|
2230
|
+
def describe_resource_grouping_recommendation_task(params = {}, options = {})
|
2231
|
+
req = build_request(:describe_resource_grouping_recommendation_task, params)
|
2232
|
+
req.send_request(options)
|
2233
|
+
end
|
2234
|
+
|
2122
2235
|
# Imports resources to Resilience Hub application draft version from
|
2123
2236
|
# different input sources. For more information about the input sources
|
2124
2237
|
# supported by Resilience Hub, see [Discover the structure and describe
|
@@ -2287,12 +2400,11 @@ module Aws::ResilienceHub
|
|
2287
2400
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2288
2401
|
#
|
2289
2402
|
# @option params [Integer] :max_results
|
2290
|
-
# Indicates the maximum number of
|
2403
|
+
# Indicates the maximum number of compliance drifts requested.
|
2291
2404
|
#
|
2292
2405
|
# @option params [String] :next_token
|
2293
|
-
#
|
2294
|
-
#
|
2295
|
-
# applications.
|
2406
|
+
# Null, or the token from a previous call to get the next set of
|
2407
|
+
# results.
|
2296
2408
|
#
|
2297
2409
|
# @return [Types::ListAppAssessmentComplianceDriftsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2298
2410
|
#
|
@@ -2316,7 +2428,7 @@ module Aws::ResilienceHub
|
|
2316
2428
|
# resp.compliance_drifts[0].actual_value #=> Hash
|
2317
2429
|
# resp.compliance_drifts[0].actual_value["DisruptionType"].achievable_rpo_in_secs #=> Integer
|
2318
2430
|
# 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"
|
2431
|
+
# resp.compliance_drifts[0].actual_value["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
2320
2432
|
# resp.compliance_drifts[0].actual_value["DisruptionType"].current_rpo_in_secs #=> Integer
|
2321
2433
|
# resp.compliance_drifts[0].actual_value["DisruptionType"].current_rto_in_secs #=> Integer
|
2322
2434
|
# resp.compliance_drifts[0].actual_value["DisruptionType"].message #=> String
|
@@ -2334,7 +2446,7 @@ module Aws::ResilienceHub
|
|
2334
2446
|
# resp.compliance_drifts[0].expected_value #=> Hash
|
2335
2447
|
# resp.compliance_drifts[0].expected_value["DisruptionType"].achievable_rpo_in_secs #=> Integer
|
2336
2448
|
# 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"
|
2449
|
+
# resp.compliance_drifts[0].expected_value["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
2338
2450
|
# resp.compliance_drifts[0].expected_value["DisruptionType"].current_rpo_in_secs #=> Integer
|
2339
2451
|
# resp.compliance_drifts[0].expected_value["DisruptionType"].current_rto_in_secs #=> Integer
|
2340
2452
|
# resp.compliance_drifts[0].expected_value["DisruptionType"].message #=> String
|
@@ -2469,7 +2581,7 @@ module Aws::ResilienceHub
|
|
2469
2581
|
# app_arn: "Arn",
|
2470
2582
|
# assessment_name: "EntityName",
|
2471
2583
|
# assessment_status: ["Pending"], # accepts Pending, InProgress, Failed, Success
|
2472
|
-
# compliance_status: "PolicyBreached", # accepts PolicyBreached, PolicyMet
|
2584
|
+
# compliance_status: "PolicyBreached", # accepts PolicyBreached, PolicyMet, NotApplicable, MissingPolicy
|
2473
2585
|
# invoker: "User", # accepts User, System
|
2474
2586
|
# max_results: 1,
|
2475
2587
|
# next_token: "NextToken",
|
@@ -2484,7 +2596,7 @@ module Aws::ResilienceHub
|
|
2484
2596
|
# resp.assessment_summaries[0].assessment_arn #=> String
|
2485
2597
|
# resp.assessment_summaries[0].assessment_name #=> String
|
2486
2598
|
# 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"
|
2599
|
+
# resp.assessment_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
2488
2600
|
# resp.assessment_summaries[0].cost.amount #=> Float
|
2489
2601
|
# resp.assessment_summaries[0].cost.currency #=> String
|
2490
2602
|
# resp.assessment_summaries[0].cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
|
@@ -2550,7 +2662,7 @@ module Aws::ResilienceHub
|
|
2550
2662
|
# resp.component_compliances[0].compliance #=> Hash
|
2551
2663
|
# resp.component_compliances[0].compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
|
2552
2664
|
# 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"
|
2665
|
+
# resp.component_compliances[0].compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
2554
2666
|
# resp.component_compliances[0].compliance["DisruptionType"].current_rpo_in_secs #=> Integer
|
2555
2667
|
# resp.component_compliances[0].compliance["DisruptionType"].current_rto_in_secs #=> Integer
|
2556
2668
|
# resp.component_compliances[0].compliance["DisruptionType"].message #=> String
|
@@ -2570,7 +2682,7 @@ module Aws::ResilienceHub
|
|
2570
2682
|
# resp.component_compliances[0].resiliency_score.disruption_score #=> Hash
|
2571
2683
|
# resp.component_compliances[0].resiliency_score.disruption_score["DisruptionType"] #=> Float
|
2572
2684
|
# resp.component_compliances[0].resiliency_score.score #=> Float
|
2573
|
-
# resp.component_compliances[0].status #=> String, one of "PolicyBreached", "PolicyMet"
|
2685
|
+
# resp.component_compliances[0].status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
2574
2686
|
# resp.next_token #=> String
|
2575
2687
|
#
|
2576
2688
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliances AWS API Documentation
|
@@ -2628,7 +2740,7 @@ module Aws::ResilienceHub
|
|
2628
2740
|
# resp.component_recommendations[0].config_recommendations[0].compliance #=> Hash
|
2629
2741
|
# resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
|
2630
2742
|
# 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"
|
2743
|
+
# resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
2632
2744
|
# resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].current_rpo_in_secs #=> Integer
|
2633
2745
|
# resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].current_rto_in_secs #=> Integer
|
2634
2746
|
# resp.component_recommendations[0].config_recommendations[0].compliance["DisruptionType"].message #=> String
|
@@ -2644,7 +2756,7 @@ module Aws::ResilienceHub
|
|
2644
2756
|
# resp.component_recommendations[0].config_recommendations[0].name #=> String
|
2645
2757
|
# resp.component_recommendations[0].config_recommendations[0].optimization_type #=> String, one of "LeastCost", "LeastChange", "BestAZRecovery", "LeastErrors", "BestAttainable", "BestRegionRecovery"
|
2646
2758
|
# 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"
|
2759
|
+
# resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
2648
2760
|
# resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rpo_description #=> String
|
2649
2761
|
# resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rpo_in_secs #=> Integer
|
2650
2762
|
# resp.component_recommendations[0].config_recommendations[0].recommendation_compliance["DisruptionType"].expected_rto_description #=> String
|
@@ -2652,7 +2764,7 @@ module Aws::ResilienceHub
|
|
2652
2764
|
# resp.component_recommendations[0].config_recommendations[0].reference_id #=> String
|
2653
2765
|
# resp.component_recommendations[0].config_recommendations[0].suggested_changes #=> Array
|
2654
2766
|
# resp.component_recommendations[0].config_recommendations[0].suggested_changes[0] #=> String
|
2655
|
-
# resp.component_recommendations[0].recommendation_status #=> String, one of "BreachedUnattainable", "BreachedCanMeet", "MetCanImprove"
|
2767
|
+
# resp.component_recommendations[0].recommendation_status #=> String, one of "BreachedUnattainable", "BreachedCanMeet", "MetCanImprove", "MissingPolicy"
|
2656
2768
|
# resp.next_token #=> String
|
2657
2769
|
#
|
2658
2770
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations AWS API Documentation
|
@@ -3054,7 +3166,7 @@ module Aws::ResilienceHub
|
|
3054
3166
|
# @option params [Boolean] :reverse_order
|
3055
3167
|
# The application list is sorted based on the values of
|
3056
3168
|
# `lastAppComplianceEvaluationTime` field. By default, application list
|
3057
|
-
# is sorted in ascending order. To sort the
|
3169
|
+
# is sorted in ascending order. To sort the application list in
|
3058
3170
|
# descending order, set this field to `True`.
|
3059
3171
|
#
|
3060
3172
|
# @option params [Time,DateTime,Date,Integer,String] :to_last_assessment_time
|
@@ -3085,7 +3197,7 @@ module Aws::ResilienceHub
|
|
3085
3197
|
# resp.app_summaries #=> Array
|
3086
3198
|
# resp.app_summaries[0].app_arn #=> String
|
3087
3199
|
# 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"
|
3200
|
+
# resp.app_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected", "NotApplicable", "MissingPolicy"
|
3089
3201
|
# resp.app_summaries[0].creation_time #=> Time
|
3090
3202
|
# resp.app_summaries[0].description #=> String
|
3091
3203
|
# resp.app_summaries[0].drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
|
@@ -3248,6 +3360,82 @@ module Aws::ResilienceHub
|
|
3248
3360
|
req.send_request(options)
|
3249
3361
|
end
|
3250
3362
|
|
3363
|
+
# Lists the resource grouping recommendations suggested by Resilience
|
3364
|
+
# Hub for your application.
|
3365
|
+
#
|
3366
|
+
# @option params [String] :app_arn
|
3367
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
3368
|
+
# format for this ARN is:
|
3369
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3370
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3371
|
+
# the *Amazon Web Services General Reference* guide.
|
3372
|
+
#
|
3373
|
+
#
|
3374
|
+
#
|
3375
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3376
|
+
#
|
3377
|
+
# @option params [Integer] :max_results
|
3378
|
+
# Maximum number of grouping recommendations to be displayed per
|
3379
|
+
# Resilience Hub application.
|
3380
|
+
#
|
3381
|
+
# @option params [String] :next_token
|
3382
|
+
# Null, or the token from a previous call to get the next set of
|
3383
|
+
# results.
|
3384
|
+
#
|
3385
|
+
# @return [Types::ListResourceGroupingRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3386
|
+
#
|
3387
|
+
# * {Types::ListResourceGroupingRecommendationsResponse#grouping_recommendations #grouping_recommendations} => Array<Types::GroupingRecommendation>
|
3388
|
+
# * {Types::ListResourceGroupingRecommendationsResponse#next_token #next_token} => String
|
3389
|
+
#
|
3390
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3391
|
+
#
|
3392
|
+
# @example Request syntax with placeholder values
|
3393
|
+
#
|
3394
|
+
# resp = client.list_resource_grouping_recommendations({
|
3395
|
+
# app_arn: "Arn",
|
3396
|
+
# max_results: 1,
|
3397
|
+
# next_token: "NextToken",
|
3398
|
+
# })
|
3399
|
+
#
|
3400
|
+
# @example Response structure
|
3401
|
+
#
|
3402
|
+
# resp.grouping_recommendations #=> Array
|
3403
|
+
# resp.grouping_recommendations[0].confidence_level #=> String, one of "High", "Medium"
|
3404
|
+
# resp.grouping_recommendations[0].creation_time #=> Time
|
3405
|
+
# resp.grouping_recommendations[0].grouping_app_component.app_component_id #=> String
|
3406
|
+
# resp.grouping_recommendations[0].grouping_app_component.app_component_name #=> String
|
3407
|
+
# resp.grouping_recommendations[0].grouping_app_component.app_component_type #=> String
|
3408
|
+
# resp.grouping_recommendations[0].grouping_recommendation_id #=> String
|
3409
|
+
# resp.grouping_recommendations[0].recommendation_reasons #=> Array
|
3410
|
+
# resp.grouping_recommendations[0].recommendation_reasons[0] #=> String
|
3411
|
+
# resp.grouping_recommendations[0].rejection_reason #=> String, one of "DistinctBusinessPurpose", "SeparateDataConcern", "DistinctUserGroupHandling", "Other"
|
3412
|
+
# resp.grouping_recommendations[0].resources #=> Array
|
3413
|
+
# resp.grouping_recommendations[0].resources[0].logical_resource_id.eks_source_name #=> String
|
3414
|
+
# resp.grouping_recommendations[0].resources[0].logical_resource_id.identifier #=> String
|
3415
|
+
# resp.grouping_recommendations[0].resources[0].logical_resource_id.logical_stack_name #=> String
|
3416
|
+
# resp.grouping_recommendations[0].resources[0].logical_resource_id.resource_group_name #=> String
|
3417
|
+
# resp.grouping_recommendations[0].resources[0].logical_resource_id.terraform_source_name #=> String
|
3418
|
+
# resp.grouping_recommendations[0].resources[0].physical_resource_id.aws_account_id #=> String
|
3419
|
+
# resp.grouping_recommendations[0].resources[0].physical_resource_id.aws_region #=> String
|
3420
|
+
# resp.grouping_recommendations[0].resources[0].physical_resource_id.identifier #=> String
|
3421
|
+
# resp.grouping_recommendations[0].resources[0].physical_resource_id.type #=> String, one of "Arn", "Native"
|
3422
|
+
# resp.grouping_recommendations[0].resources[0].resource_name #=> String
|
3423
|
+
# resp.grouping_recommendations[0].resources[0].resource_type #=> String
|
3424
|
+
# resp.grouping_recommendations[0].resources[0].source_app_component_ids #=> Array
|
3425
|
+
# resp.grouping_recommendations[0].resources[0].source_app_component_ids[0] #=> String
|
3426
|
+
# resp.grouping_recommendations[0].score #=> Float
|
3427
|
+
# resp.grouping_recommendations[0].status #=> String, one of "Accepted", "Rejected", "PendingDecision"
|
3428
|
+
# resp.next_token #=> String
|
3429
|
+
#
|
3430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResourceGroupingRecommendations AWS API Documentation
|
3431
|
+
#
|
3432
|
+
# @overload list_resource_grouping_recommendations(params = {})
|
3433
|
+
# @param [Hash] params ({})
|
3434
|
+
def list_resource_grouping_recommendations(params = {}, options = {})
|
3435
|
+
req = build_request(:list_resource_grouping_recommendations, params)
|
3436
|
+
req.send_request(options)
|
3437
|
+
end
|
3438
|
+
|
3251
3439
|
# Lists the standard operating procedure (SOP) recommendations for the
|
3252
3440
|
# Resilience Hub applications.
|
3253
3441
|
#
|
@@ -3866,6 +4054,56 @@ module Aws::ResilienceHub
|
|
3866
4054
|
req.send_request(options)
|
3867
4055
|
end
|
3868
4056
|
|
4057
|
+
# Rejects resource grouping recommendations.
|
4058
|
+
#
|
4059
|
+
# @option params [required, String] :app_arn
|
4060
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
4061
|
+
# format for this ARN is:
|
4062
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
4063
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
4064
|
+
# the *Amazon Web Services General Reference* guide.
|
4065
|
+
#
|
4066
|
+
#
|
4067
|
+
#
|
4068
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4069
|
+
#
|
4070
|
+
# @option params [required, Array<Types::RejectGroupingRecommendationEntry>] :entries
|
4071
|
+
# Indicates the list of resource grouping recommendations you have
|
4072
|
+
# selected to exclude from your application.
|
4073
|
+
#
|
4074
|
+
# @return [Types::RejectResourceGroupingRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4075
|
+
#
|
4076
|
+
# * {Types::RejectResourceGroupingRecommendationsResponse#app_arn #app_arn} => String
|
4077
|
+
# * {Types::RejectResourceGroupingRecommendationsResponse#failed_entries #failed_entries} => Array<Types::FailedGroupingRecommendationEntry>
|
4078
|
+
#
|
4079
|
+
# @example Request syntax with placeholder values
|
4080
|
+
#
|
4081
|
+
# resp = client.reject_resource_grouping_recommendations({
|
4082
|
+
# app_arn: "Arn", # required
|
4083
|
+
# entries: [ # required
|
4084
|
+
# {
|
4085
|
+
# grouping_recommendation_id: "String255", # required
|
4086
|
+
# rejection_reason: "DistinctBusinessPurpose", # accepts DistinctBusinessPurpose, SeparateDataConcern, DistinctUserGroupHandling, Other
|
4087
|
+
# },
|
4088
|
+
# ],
|
4089
|
+
# })
|
4090
|
+
#
|
4091
|
+
# @example Response structure
|
4092
|
+
#
|
4093
|
+
# resp.app_arn #=> String
|
4094
|
+
# resp.failed_entries #=> Array
|
4095
|
+
# resp.failed_entries[0].error_message #=> String
|
4096
|
+
# resp.failed_entries[0].grouping_recommendation_id #=> String
|
4097
|
+
#
|
4098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RejectResourceGroupingRecommendations AWS API Documentation
|
4099
|
+
#
|
4100
|
+
# @overload reject_resource_grouping_recommendations(params = {})
|
4101
|
+
# @param [Hash] params ({})
|
4102
|
+
def reject_resource_grouping_recommendations(params = {}, options = {})
|
4103
|
+
req = build_request(:reject_resource_grouping_recommendations, params)
|
4104
|
+
req.send_request(options)
|
4105
|
+
end
|
4106
|
+
|
3869
4107
|
# Removes resource mappings from a draft application version.
|
3870
4108
|
#
|
3871
4109
|
# @option params [required, String] :app_arn
|
@@ -4041,7 +4279,7 @@ module Aws::ResilienceHub
|
|
4041
4279
|
# resp.assessment.compliance #=> Hash
|
4042
4280
|
# resp.assessment.compliance["DisruptionType"].achievable_rpo_in_secs #=> Integer
|
4043
4281
|
# resp.assessment.compliance["DisruptionType"].achievable_rto_in_secs #=> Integer
|
4044
|
-
# resp.assessment.compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
|
4282
|
+
# resp.assessment.compliance["DisruptionType"].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
4045
4283
|
# resp.assessment.compliance["DisruptionType"].current_rpo_in_secs #=> Integer
|
4046
4284
|
# resp.assessment.compliance["DisruptionType"].current_rto_in_secs #=> Integer
|
4047
4285
|
# resp.assessment.compliance["DisruptionType"].message #=> String
|
@@ -4049,7 +4287,7 @@ module Aws::ResilienceHub
|
|
4049
4287
|
# resp.assessment.compliance["DisruptionType"].rpo_reference_id #=> String
|
4050
4288
|
# resp.assessment.compliance["DisruptionType"].rto_description #=> String
|
4051
4289
|
# resp.assessment.compliance["DisruptionType"].rto_reference_id #=> String
|
4052
|
-
# resp.assessment.compliance_status #=> String, one of "PolicyBreached", "PolicyMet"
|
4290
|
+
# resp.assessment.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotApplicable", "MissingPolicy"
|
4053
4291
|
# resp.assessment.cost.amount #=> Float
|
4054
4292
|
# resp.assessment.cost.currency #=> String
|
4055
4293
|
# resp.assessment.cost.frequency #=> String, one of "Hourly", "Daily", "Monthly", "Yearly"
|
@@ -4083,6 +4321,12 @@ module Aws::ResilienceHub
|
|
4083
4321
|
# resp.assessment.resource_errors_details.resource_errors[0].physical_resource_id #=> String
|
4084
4322
|
# resp.assessment.resource_errors_details.resource_errors[0].reason #=> String
|
4085
4323
|
# resp.assessment.start_time #=> Time
|
4324
|
+
# resp.assessment.summary.risk_recommendations #=> Array
|
4325
|
+
# resp.assessment.summary.risk_recommendations[0].app_components #=> Array
|
4326
|
+
# resp.assessment.summary.risk_recommendations[0].app_components[0] #=> String
|
4327
|
+
# resp.assessment.summary.risk_recommendations[0].recommendation #=> String
|
4328
|
+
# resp.assessment.summary.risk_recommendations[0].risk #=> String
|
4329
|
+
# resp.assessment.summary.summary #=> String
|
4086
4330
|
# resp.assessment.tags #=> Hash
|
4087
4331
|
# resp.assessment.tags["TagKey"] #=> String
|
4088
4332
|
# resp.assessment.version_name #=> String
|
@@ -4096,6 +4340,48 @@ module Aws::ResilienceHub
|
|
4096
4340
|
req.send_request(options)
|
4097
4341
|
end
|
4098
4342
|
|
4343
|
+
# Starts grouping recommendation task.
|
4344
|
+
#
|
4345
|
+
# @option params [required, String] :app_arn
|
4346
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
4347
|
+
# format for this ARN is:
|
4348
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
4349
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
4350
|
+
# the *Amazon Web Services General Reference* guide.
|
4351
|
+
#
|
4352
|
+
#
|
4353
|
+
#
|
4354
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4355
|
+
#
|
4356
|
+
# @return [Types::StartResourceGroupingRecommendationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4357
|
+
#
|
4358
|
+
# * {Types::StartResourceGroupingRecommendationTaskResponse#app_arn #app_arn} => String
|
4359
|
+
# * {Types::StartResourceGroupingRecommendationTaskResponse#error_message #error_message} => String
|
4360
|
+
# * {Types::StartResourceGroupingRecommendationTaskResponse#grouping_id #grouping_id} => String
|
4361
|
+
# * {Types::StartResourceGroupingRecommendationTaskResponse#status #status} => String
|
4362
|
+
#
|
4363
|
+
# @example Request syntax with placeholder values
|
4364
|
+
#
|
4365
|
+
# resp = client.start_resource_grouping_recommendation_task({
|
4366
|
+
# app_arn: "Arn", # required
|
4367
|
+
# })
|
4368
|
+
#
|
4369
|
+
# @example Response structure
|
4370
|
+
#
|
4371
|
+
# resp.app_arn #=> String
|
4372
|
+
# resp.error_message #=> String
|
4373
|
+
# resp.grouping_id #=> String
|
4374
|
+
# resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
|
4375
|
+
#
|
4376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartResourceGroupingRecommendationTask AWS API Documentation
|
4377
|
+
#
|
4378
|
+
# @overload start_resource_grouping_recommendation_task(params = {})
|
4379
|
+
# @param [Hash] params ({})
|
4380
|
+
def start_resource_grouping_recommendation_task(params = {}, options = {})
|
4381
|
+
req = build_request(:start_resource_grouping_recommendation_task, params)
|
4382
|
+
req.send_request(options)
|
4383
|
+
end
|
4384
|
+
|
4099
4385
|
# Applies one or more tags to a resource.
|
4100
4386
|
#
|
4101
4387
|
# @option params [required, String] :resource_arn
|
@@ -4224,7 +4510,7 @@ module Aws::ResilienceHub
|
|
4224
4510
|
#
|
4225
4511
|
# resp.app.app_arn #=> String
|
4226
4512
|
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
4227
|
-
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected"
|
4513
|
+
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected", "NotApplicable", "MissingPolicy"
|
4228
4514
|
# resp.app.creation_time #=> Time
|
4229
4515
|
# resp.app.description #=> String
|
4230
4516
|
# resp.app.drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
|
@@ -4622,14 +4908,19 @@ module Aws::ResilienceHub
|
|
4622
4908
|
# @api private
|
4623
4909
|
def build_request(operation_name, params = {})
|
4624
4910
|
handlers = @handlers.for(operation_name)
|
4911
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
4912
|
+
Aws::Telemetry.module_to_tracer_name('Aws::ResilienceHub')
|
4913
|
+
)
|
4625
4914
|
context = Seahorse::Client::RequestContext.new(
|
4626
4915
|
operation_name: operation_name,
|
4627
4916
|
operation: config.api.operation(operation_name),
|
4628
4917
|
client: self,
|
4629
4918
|
params: params,
|
4630
|
-
config: config
|
4919
|
+
config: config,
|
4920
|
+
tracer: tracer
|
4921
|
+
)
|
4631
4922
|
context[:gem_name] = 'aws-sdk-resiliencehub'
|
4632
|
-
context[:gem_version] = '1.
|
4923
|
+
context[:gem_version] = '1.34.0'
|
4633
4924
|
Seahorse::Client::Request.new(handlers, context)
|
4634
4925
|
end
|
4635
4926
|
|