aws-sdk-resiliencehubv2 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehubv2/client.rb +189 -3
- data/lib/aws-sdk-resiliencehubv2/client_api.rb +161 -0
- data/lib/aws-sdk-resiliencehubv2/types.rb +463 -5
- data/lib/aws-sdk-resiliencehubv2.rb +1 -1
- data/sig/client.rbs +46 -1
- data/sig/types.rbs +119 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3b3e22d660f50eeaa316dc7b703281ec2d865dfe71a46946d49095aa26cedb5
|
|
4
|
+
data.tar.gz: d61ecff467577806e678170e1adf47316a1757181f9158ddf421f75ab8798f7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a0b4aeaa5c60a4a281b332c860a5833dc1ad70f7ee62dde8945ae9bc980e14feb96eede35db38d78392ddcd90b380245f66d8b8189c030e1fc45852cd83760a
|
|
7
|
+
data.tar.gz: 1c63c8ddd69cd08a78fc9e33c5e147cb2506f70debeb2d06ca617253b28a0668c1a41631feb00d0b2499547a6f8c01a2c04e377eef5b538e7603cde26813ec03
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.7.0 (2026-09-16)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Next Gen Resilience Hub now supports dependency insights (LLM-based insights about customer's service dependencies) and organization-level policy sharing (provision to share policy with member accounts for an organization)
|
|
8
|
+
|
|
4
9
|
1.6.0 (2026-09-11)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.7.0
|
|
@@ -606,6 +606,11 @@ module Aws::Resiliencehubv2
|
|
|
606
606
|
# @option params [Types::DataRecoveryTargets] :data_recovery
|
|
607
607
|
# The data recovery targets for the resilience policy.
|
|
608
608
|
#
|
|
609
|
+
# @option params [Boolean] :sharing_enabled
|
|
610
|
+
# Specifies whether cross-account sharing is enabled for the policy.
|
|
611
|
+
# Only a delegated administrator or the management account can enable
|
|
612
|
+
# sharing.
|
|
613
|
+
#
|
|
609
614
|
# @option params [String] :kms_key_id
|
|
610
615
|
# KMS key identifier — accepts key ID, key ARN, alias name, or alias
|
|
611
616
|
# ARN.
|
|
@@ -644,6 +649,7 @@ module Aws::Resiliencehubv2
|
|
|
644
649
|
# data_recovery: {
|
|
645
650
|
# time_between_backups_in_minutes: 1,
|
|
646
651
|
# },
|
|
652
|
+
# sharing_enabled: false,
|
|
647
653
|
# kms_key_id: "KmsKeyId",
|
|
648
654
|
# tags: {
|
|
649
655
|
# "TagKey" => "TagValue",
|
|
@@ -664,6 +670,8 @@ module Aws::Resiliencehubv2
|
|
|
664
670
|
# resp.policy.multi_region.rpo_in_minutes #=> Integer
|
|
665
671
|
# resp.policy.multi_region.disaster_recovery_approach #=> String, one of "ACTIVE_ACTIVE", "HOT_STANDBY", "WARM_STANDBY", "PILOT_LIGHT", "BACKUP_AND_RESTORE"
|
|
666
672
|
# resp.policy.data_recovery.time_between_backups_in_minutes #=> Integer
|
|
673
|
+
# resp.policy.sharing_enabled #=> Boolean
|
|
674
|
+
# resp.policy.organization_id #=> String
|
|
667
675
|
# resp.policy.kms_key_id #=> String
|
|
668
676
|
# resp.policy.tags #=> Hash
|
|
669
677
|
# resp.policy.tags["TagKey"] #=> String
|
|
@@ -1514,6 +1522,52 @@ module Aws::Resiliencehubv2
|
|
|
1514
1522
|
req.send_request(options)
|
|
1515
1523
|
end
|
|
1516
1524
|
|
|
1525
|
+
# Retrieves the dependency insights generated for a service. The
|
|
1526
|
+
# response reports the current generation status; insights are populated
|
|
1527
|
+
# once generation has completed. If generation failed, the response
|
|
1528
|
+
# includes an error code, whose possible values are listed under the
|
|
1529
|
+
# response's errorCode field, and a message describing the cause. To
|
|
1530
|
+
# use this operation, you must have the
|
|
1531
|
+
# `resiliencehub:GetDependencyInsights` permission on the service.
|
|
1532
|
+
#
|
|
1533
|
+
# @option params [required, String] :service_arn
|
|
1534
|
+
# ARN identifier.
|
|
1535
|
+
#
|
|
1536
|
+
# @return [Types::GetDependencyInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1537
|
+
#
|
|
1538
|
+
# * {Types::GetDependencyInsightsResponse#overview #overview} => String
|
|
1539
|
+
# * {Types::GetDependencyInsightsResponse#insights #insights} => Array<Types::DependencyInsight>
|
|
1540
|
+
# * {Types::GetDependencyInsightsResponse#status #status} => String
|
|
1541
|
+
# * {Types::GetDependencyInsightsResponse#created_at #created_at} => Time
|
|
1542
|
+
# * {Types::GetDependencyInsightsResponse#error_code #error_code} => String
|
|
1543
|
+
# * {Types::GetDependencyInsightsResponse#error_message #error_message} => String
|
|
1544
|
+
#
|
|
1545
|
+
# @example Request syntax with placeholder values
|
|
1546
|
+
#
|
|
1547
|
+
# resp = client.get_dependency_insights({
|
|
1548
|
+
# service_arn: "Arn", # required
|
|
1549
|
+
# })
|
|
1550
|
+
#
|
|
1551
|
+
# @example Response structure
|
|
1552
|
+
#
|
|
1553
|
+
# resp.overview #=> String
|
|
1554
|
+
# resp.insights #=> Array
|
|
1555
|
+
# resp.insights[0].category #=> String, one of "CROSS_REGION", "NEW_DEPENDENCY", "THIRD_PARTY", "UNEVEN_USAGE", "AWS_SERVICE"
|
|
1556
|
+
# resp.insights[0].description #=> String
|
|
1557
|
+
# resp.status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
|
1558
|
+
# resp.created_at #=> Time
|
|
1559
|
+
# resp.error_code #=> String, one of "INSUFFICIENT_DATA", "LLM_GENERATION_FAILED", "INTERNAL_ERROR"
|
|
1560
|
+
# resp.error_message #=> String
|
|
1561
|
+
#
|
|
1562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/GetDependencyInsights AWS API Documentation
|
|
1563
|
+
#
|
|
1564
|
+
# @overload get_dependency_insights(params = {})
|
|
1565
|
+
# @param [Hash] params ({})
|
|
1566
|
+
def get_dependency_insights(params = {}, options = {})
|
|
1567
|
+
req = build_request(:get_dependency_insights, params)
|
|
1568
|
+
req.send_request(options)
|
|
1569
|
+
end
|
|
1570
|
+
|
|
1517
1571
|
# Retrieves a finding by findingId.
|
|
1518
1572
|
#
|
|
1519
1573
|
# @option params [required, String] :finding_id
|
|
@@ -1594,6 +1648,8 @@ module Aws::Resiliencehubv2
|
|
|
1594
1648
|
# resp.policy.multi_region.rpo_in_minutes #=> Integer
|
|
1595
1649
|
# resp.policy.multi_region.disaster_recovery_approach #=> String, one of "ACTIVE_ACTIVE", "HOT_STANDBY", "WARM_STANDBY", "PILOT_LIGHT", "BACKUP_AND_RESTORE"
|
|
1596
1650
|
# resp.policy.data_recovery.time_between_backups_in_minutes #=> Integer
|
|
1651
|
+
# resp.policy.sharing_enabled #=> Boolean
|
|
1652
|
+
# resp.policy.organization_id #=> String
|
|
1597
1653
|
# resp.policy.kms_key_id #=> String
|
|
1598
1654
|
# resp.policy.tags #=> Hash
|
|
1599
1655
|
# resp.policy.tags["TagKey"] #=> String
|
|
@@ -2159,6 +2215,8 @@ module Aws::Resiliencehubv2
|
|
|
2159
2215
|
# resp.policy.multi_region.rpo_in_minutes #=> Integer
|
|
2160
2216
|
# resp.policy.multi_region.disaster_recovery_approach #=> String, one of "ACTIVE_ACTIVE", "HOT_STANDBY", "WARM_STANDBY", "PILOT_LIGHT", "BACKUP_AND_RESTORE"
|
|
2161
2217
|
# resp.policy.data_recovery.time_between_backups_in_minutes #=> Integer
|
|
2218
|
+
# resp.policy.sharing_enabled #=> Boolean
|
|
2219
|
+
# resp.policy.organization_id #=> String
|
|
2162
2220
|
# resp.policy.kms_key_id #=> String
|
|
2163
2221
|
# resp.policy.tags #=> Hash
|
|
2164
2222
|
# resp.policy.tags["TagKey"] #=> String
|
|
@@ -2504,6 +2562,10 @@ module Aws::Resiliencehubv2
|
|
|
2504
2562
|
|
|
2505
2563
|
# Lists resilience policies.
|
|
2506
2564
|
#
|
|
2565
|
+
# @option params [String] :account_id
|
|
2566
|
+
# The identifier of the account that owns the policies to include in the
|
|
2567
|
+
# results.
|
|
2568
|
+
#
|
|
2507
2569
|
# @option params [Integer] :max_results
|
|
2508
2570
|
# Pagination page size.
|
|
2509
2571
|
#
|
|
@@ -2520,6 +2582,7 @@ module Aws::Resiliencehubv2
|
|
|
2520
2582
|
# @example Request syntax with placeholder values
|
|
2521
2583
|
#
|
|
2522
2584
|
# resp = client.list_policies({
|
|
2585
|
+
# account_id: "AccountId",
|
|
2523
2586
|
# max_results: 1,
|
|
2524
2587
|
# next_token: "NextToken",
|
|
2525
2588
|
# })
|
|
@@ -2537,6 +2600,8 @@ module Aws::Resiliencehubv2
|
|
|
2537
2600
|
# resp.policy_summaries[0].multi_region.rpo_in_minutes #=> Integer
|
|
2538
2601
|
# resp.policy_summaries[0].multi_region.disaster_recovery_approach #=> String, one of "ACTIVE_ACTIVE", "HOT_STANDBY", "WARM_STANDBY", "PILOT_LIGHT", "BACKUP_AND_RESTORE"
|
|
2539
2602
|
# resp.policy_summaries[0].data_recovery.time_between_backups_in_minutes #=> Integer
|
|
2603
|
+
# resp.policy_summaries[0].sharing_enabled #=> Boolean
|
|
2604
|
+
# resp.policy_summaries[0].organization_id #=> String
|
|
2540
2605
|
# resp.policy_summaries[0].associated_service_count #=> Integer
|
|
2541
2606
|
# resp.policy_summaries[0].created_at #=> Time
|
|
2542
2607
|
# resp.policy_summaries[0].updated_at #=> Time
|
|
@@ -2551,6 +2616,76 @@ module Aws::Resiliencehubv2
|
|
|
2551
2616
|
req.send_request(options)
|
|
2552
2617
|
end
|
|
2553
2618
|
|
|
2619
|
+
# Lists events for a resilience policy, including services that started
|
|
2620
|
+
# or stopped using it, changes to cross-account sharing, and deletion of
|
|
2621
|
+
# the policy.
|
|
2622
|
+
#
|
|
2623
|
+
# @option params [required, String] :policy_arn
|
|
2624
|
+
# ARN identifier.
|
|
2625
|
+
#
|
|
2626
|
+
# @option params [Array<String>] :event_types
|
|
2627
|
+
# The type of events to include in the results.
|
|
2628
|
+
#
|
|
2629
|
+
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
|
2630
|
+
# The start time for filtering events.
|
|
2631
|
+
#
|
|
2632
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
|
2633
|
+
# The end time for filtering events.
|
|
2634
|
+
#
|
|
2635
|
+
# @option params [Integer] :max_results
|
|
2636
|
+
# Pagination page size.
|
|
2637
|
+
#
|
|
2638
|
+
# @option params [String] :next_token
|
|
2639
|
+
# Pagination token.
|
|
2640
|
+
#
|
|
2641
|
+
# @return [Types::ListPolicyEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2642
|
+
#
|
|
2643
|
+
# * {Types::ListPolicyEventsResponse#events #events} => Array<Types::PolicyEvent>
|
|
2644
|
+
# * {Types::ListPolicyEventsResponse#next_token #next_token} => String
|
|
2645
|
+
#
|
|
2646
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2647
|
+
#
|
|
2648
|
+
# @example Request syntax with placeholder values
|
|
2649
|
+
#
|
|
2650
|
+
# resp = client.list_policy_events({
|
|
2651
|
+
# policy_arn: "Arn", # required
|
|
2652
|
+
# event_types: ["POLICY_ATTACHED_TO_SERVICE"], # accepts POLICY_ATTACHED_TO_SERVICE, POLICY_DETACHED_FROM_SERVICE, POLICY_SHARING_REVOKED, POLICY_DELETED
|
|
2653
|
+
# start_time: Time.now,
|
|
2654
|
+
# end_time: Time.now,
|
|
2655
|
+
# max_results: 1,
|
|
2656
|
+
# next_token: "NextToken",
|
|
2657
|
+
# })
|
|
2658
|
+
#
|
|
2659
|
+
# @example Response structure
|
|
2660
|
+
#
|
|
2661
|
+
# resp.events #=> Array
|
|
2662
|
+
# resp.events[0].event_id #=> String
|
|
2663
|
+
# resp.events[0].timestamp #=> Time
|
|
2664
|
+
# resp.events[0].event_type #=> String, one of "POLICY_ATTACHED_TO_SERVICE", "POLICY_DETACHED_FROM_SERVICE", "POLICY_SHARING_REVOKED", "POLICY_DELETED"
|
|
2665
|
+
# resp.events[0].policy_arn #=> String
|
|
2666
|
+
# resp.events[0].actor.type #=> String, one of "USER", "SYSTEM"
|
|
2667
|
+
# resp.events[0].actor.principal_id #=> String
|
|
2668
|
+
# resp.events[0].actor.account_id #=> String
|
|
2669
|
+
# resp.events[0].actor.user_name #=> String
|
|
2670
|
+
# resp.events[0].event_details.title #=> String
|
|
2671
|
+
# resp.events[0].event_details.description #=> String
|
|
2672
|
+
# resp.events[0].event_details.event_metadata.policy_attached_to_service.service_arn #=> String
|
|
2673
|
+
# resp.events[0].event_details.event_metadata.policy_attached_to_service.account_id #=> String
|
|
2674
|
+
# resp.events[0].event_details.event_metadata.policy_detached_from_service.service_arn #=> String
|
|
2675
|
+
# resp.events[0].event_details.event_metadata.policy_detached_from_service.account_id #=> String
|
|
2676
|
+
# resp.events[0].event_details.event_metadata.policy_sharing_revoked.affected_service_count #=> Integer
|
|
2677
|
+
# resp.events[0].event_details.event_metadata.policy_deleted.affected_service_count #=> Integer
|
|
2678
|
+
# resp.next_token #=> String
|
|
2679
|
+
#
|
|
2680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/ListPolicyEvents AWS API Documentation
|
|
2681
|
+
#
|
|
2682
|
+
# @overload list_policy_events(params = {})
|
|
2683
|
+
# @param [Hash] params ({})
|
|
2684
|
+
def list_policy_events(params = {}, options = {})
|
|
2685
|
+
req = build_request(:list_policy_events, params)
|
|
2686
|
+
req.send_request(options)
|
|
2687
|
+
end
|
|
2688
|
+
|
|
2554
2689
|
# List reports for a service, or all reports owned by the account if
|
|
2555
2690
|
# serviceArn is not provided.
|
|
2556
2691
|
#
|
|
@@ -2736,7 +2871,7 @@ module Aws::Resiliencehubv2
|
|
|
2736
2871
|
# ARN identifier.
|
|
2737
2872
|
#
|
|
2738
2873
|
# @option params [Array<String>] :event_types
|
|
2739
|
-
#
|
|
2874
|
+
# The type of events to include in the results.
|
|
2740
2875
|
#
|
|
2741
2876
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
|
2742
2877
|
# The start time for filtering events.
|
|
@@ -2796,8 +2931,13 @@ module Aws::Resiliencehubv2
|
|
|
2796
2931
|
# resp.events[0].event_details.event_metadata.service_workflow_updated.service_function_name #=> String
|
|
2797
2932
|
# resp.events[0].event_details.event_metadata.service_policy_associated.policy_name #=> String
|
|
2798
2933
|
# resp.events[0].event_details.event_metadata.service_policy_associated.policy_arn #=> String
|
|
2934
|
+
# resp.events[0].event_details.event_metadata.service_policy_associated.policy_owner_account_id #=> String
|
|
2935
|
+
# resp.events[0].event_details.event_metadata.service_policy_associated.policy_source #=> String, one of "SELF", "CROSS_ACCOUNT"
|
|
2799
2936
|
# resp.events[0].event_details.event_metadata.service_policy_disassociated.policy_name #=> String
|
|
2800
2937
|
# resp.events[0].event_details.event_metadata.service_policy_disassociated.policy_arn #=> String
|
|
2938
|
+
# resp.events[0].event_details.event_metadata.service_policy_disassociated.policy_owner_account_id #=> String
|
|
2939
|
+
# resp.events[0].event_details.event_metadata.service_policy_disassociated.policy_source #=> String, one of "SELF", "CROSS_ACCOUNT"
|
|
2940
|
+
# resp.events[0].event_details.event_metadata.service_policy_disassociated.reason #=> String, one of "REPLACED_BY_UPDATE", "SHARING_REVOKED", "POLICY_DELETED"
|
|
2801
2941
|
# resp.events[0].event_details.event_metadata.service_function_created.service_function_id #=> String
|
|
2802
2942
|
# resp.events[0].event_details.event_metadata.service_function_created.service_function_name #=> String
|
|
2803
2943
|
# resp.events[0].event_details.event_metadata.service_function_updated.service_function_id #=> String
|
|
@@ -3027,7 +3167,7 @@ module Aws::Resiliencehubv2
|
|
|
3027
3167
|
# ARN identifier.
|
|
3028
3168
|
#
|
|
3029
3169
|
# @option params [Array<String>] :event_types
|
|
3030
|
-
#
|
|
3170
|
+
# The type of events to include in the results.
|
|
3031
3171
|
#
|
|
3032
3172
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
|
3033
3173
|
# The start time for filtering events.
|
|
@@ -3690,6 +3830,45 @@ module Aws::Resiliencehubv2
|
|
|
3690
3830
|
req.send_request(options)
|
|
3691
3831
|
end
|
|
3692
3832
|
|
|
3833
|
+
# Starts generating dependency insights for a service. Generation runs
|
|
3834
|
+
# asynchronously; the response returns the initial status, and you
|
|
3835
|
+
# retrieve the results with GetDependencyInsights. To use this
|
|
3836
|
+
# operation, you must have the `resiliencehub:StartDependencyInsights`
|
|
3837
|
+
# permission on the service.
|
|
3838
|
+
#
|
|
3839
|
+
# @option params [required, String] :service_arn
|
|
3840
|
+
# ARN identifier.
|
|
3841
|
+
#
|
|
3842
|
+
# @option params [String] :client_token
|
|
3843
|
+
# Idempotency token.
|
|
3844
|
+
#
|
|
3845
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
3846
|
+
# not need to pass this option.**
|
|
3847
|
+
#
|
|
3848
|
+
# @return [Types::StartDependencyInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3849
|
+
#
|
|
3850
|
+
# * {Types::StartDependencyInsightsResponse#status #status} => String
|
|
3851
|
+
#
|
|
3852
|
+
# @example Request syntax with placeholder values
|
|
3853
|
+
#
|
|
3854
|
+
# resp = client.start_dependency_insights({
|
|
3855
|
+
# service_arn: "Arn", # required
|
|
3856
|
+
# client_token: "ClientToken",
|
|
3857
|
+
# })
|
|
3858
|
+
#
|
|
3859
|
+
# @example Response structure
|
|
3860
|
+
#
|
|
3861
|
+
# resp.status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
|
3862
|
+
#
|
|
3863
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/StartDependencyInsights AWS API Documentation
|
|
3864
|
+
#
|
|
3865
|
+
# @overload start_dependency_insights(params = {})
|
|
3866
|
+
# @param [Hash] params ({})
|
|
3867
|
+
def start_dependency_insights(params = {}, options = {})
|
|
3868
|
+
req = build_request(:start_dependency_insights, params)
|
|
3869
|
+
req.send_request(options)
|
|
3870
|
+
end
|
|
3871
|
+
|
|
3693
3872
|
# Starts a failure mode assessment.
|
|
3694
3873
|
#
|
|
3695
3874
|
# @option params [required, String] :service_arn
|
|
@@ -4030,6 +4209,10 @@ module Aws::Resiliencehubv2
|
|
|
4030
4209
|
# @option params [Types::DataRecoveryTargets] :data_recovery
|
|
4031
4210
|
# The updated data recovery targets for the policy.
|
|
4032
4211
|
#
|
|
4212
|
+
# @option params [Boolean] :sharing_enabled
|
|
4213
|
+
# Specifies whether cross-account sharing is enabled for the policy.
|
|
4214
|
+
# Disabling sharing stops member services from using the policy.
|
|
4215
|
+
#
|
|
4033
4216
|
# @return [Types::UpdatePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4034
4217
|
#
|
|
4035
4218
|
# * {Types::UpdatePolicyResponse#policy #policy} => Types::Policy
|
|
@@ -4055,6 +4238,7 @@ module Aws::Resiliencehubv2
|
|
|
4055
4238
|
# data_recovery: {
|
|
4056
4239
|
# time_between_backups_in_minutes: 1,
|
|
4057
4240
|
# },
|
|
4241
|
+
# sharing_enabled: false,
|
|
4058
4242
|
# })
|
|
4059
4243
|
#
|
|
4060
4244
|
# @example Response structure
|
|
@@ -4070,6 +4254,8 @@ module Aws::Resiliencehubv2
|
|
|
4070
4254
|
# resp.policy.multi_region.rpo_in_minutes #=> Integer
|
|
4071
4255
|
# resp.policy.multi_region.disaster_recovery_approach #=> String, one of "ACTIVE_ACTIVE", "HOT_STANDBY", "WARM_STANDBY", "PILOT_LIGHT", "BACKUP_AND_RESTORE"
|
|
4072
4256
|
# resp.policy.data_recovery.time_between_backups_in_minutes #=> Integer
|
|
4257
|
+
# resp.policy.sharing_enabled #=> Boolean
|
|
4258
|
+
# resp.policy.organization_id #=> String
|
|
4073
4259
|
# resp.policy.kms_key_id #=> String
|
|
4074
4260
|
# resp.policy.tags #=> Hash
|
|
4075
4261
|
# resp.policy.tags["TagKey"] #=> String
|
|
@@ -4478,7 +4664,7 @@ module Aws::Resiliencehubv2
|
|
|
4478
4664
|
tracer: tracer
|
|
4479
4665
|
)
|
|
4480
4666
|
context[:gem_name] = 'aws-sdk-resiliencehubv2'
|
|
4481
|
-
context[:gem_version] = '1.
|
|
4667
|
+
context[:gem_version] = '1.7.0'
|
|
4482
4668
|
Seahorse::Client::Request.new(handlers, context)
|
|
4483
4669
|
end
|
|
4484
4670
|
|
|
@@ -102,6 +102,11 @@ module Aws::Resiliencehubv2
|
|
|
102
102
|
DependencyDiscoveryConfigMessageString = Shapes::StringShape.new(name: 'DependencyDiscoveryConfigMessageString')
|
|
103
103
|
DependencyDiscoveryInput = Shapes::StringShape.new(name: 'DependencyDiscoveryInput')
|
|
104
104
|
DependencyDiscoveryStatus = Shapes::StringShape.new(name: 'DependencyDiscoveryStatus')
|
|
105
|
+
DependencyInsight = Shapes::StructureShape.new(name: 'DependencyInsight')
|
|
106
|
+
DependencyInsightDescriptionString = Shapes::StringShape.new(name: 'DependencyInsightDescriptionString')
|
|
107
|
+
DependencyInsightsErrorCode = Shapes::StringShape.new(name: 'DependencyInsightsErrorCode')
|
|
108
|
+
DependencyInsightsList = Shapes::ListShape.new(name: 'DependencyInsightsList')
|
|
109
|
+
DependencyInsightsStatus = Shapes::StringShape.new(name: 'DependencyInsightsStatus')
|
|
105
110
|
DependencySummary = Shapes::StructureShape.new(name: 'DependencySummary')
|
|
106
111
|
DependencySummaryList = Shapes::ListShape.new(name: 'DependencySummaryList')
|
|
107
112
|
DisasterRecoverySource = Shapes::StructureShape.new(name: 'DisasterRecoverySource')
|
|
@@ -137,6 +142,10 @@ module Aws::Resiliencehubv2
|
|
|
137
142
|
FindingSummary = Shapes::StructureShape.new(name: 'FindingSummary')
|
|
138
143
|
FindingsList = Shapes::ListShape.new(name: 'FindingsList')
|
|
139
144
|
FunctionsList = Shapes::ListShape.new(name: 'FunctionsList')
|
|
145
|
+
GetDependencyInsightsRequest = Shapes::StructureShape.new(name: 'GetDependencyInsightsRequest')
|
|
146
|
+
GetDependencyInsightsResponse = Shapes::StructureShape.new(name: 'GetDependencyInsightsResponse')
|
|
147
|
+
GetDependencyInsightsResponseErrorMessageString = Shapes::StringShape.new(name: 'GetDependencyInsightsResponseErrorMessageString')
|
|
148
|
+
GetDependencyInsightsResponseOverviewString = Shapes::StringShape.new(name: 'GetDependencyInsightsResponseOverviewString')
|
|
140
149
|
GetFailureModeFindingRequest = Shapes::StructureShape.new(name: 'GetFailureModeFindingRequest')
|
|
141
150
|
GetFailureModeFindingResponse = Shapes::StructureShape.new(name: 'GetFailureModeFindingResponse')
|
|
142
151
|
GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
|
|
@@ -166,6 +175,7 @@ module Aws::Resiliencehubv2
|
|
|
166
175
|
InputSourceSummary = Shapes::StructureShape.new(name: 'InputSourceSummary')
|
|
167
176
|
InputSourceSummaryList = Shapes::ListShape.new(name: 'InputSourceSummaryList')
|
|
168
177
|
InputSourceType = Shapes::StringShape.new(name: 'InputSourceType')
|
|
178
|
+
InsightsCategory = Shapes::StringShape.new(name: 'InsightsCategory')
|
|
169
179
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
170
180
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
171
181
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
|
@@ -181,6 +191,8 @@ module Aws::Resiliencehubv2
|
|
|
181
191
|
ListInputSourcesResponse = Shapes::StructureShape.new(name: 'ListInputSourcesResponse')
|
|
182
192
|
ListPoliciesRequest = Shapes::StructureShape.new(name: 'ListPoliciesRequest')
|
|
183
193
|
ListPoliciesResponse = Shapes::StructureShape.new(name: 'ListPoliciesResponse')
|
|
194
|
+
ListPolicyEventsRequest = Shapes::StructureShape.new(name: 'ListPolicyEventsRequest')
|
|
195
|
+
ListPolicyEventsResponse = Shapes::StructureShape.new(name: 'ListPolicyEventsResponse')
|
|
184
196
|
ListReportsRequest = Shapes::StructureShape.new(name: 'ListReportsRequest')
|
|
185
197
|
ListReportsResponse = Shapes::StructureShape.new(name: 'ListReportsResponse')
|
|
186
198
|
ListResolvedTestRunTargetResourcesRequest = Shapes::StructureShape.new(name: 'ListResolvedTestRunTargetResourcesRequest')
|
|
@@ -243,7 +255,18 @@ module Aws::Resiliencehubv2
|
|
|
243
255
|
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
|
244
256
|
PermissionModel = Shapes::StructureShape.new(name: 'PermissionModel')
|
|
245
257
|
Policy = Shapes::StructureShape.new(name: 'Policy')
|
|
258
|
+
PolicyAttachedToServiceMetadata = Shapes::StructureShape.new(name: 'PolicyAttachedToServiceMetadata')
|
|
246
259
|
PolicyComponent = Shapes::StringShape.new(name: 'PolicyComponent')
|
|
260
|
+
PolicyDeletedMetadata = Shapes::StructureShape.new(name: 'PolicyDeletedMetadata')
|
|
261
|
+
PolicyDetachedFromServiceMetadata = Shapes::StructureShape.new(name: 'PolicyDetachedFromServiceMetadata')
|
|
262
|
+
PolicyDisassociationReason = Shapes::StringShape.new(name: 'PolicyDisassociationReason')
|
|
263
|
+
PolicyEvent = Shapes::StructureShape.new(name: 'PolicyEvent')
|
|
264
|
+
PolicyEventDetails = Shapes::StructureShape.new(name: 'PolicyEventDetails')
|
|
265
|
+
PolicyEventList = Shapes::ListShape.new(name: 'PolicyEventList')
|
|
266
|
+
PolicyEventMetadata = Shapes::UnionShape.new(name: 'PolicyEventMetadata')
|
|
267
|
+
PolicyEventType = Shapes::StringShape.new(name: 'PolicyEventType')
|
|
268
|
+
PolicyEventTypeList = Shapes::ListShape.new(name: 'PolicyEventTypeList')
|
|
269
|
+
PolicySharingRevokedMetadata = Shapes::StructureShape.new(name: 'PolicySharingRevokedMetadata')
|
|
247
270
|
PolicySummary = Shapes::StructureShape.new(name: 'PolicySummary')
|
|
248
271
|
PolicySummaryList = Shapes::ListShape.new(name: 'PolicySummaryList')
|
|
249
272
|
PolicyValueSource = Shapes::StringShape.new(name: 'PolicyValueSource')
|
|
@@ -328,6 +351,8 @@ module Aws::Resiliencehubv2
|
|
|
328
351
|
ServiceWorkflowUpdatedMetadata = Shapes::StructureShape.new(name: 'ServiceWorkflowUpdatedMetadata')
|
|
329
352
|
SloSource = Shapes::StructureShape.new(name: 'SloSource')
|
|
330
353
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
|
354
|
+
StartDependencyInsightsRequest = Shapes::StructureShape.new(name: 'StartDependencyInsightsRequest')
|
|
355
|
+
StartDependencyInsightsResponse = Shapes::StructureShape.new(name: 'StartDependencyInsightsResponse')
|
|
331
356
|
StartFailureModeAssessmentRequest = Shapes::StructureShape.new(name: 'StartFailureModeAssessmentRequest')
|
|
332
357
|
StartFailureModeAssessmentResponse = Shapes::StructureShape.new(name: 'StartFailureModeAssessmentResponse')
|
|
333
358
|
StartTestRunRequest = Shapes::StructureShape.new(name: 'StartTestRunRequest')
|
|
@@ -557,6 +582,7 @@ module Aws::Resiliencehubv2
|
|
|
557
582
|
CreatePolicyRequest.add_member(:multi_az, Shapes::ShapeRef.new(shape: MultiAzTargets, location_name: "multiAz"))
|
|
558
583
|
CreatePolicyRequest.add_member(:multi_region, Shapes::ShapeRef.new(shape: MultiRegionTargets, location_name: "multiRegion"))
|
|
559
584
|
CreatePolicyRequest.add_member(:data_recovery, Shapes::ShapeRef.new(shape: DataRecoveryTargets, location_name: "dataRecovery"))
|
|
585
|
+
CreatePolicyRequest.add_member(:sharing_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "sharingEnabled"))
|
|
560
586
|
CreatePolicyRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
561
587
|
CreatePolicyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
562
588
|
CreatePolicyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
@@ -727,6 +753,12 @@ module Aws::Resiliencehubv2
|
|
|
727
753
|
DependencyDiscoveryConfig.add_member(:message, Shapes::ShapeRef.new(shape: DependencyDiscoveryConfigMessageString, location_name: "message"))
|
|
728
754
|
DependencyDiscoveryConfig.struct_class = Types::DependencyDiscoveryConfig
|
|
729
755
|
|
|
756
|
+
DependencyInsight.add_member(:category, Shapes::ShapeRef.new(shape: InsightsCategory, required: true, location_name: "category"))
|
|
757
|
+
DependencyInsight.add_member(:description, Shapes::ShapeRef.new(shape: DependencyInsightDescriptionString, required: true, location_name: "description"))
|
|
758
|
+
DependencyInsight.struct_class = Types::DependencyInsight
|
|
759
|
+
|
|
760
|
+
DependencyInsightsList.member = Shapes::ShapeRef.new(shape: DependencyInsight)
|
|
761
|
+
|
|
730
762
|
DependencySummary.add_member(:dependency_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "dependencyId"))
|
|
731
763
|
DependencySummary.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "serviceArn"))
|
|
732
764
|
DependencySummary.add_member(:dependency_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "dependencyName"))
|
|
@@ -835,6 +867,17 @@ module Aws::Resiliencehubv2
|
|
|
835
867
|
|
|
836
868
|
FunctionsList.member = Shapes::ShapeRef.new(shape: EntityId)
|
|
837
869
|
|
|
870
|
+
GetDependencyInsightsRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "serviceArn"))
|
|
871
|
+
GetDependencyInsightsRequest.struct_class = Types::GetDependencyInsightsRequest
|
|
872
|
+
|
|
873
|
+
GetDependencyInsightsResponse.add_member(:overview, Shapes::ShapeRef.new(shape: GetDependencyInsightsResponseOverviewString, location_name: "overview"))
|
|
874
|
+
GetDependencyInsightsResponse.add_member(:insights, Shapes::ShapeRef.new(shape: DependencyInsightsList, location_name: "insights"))
|
|
875
|
+
GetDependencyInsightsResponse.add_member(:status, Shapes::ShapeRef.new(shape: DependencyInsightsStatus, required: true, location_name: "status"))
|
|
876
|
+
GetDependencyInsightsResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
877
|
+
GetDependencyInsightsResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: DependencyInsightsErrorCode, location_name: "errorCode"))
|
|
878
|
+
GetDependencyInsightsResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: GetDependencyInsightsResponseErrorMessageString, location_name: "errorMessage"))
|
|
879
|
+
GetDependencyInsightsResponse.struct_class = Types::GetDependencyInsightsResponse
|
|
880
|
+
|
|
838
881
|
GetFailureModeFindingRequest.add_member(:finding_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "querystring", location_name: "findingId"))
|
|
839
882
|
GetFailureModeFindingRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "serviceArn"))
|
|
840
883
|
GetFailureModeFindingRequest.struct_class = Types::GetFailureModeFindingRequest
|
|
@@ -993,6 +1036,7 @@ module Aws::Resiliencehubv2
|
|
|
993
1036
|
ListInputSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
994
1037
|
ListInputSourcesResponse.struct_class = Types::ListInputSourcesResponse
|
|
995
1038
|
|
|
1039
|
+
ListPoliciesRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
|
|
996
1040
|
ListPoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
997
1041
|
ListPoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
|
998
1042
|
ListPoliciesRequest.struct_class = Types::ListPoliciesRequest
|
|
@@ -1001,6 +1045,18 @@ module Aws::Resiliencehubv2
|
|
|
1001
1045
|
ListPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
1002
1046
|
ListPoliciesResponse.struct_class = Types::ListPoliciesResponse
|
|
1003
1047
|
|
|
1048
|
+
ListPolicyEventsRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "policyArn"))
|
|
1049
|
+
ListPolicyEventsRequest.add_member(:event_types, Shapes::ShapeRef.new(shape: PolicyEventTypeList, location: "querystring", location_name: "eventTypes"))
|
|
1050
|
+
ListPolicyEventsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "startTime"))
|
|
1051
|
+
ListPolicyEventsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "endTime"))
|
|
1052
|
+
ListPolicyEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
1053
|
+
ListPolicyEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
|
1054
|
+
ListPolicyEventsRequest.struct_class = Types::ListPolicyEventsRequest
|
|
1055
|
+
|
|
1056
|
+
ListPolicyEventsResponse.add_member(:events, Shapes::ShapeRef.new(shape: PolicyEventList, required: true, location_name: "events"))
|
|
1057
|
+
ListPolicyEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
1058
|
+
ListPolicyEventsResponse.struct_class = Types::ListPolicyEventsResponse
|
|
1059
|
+
|
|
1004
1060
|
ListReportsRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "serviceArn"))
|
|
1005
1061
|
ListReportsRequest.add_member(:report_type, Shapes::ShapeRef.new(shape: ReportType, location: "querystring", location_name: "reportType"))
|
|
1006
1062
|
ListReportsRequest.add_member(:test_run_id, Shapes::ShapeRef.new(shape: TestRunId, location: "querystring", location_name: "testRunId"))
|
|
@@ -1236,6 +1292,8 @@ module Aws::Resiliencehubv2
|
|
|
1236
1292
|
Policy.add_member(:multi_az, Shapes::ShapeRef.new(shape: MultiAzTargets, location_name: "multiAz"))
|
|
1237
1293
|
Policy.add_member(:multi_region, Shapes::ShapeRef.new(shape: MultiRegionTargets, location_name: "multiRegion"))
|
|
1238
1294
|
Policy.add_member(:data_recovery, Shapes::ShapeRef.new(shape: DataRecoveryTargets, location_name: "dataRecovery"))
|
|
1295
|
+
Policy.add_member(:sharing_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "sharingEnabled"))
|
|
1296
|
+
Policy.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "organizationId"))
|
|
1239
1297
|
Policy.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
1240
1298
|
Policy.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
1241
1299
|
Policy.add_member(:associated_service_count, Shapes::ShapeRef.new(shape: Integer, location_name: "associatedServiceCount"))
|
|
@@ -1243,12 +1301,57 @@ module Aws::Resiliencehubv2
|
|
|
1243
1301
|
Policy.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
1244
1302
|
Policy.struct_class = Types::Policy
|
|
1245
1303
|
|
|
1304
|
+
PolicyAttachedToServiceMetadata.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "serviceArn"))
|
|
1305
|
+
PolicyAttachedToServiceMetadata.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
|
1306
|
+
PolicyAttachedToServiceMetadata.struct_class = Types::PolicyAttachedToServiceMetadata
|
|
1307
|
+
|
|
1308
|
+
PolicyDeletedMetadata.add_member(:affected_service_count, Shapes::ShapeRef.new(shape: Integer, location_name: "affectedServiceCount"))
|
|
1309
|
+
PolicyDeletedMetadata.struct_class = Types::PolicyDeletedMetadata
|
|
1310
|
+
|
|
1311
|
+
PolicyDetachedFromServiceMetadata.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "serviceArn"))
|
|
1312
|
+
PolicyDetachedFromServiceMetadata.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
|
1313
|
+
PolicyDetachedFromServiceMetadata.struct_class = Types::PolicyDetachedFromServiceMetadata
|
|
1314
|
+
|
|
1315
|
+
PolicyEvent.add_member(:event_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "eventId"))
|
|
1316
|
+
PolicyEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
|
|
1317
|
+
PolicyEvent.add_member(:event_type, Shapes::ShapeRef.new(shape: PolicyEventType, required: true, location_name: "eventType"))
|
|
1318
|
+
PolicyEvent.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "policyArn"))
|
|
1319
|
+
PolicyEvent.add_member(:actor, Shapes::ShapeRef.new(shape: EventActor, required: true, location_name: "actor"))
|
|
1320
|
+
PolicyEvent.add_member(:event_details, Shapes::ShapeRef.new(shape: PolicyEventDetails, required: true, location_name: "eventDetails"))
|
|
1321
|
+
PolicyEvent.struct_class = Types::PolicyEvent
|
|
1322
|
+
|
|
1323
|
+
PolicyEventDetails.add_member(:title, Shapes::ShapeRef.new(shape: String, required: true, location_name: "title"))
|
|
1324
|
+
PolicyEventDetails.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "description"))
|
|
1325
|
+
PolicyEventDetails.add_member(:event_metadata, Shapes::ShapeRef.new(shape: PolicyEventMetadata, location_name: "eventMetadata"))
|
|
1326
|
+
PolicyEventDetails.struct_class = Types::PolicyEventDetails
|
|
1327
|
+
|
|
1328
|
+
PolicyEventList.member = Shapes::ShapeRef.new(shape: PolicyEvent)
|
|
1329
|
+
|
|
1330
|
+
PolicyEventMetadata.add_member(:policy_attached_to_service, Shapes::ShapeRef.new(shape: PolicyAttachedToServiceMetadata, location_name: "policyAttachedToService"))
|
|
1331
|
+
PolicyEventMetadata.add_member(:policy_detached_from_service, Shapes::ShapeRef.new(shape: PolicyDetachedFromServiceMetadata, location_name: "policyDetachedFromService"))
|
|
1332
|
+
PolicyEventMetadata.add_member(:policy_sharing_revoked, Shapes::ShapeRef.new(shape: PolicySharingRevokedMetadata, location_name: "policySharingRevoked"))
|
|
1333
|
+
PolicyEventMetadata.add_member(:policy_deleted, Shapes::ShapeRef.new(shape: PolicyDeletedMetadata, location_name: "policyDeleted"))
|
|
1334
|
+
PolicyEventMetadata.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1335
|
+
PolicyEventMetadata.add_member_subclass(:policy_attached_to_service, Types::PolicyEventMetadata::PolicyAttachedToService)
|
|
1336
|
+
PolicyEventMetadata.add_member_subclass(:policy_detached_from_service, Types::PolicyEventMetadata::PolicyDetachedFromService)
|
|
1337
|
+
PolicyEventMetadata.add_member_subclass(:policy_sharing_revoked, Types::PolicyEventMetadata::PolicySharingRevoked)
|
|
1338
|
+
PolicyEventMetadata.add_member_subclass(:policy_deleted, Types::PolicyEventMetadata::PolicyDeleted)
|
|
1339
|
+
PolicyEventMetadata.add_member_subclass(:unknown, Types::PolicyEventMetadata::Unknown)
|
|
1340
|
+
PolicyEventMetadata.struct_class = Types::PolicyEventMetadata
|
|
1341
|
+
|
|
1342
|
+
PolicyEventTypeList.member = Shapes::ShapeRef.new(shape: PolicyEventType)
|
|
1343
|
+
|
|
1344
|
+
PolicySharingRevokedMetadata.add_member(:affected_service_count, Shapes::ShapeRef.new(shape: Integer, location_name: "affectedServiceCount"))
|
|
1345
|
+
PolicySharingRevokedMetadata.struct_class = Types::PolicySharingRevokedMetadata
|
|
1346
|
+
|
|
1246
1347
|
PolicySummary.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "policyArn"))
|
|
1247
1348
|
PolicySummary.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
|
|
1248
1349
|
PolicySummary.add_member(:availability_slo, Shapes::ShapeRef.new(shape: AvailabilitySlo, location_name: "availabilitySlo"))
|
|
1249
1350
|
PolicySummary.add_member(:multi_az, Shapes::ShapeRef.new(shape: MultiAzTargets, location_name: "multiAz"))
|
|
1250
1351
|
PolicySummary.add_member(:multi_region, Shapes::ShapeRef.new(shape: MultiRegionTargets, location_name: "multiRegion"))
|
|
1251
1352
|
PolicySummary.add_member(:data_recovery, Shapes::ShapeRef.new(shape: DataRecoveryTargets, location_name: "dataRecovery"))
|
|
1353
|
+
PolicySummary.add_member(:sharing_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "sharingEnabled"))
|
|
1354
|
+
PolicySummary.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "organizationId"))
|
|
1252
1355
|
PolicySummary.add_member(:associated_service_count, Shapes::ShapeRef.new(shape: Integer, location_name: "associatedServiceCount"))
|
|
1253
1356
|
PolicySummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
1254
1357
|
PolicySummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
@@ -1503,10 +1606,15 @@ module Aws::Resiliencehubv2
|
|
|
1503
1606
|
|
|
1504
1607
|
ServicePolicyAssociatedMetadata.add_member(:policy_name, Shapes::ShapeRef.new(shape: String, location_name: "policyName"))
|
|
1505
1608
|
ServicePolicyAssociatedMetadata.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "policyArn"))
|
|
1609
|
+
ServicePolicyAssociatedMetadata.add_member(:policy_owner_account_id, Shapes::ShapeRef.new(shape: String, location_name: "policyOwnerAccountId"))
|
|
1610
|
+
ServicePolicyAssociatedMetadata.add_member(:policy_source, Shapes::ShapeRef.new(shape: PolicyValueSource, location_name: "policySource"))
|
|
1506
1611
|
ServicePolicyAssociatedMetadata.struct_class = Types::ServicePolicyAssociatedMetadata
|
|
1507
1612
|
|
|
1508
1613
|
ServicePolicyDisassociatedMetadata.add_member(:policy_name, Shapes::ShapeRef.new(shape: String, location_name: "policyName"))
|
|
1509
1614
|
ServicePolicyDisassociatedMetadata.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "policyArn"))
|
|
1615
|
+
ServicePolicyDisassociatedMetadata.add_member(:policy_owner_account_id, Shapes::ShapeRef.new(shape: String, location_name: "policyOwnerAccountId"))
|
|
1616
|
+
ServicePolicyDisassociatedMetadata.add_member(:policy_source, Shapes::ShapeRef.new(shape: PolicyValueSource, location_name: "policySource"))
|
|
1617
|
+
ServicePolicyDisassociatedMetadata.add_member(:reason, Shapes::ShapeRef.new(shape: PolicyDisassociationReason, location_name: "reason"))
|
|
1510
1618
|
ServicePolicyDisassociatedMetadata.struct_class = Types::ServicePolicyDisassociatedMetadata
|
|
1511
1619
|
|
|
1512
1620
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
@@ -1588,6 +1696,13 @@ module Aws::Resiliencehubv2
|
|
|
1588
1696
|
SloSource.add_member(:source, Shapes::ShapeRef.new(shape: PolicyValueSource, location_name: "source"))
|
|
1589
1697
|
SloSource.struct_class = Types::SloSource
|
|
1590
1698
|
|
|
1699
|
+
StartDependencyInsightsRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "serviceArn"))
|
|
1700
|
+
StartDependencyInsightsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
1701
|
+
StartDependencyInsightsRequest.struct_class = Types::StartDependencyInsightsRequest
|
|
1702
|
+
|
|
1703
|
+
StartDependencyInsightsResponse.add_member(:status, Shapes::ShapeRef.new(shape: DependencyInsightsStatus, required: true, location_name: "status"))
|
|
1704
|
+
StartDependencyInsightsResponse.struct_class = Types::StartDependencyInsightsResponse
|
|
1705
|
+
|
|
1591
1706
|
StartFailureModeAssessmentRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "serviceArn"))
|
|
1592
1707
|
StartFailureModeAssessmentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
1593
1708
|
StartFailureModeAssessmentRequest.struct_class = Types::StartFailureModeAssessmentRequest
|
|
@@ -2001,6 +2116,7 @@ module Aws::Resiliencehubv2
|
|
|
2001
2116
|
UpdatePolicyRequest.add_member(:multi_az, Shapes::ShapeRef.new(shape: MultiAzTargets, location_name: "multiAz"))
|
|
2002
2117
|
UpdatePolicyRequest.add_member(:multi_region, Shapes::ShapeRef.new(shape: MultiRegionTargets, location_name: "multiRegion"))
|
|
2003
2118
|
UpdatePolicyRequest.add_member(:data_recovery, Shapes::ShapeRef.new(shape: DataRecoveryTargets, location_name: "dataRecovery"))
|
|
2119
|
+
UpdatePolicyRequest.add_member(:sharing_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "sharingEnabled"))
|
|
2004
2120
|
UpdatePolicyRequest.struct_class = Types::UpdatePolicyRequest
|
|
2005
2121
|
|
|
2006
2122
|
UpdatePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "policy"))
|
|
@@ -2378,6 +2494,19 @@ module Aws::Resiliencehubv2
|
|
|
2378
2494
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2379
2495
|
end)
|
|
2380
2496
|
|
|
2497
|
+
api.add_operation(:get_dependency_insights, Seahorse::Model::Operation.new.tap do |o|
|
|
2498
|
+
o.name = "GetDependencyInsights"
|
|
2499
|
+
o.http_method = "GET"
|
|
2500
|
+
o.http_request_uri = "/v2/get-dependency-insights"
|
|
2501
|
+
o.input = Shapes::ShapeRef.new(shape: GetDependencyInsightsRequest)
|
|
2502
|
+
o.output = Shapes::ShapeRef.new(shape: GetDependencyInsightsResponse)
|
|
2503
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
2504
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2505
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2506
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
2507
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2508
|
+
end)
|
|
2509
|
+
|
|
2381
2510
|
api.add_operation(:get_failure_mode_finding, Seahorse::Model::Operation.new.tap do |o|
|
|
2382
2511
|
o.name = "GetFailureModeFinding"
|
|
2383
2512
|
o.http_method = "GET"
|
|
@@ -2607,6 +2736,24 @@ module Aws::Resiliencehubv2
|
|
|
2607
2736
|
)
|
|
2608
2737
|
end)
|
|
2609
2738
|
|
|
2739
|
+
api.add_operation(:list_policy_events, Seahorse::Model::Operation.new.tap do |o|
|
|
2740
|
+
o.name = "ListPolicyEvents"
|
|
2741
|
+
o.http_method = "GET"
|
|
2742
|
+
o.http_request_uri = "/v2/list-policy-events"
|
|
2743
|
+
o.input = Shapes::ShapeRef.new(shape: ListPolicyEventsRequest)
|
|
2744
|
+
o.output = Shapes::ShapeRef.new(shape: ListPolicyEventsResponse)
|
|
2745
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
2746
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2747
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2748
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2749
|
+
o[:pager] = Aws::Pager.new(
|
|
2750
|
+
limit_key: "max_results",
|
|
2751
|
+
tokens: {
|
|
2752
|
+
"next_token" => "next_token"
|
|
2753
|
+
}
|
|
2754
|
+
)
|
|
2755
|
+
end)
|
|
2756
|
+
|
|
2610
2757
|
api.add_operation(:list_reports, Seahorse::Model::Operation.new.tap do |o|
|
|
2611
2758
|
o.name = "ListReports"
|
|
2612
2759
|
o.http_method = "GET"
|
|
@@ -2949,6 +3096,20 @@ module Aws::Resiliencehubv2
|
|
|
2949
3096
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2950
3097
|
end)
|
|
2951
3098
|
|
|
3099
|
+
api.add_operation(:start_dependency_insights, Seahorse::Model::Operation.new.tap do |o|
|
|
3100
|
+
o.name = "StartDependencyInsights"
|
|
3101
|
+
o.http_method = "POST"
|
|
3102
|
+
o.http_request_uri = "/v2/start-dependency-insights"
|
|
3103
|
+
o.input = Shapes::ShapeRef.new(shape: StartDependencyInsightsRequest)
|
|
3104
|
+
o.output = Shapes::ShapeRef.new(shape: StartDependencyInsightsResponse)
|
|
3105
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3106
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3107
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3108
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3109
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3110
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3111
|
+
end)
|
|
3112
|
+
|
|
2952
3113
|
api.add_operation(:start_failure_mode_assessment, Seahorse::Model::Operation.new.tap do |o|
|
|
2953
3114
|
o.name = "StartFailureModeAssessment"
|
|
2954
3115
|
o.http_method = "POST"
|