aws-sdk-resiliencehubv2 1.6.0 → 1.8.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehubv2/client.rb +247 -3
- data/lib/aws-sdk-resiliencehubv2/client_api.rb +204 -0
- data/lib/aws-sdk-resiliencehubv2/types.rb +695 -10
- data/lib/aws-sdk-resiliencehubv2.rb +1 -1
- data/sig/client.rbs +53 -2
- data/sig/types.rbs +156 -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: 15b4fd070b10ec74ba66b069d8f2c179f7b615ee8b440f799d2e03f6f4437001
|
|
4
|
+
data.tar.gz: 65bbeeb46624b59d511a803ac3a424a437e1486f774683deb708a8440937b5c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5260b0305d5c20f60b6418fa891fb06248ddd33de148edacc9a5352981a93e643054569990f875bea416acfb62a9ad65e3a472c8f72593a83d0c887d3c43513
|
|
7
|
+
data.tar.gz: 369423823ff74d4f9e8c31ad56caea51a2cdbf9aa08b2ec5a0ee74c920cd1a3176dc71ff2225447d6ef90776a5d8de7ee3eac379ee022c4737abb09d4d9c4feb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.8.0 (2026-10-13)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for DevOpsAgent integration where users can specify the agent space ARN at service level and launch investigations directly from Resilience Hub v2.
|
|
8
|
+
|
|
9
|
+
1.7.0 (2026-09-16)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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)
|
|
13
|
+
|
|
4
14
|
1.6.0 (2026-09-11)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.8.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
|
|
@@ -760,6 +768,11 @@ module Aws::Resiliencehubv2
|
|
|
760
768
|
# KMS key identifier — accepts key ID, key ARN, alias name, or alias
|
|
761
769
|
# ARN.
|
|
762
770
|
#
|
|
771
|
+
# @option params [Types::DevOpsAgentConfiguration] :dev_ops_agent_configuration
|
|
772
|
+
# The optional DevOps Agent integration configuration to apply to the
|
|
773
|
+
# new service. If you omit this field, the new service has no DevOps
|
|
774
|
+
# Agent integration.
|
|
775
|
+
#
|
|
763
776
|
# @option params [Hash<String,String>] :tags
|
|
764
777
|
# Resource tags.
|
|
765
778
|
#
|
|
@@ -808,6 +821,9 @@ module Aws::Resiliencehubv2
|
|
|
808
821
|
# ],
|
|
809
822
|
# },
|
|
810
823
|
# kms_key_id: "KmsKeyId",
|
|
824
|
+
# dev_ops_agent_configuration: {
|
|
825
|
+
# agent_space_arn: "DevOpsAgentSpaceArn",
|
|
826
|
+
# },
|
|
811
827
|
# tags: {
|
|
812
828
|
# "TagKey" => "TagValue",
|
|
813
829
|
# },
|
|
@@ -882,6 +898,13 @@ module Aws::Resiliencehubv2
|
|
|
882
898
|
# resp.service.organization_id #=> String
|
|
883
899
|
# resp.service.ou_id #=> String
|
|
884
900
|
# resp.service.account_id #=> String
|
|
901
|
+
# resp.service.dev_ops_agent_configuration.agent_space_arn #=> String
|
|
902
|
+
# resp.service.dev_ops_agent_configuration.agent_space_id #=> String
|
|
903
|
+
# resp.service.dev_ops_agent_configuration.region #=> String
|
|
904
|
+
# resp.service.dev_ops_agent_configuration.status #=> String, one of "CONNECTING", "CONNECTED", "DISCONNECTED", "FAILED"
|
|
905
|
+
# resp.service.dev_ops_agent_configuration.operator_app_url #=> String
|
|
906
|
+
# resp.service.dev_ops_agent_configuration.connected_at #=> Time
|
|
907
|
+
# resp.service.dev_ops_agent_configuration.status_reason #=> String
|
|
885
908
|
# resp.service.created_at #=> Time
|
|
886
909
|
# resp.service.updated_at #=> Time
|
|
887
910
|
#
|
|
@@ -1514,6 +1537,52 @@ module Aws::Resiliencehubv2
|
|
|
1514
1537
|
req.send_request(options)
|
|
1515
1538
|
end
|
|
1516
1539
|
|
|
1540
|
+
# Retrieves the dependency insights generated for a service. The
|
|
1541
|
+
# response reports the current generation status; insights are populated
|
|
1542
|
+
# once generation has completed. If generation failed, the response
|
|
1543
|
+
# includes an error code, whose possible values are listed under the
|
|
1544
|
+
# response's errorCode field, and a message describing the cause. To
|
|
1545
|
+
# use this operation, you must have the
|
|
1546
|
+
# `resiliencehub:GetDependencyInsights` permission on the service.
|
|
1547
|
+
#
|
|
1548
|
+
# @option params [required, String] :service_arn
|
|
1549
|
+
# ARN identifier.
|
|
1550
|
+
#
|
|
1551
|
+
# @return [Types::GetDependencyInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1552
|
+
#
|
|
1553
|
+
# * {Types::GetDependencyInsightsResponse#overview #overview} => String
|
|
1554
|
+
# * {Types::GetDependencyInsightsResponse#insights #insights} => Array<Types::DependencyInsight>
|
|
1555
|
+
# * {Types::GetDependencyInsightsResponse#status #status} => String
|
|
1556
|
+
# * {Types::GetDependencyInsightsResponse#created_at #created_at} => Time
|
|
1557
|
+
# * {Types::GetDependencyInsightsResponse#error_code #error_code} => String
|
|
1558
|
+
# * {Types::GetDependencyInsightsResponse#error_message #error_message} => String
|
|
1559
|
+
#
|
|
1560
|
+
# @example Request syntax with placeholder values
|
|
1561
|
+
#
|
|
1562
|
+
# resp = client.get_dependency_insights({
|
|
1563
|
+
# service_arn: "Arn", # required
|
|
1564
|
+
# })
|
|
1565
|
+
#
|
|
1566
|
+
# @example Response structure
|
|
1567
|
+
#
|
|
1568
|
+
# resp.overview #=> String
|
|
1569
|
+
# resp.insights #=> Array
|
|
1570
|
+
# resp.insights[0].category #=> String, one of "CROSS_REGION", "NEW_DEPENDENCY", "THIRD_PARTY", "UNEVEN_USAGE", "AWS_SERVICE"
|
|
1571
|
+
# resp.insights[0].description #=> String
|
|
1572
|
+
# resp.status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
|
1573
|
+
# resp.created_at #=> Time
|
|
1574
|
+
# resp.error_code #=> String, one of "INSUFFICIENT_DATA", "LLM_GENERATION_FAILED", "INTERNAL_ERROR"
|
|
1575
|
+
# resp.error_message #=> String
|
|
1576
|
+
#
|
|
1577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/GetDependencyInsights AWS API Documentation
|
|
1578
|
+
#
|
|
1579
|
+
# @overload get_dependency_insights(params = {})
|
|
1580
|
+
# @param [Hash] params ({})
|
|
1581
|
+
def get_dependency_insights(params = {}, options = {})
|
|
1582
|
+
req = build_request(:get_dependency_insights, params)
|
|
1583
|
+
req.send_request(options)
|
|
1584
|
+
end
|
|
1585
|
+
|
|
1517
1586
|
# Retrieves a finding by findingId.
|
|
1518
1587
|
#
|
|
1519
1588
|
# @option params [required, String] :finding_id
|
|
@@ -1556,6 +1625,7 @@ module Aws::Resiliencehubv2
|
|
|
1556
1625
|
# resp.finding.testing_recommendations[0].suggested_changes #=> Array
|
|
1557
1626
|
# resp.finding.testing_recommendations[0].suggested_changes[0] #=> String
|
|
1558
1627
|
# resp.finding.updated_at #=> Time
|
|
1628
|
+
# resp.finding.investigation_deep_link #=> String
|
|
1559
1629
|
#
|
|
1560
1630
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/GetFailureModeFinding AWS API Documentation
|
|
1561
1631
|
#
|
|
@@ -1594,6 +1664,8 @@ module Aws::Resiliencehubv2
|
|
|
1594
1664
|
# resp.policy.multi_region.rpo_in_minutes #=> Integer
|
|
1595
1665
|
# resp.policy.multi_region.disaster_recovery_approach #=> String, one of "ACTIVE_ACTIVE", "HOT_STANDBY", "WARM_STANDBY", "PILOT_LIGHT", "BACKUP_AND_RESTORE"
|
|
1596
1666
|
# resp.policy.data_recovery.time_between_backups_in_minutes #=> Integer
|
|
1667
|
+
# resp.policy.sharing_enabled #=> Boolean
|
|
1668
|
+
# resp.policy.organization_id #=> String
|
|
1597
1669
|
# resp.policy.kms_key_id #=> String
|
|
1598
1670
|
# resp.policy.tags #=> Hash
|
|
1599
1671
|
# resp.policy.tags["TagKey"] #=> String
|
|
@@ -1693,6 +1765,13 @@ module Aws::Resiliencehubv2
|
|
|
1693
1765
|
# resp.service.organization_id #=> String
|
|
1694
1766
|
# resp.service.ou_id #=> String
|
|
1695
1767
|
# resp.service.account_id #=> String
|
|
1768
|
+
# resp.service.dev_ops_agent_configuration.agent_space_arn #=> String
|
|
1769
|
+
# resp.service.dev_ops_agent_configuration.agent_space_id #=> String
|
|
1770
|
+
# resp.service.dev_ops_agent_configuration.region #=> String
|
|
1771
|
+
# resp.service.dev_ops_agent_configuration.status #=> String, one of "CONNECTING", "CONNECTED", "DISCONNECTED", "FAILED"
|
|
1772
|
+
# resp.service.dev_ops_agent_configuration.operator_app_url #=> String
|
|
1773
|
+
# resp.service.dev_ops_agent_configuration.connected_at #=> Time
|
|
1774
|
+
# resp.service.dev_ops_agent_configuration.status_reason #=> String
|
|
1696
1775
|
# resp.service.created_at #=> Time
|
|
1697
1776
|
# resp.service.updated_at #=> Time
|
|
1698
1777
|
#
|
|
@@ -1878,6 +1957,11 @@ module Aws::Resiliencehubv2
|
|
|
1878
1957
|
# resp.test_run.regions #=> Array
|
|
1879
1958
|
# resp.test_run.regions[0] #=> String
|
|
1880
1959
|
# resp.test_run.account_targeting #=> String, one of "SINGLE_ACCOUNT", "MULTI_ACCOUNT"
|
|
1960
|
+
# resp.test_run.dev_ops_agent_investigation.verdict #=> String, one of "PASS", "FAIL"
|
|
1961
|
+
# resp.test_run.dev_ops_agent_investigation.confidence #=> String, one of "HIGH", "MEDIUM", "LOW"
|
|
1962
|
+
# resp.test_run.dev_ops_agent_investigation.deep_link #=> String
|
|
1963
|
+
# resp.test_run.dev_ops_agent_investigation.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED"
|
|
1964
|
+
# resp.test_run.dev_ops_agent_investigation.summary #=> String
|
|
1881
1965
|
#
|
|
1882
1966
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/GetTestRun AWS API Documentation
|
|
1883
1967
|
#
|
|
@@ -2087,6 +2171,13 @@ module Aws::Resiliencehubv2
|
|
|
2087
2171
|
# resp.service.organization_id #=> String
|
|
2088
2172
|
# resp.service.ou_id #=> String
|
|
2089
2173
|
# resp.service.account_id #=> String
|
|
2174
|
+
# resp.service.dev_ops_agent_configuration.agent_space_arn #=> String
|
|
2175
|
+
# resp.service.dev_ops_agent_configuration.agent_space_id #=> String
|
|
2176
|
+
# resp.service.dev_ops_agent_configuration.region #=> String
|
|
2177
|
+
# resp.service.dev_ops_agent_configuration.status #=> String, one of "CONNECTING", "CONNECTED", "DISCONNECTED", "FAILED"
|
|
2178
|
+
# resp.service.dev_ops_agent_configuration.operator_app_url #=> String
|
|
2179
|
+
# resp.service.dev_ops_agent_configuration.connected_at #=> Time
|
|
2180
|
+
# resp.service.dev_ops_agent_configuration.status_reason #=> String
|
|
2090
2181
|
# resp.service.created_at #=> Time
|
|
2091
2182
|
# resp.service.updated_at #=> Time
|
|
2092
2183
|
#
|
|
@@ -2159,6 +2250,8 @@ module Aws::Resiliencehubv2
|
|
|
2159
2250
|
# resp.policy.multi_region.rpo_in_minutes #=> Integer
|
|
2160
2251
|
# resp.policy.multi_region.disaster_recovery_approach #=> String, one of "ACTIVE_ACTIVE", "HOT_STANDBY", "WARM_STANDBY", "PILOT_LIGHT", "BACKUP_AND_RESTORE"
|
|
2161
2252
|
# resp.policy.data_recovery.time_between_backups_in_minutes #=> Integer
|
|
2253
|
+
# resp.policy.sharing_enabled #=> Boolean
|
|
2254
|
+
# resp.policy.organization_id #=> String
|
|
2162
2255
|
# resp.policy.kms_key_id #=> String
|
|
2163
2256
|
# resp.policy.tags #=> Hash
|
|
2164
2257
|
# resp.policy.tags["TagKey"] #=> String
|
|
@@ -2427,6 +2520,7 @@ module Aws::Resiliencehubv2
|
|
|
2427
2520
|
# resp.findings_summary[0].status #=> String, one of "OPEN", "RESOLVED", "IRRELEVANT"
|
|
2428
2521
|
# resp.findings_summary[0].policy_component #=> String, one of "AVAILABILITY_SLO", "MULTI_AZ_DISASTER_RECOVERY", "MULTI_REGION_DISASTER_RECOVERY", "DATA_RECOVERY"
|
|
2429
2522
|
# resp.findings_summary[0].updated_at #=> Time
|
|
2523
|
+
# resp.findings_summary[0].investigation_deep_link #=> String
|
|
2430
2524
|
# resp.next_token #=> String
|
|
2431
2525
|
#
|
|
2432
2526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/ListFailureModeFindings AWS API Documentation
|
|
@@ -2504,6 +2598,10 @@ module Aws::Resiliencehubv2
|
|
|
2504
2598
|
|
|
2505
2599
|
# Lists resilience policies.
|
|
2506
2600
|
#
|
|
2601
|
+
# @option params [String] :account_id
|
|
2602
|
+
# The identifier of the account that owns the policies to include in the
|
|
2603
|
+
# results.
|
|
2604
|
+
#
|
|
2507
2605
|
# @option params [Integer] :max_results
|
|
2508
2606
|
# Pagination page size.
|
|
2509
2607
|
#
|
|
@@ -2520,6 +2618,7 @@ module Aws::Resiliencehubv2
|
|
|
2520
2618
|
# @example Request syntax with placeholder values
|
|
2521
2619
|
#
|
|
2522
2620
|
# resp = client.list_policies({
|
|
2621
|
+
# account_id: "AccountId",
|
|
2523
2622
|
# max_results: 1,
|
|
2524
2623
|
# next_token: "NextToken",
|
|
2525
2624
|
# })
|
|
@@ -2537,6 +2636,8 @@ module Aws::Resiliencehubv2
|
|
|
2537
2636
|
# resp.policy_summaries[0].multi_region.rpo_in_minutes #=> Integer
|
|
2538
2637
|
# resp.policy_summaries[0].multi_region.disaster_recovery_approach #=> String, one of "ACTIVE_ACTIVE", "HOT_STANDBY", "WARM_STANDBY", "PILOT_LIGHT", "BACKUP_AND_RESTORE"
|
|
2539
2638
|
# resp.policy_summaries[0].data_recovery.time_between_backups_in_minutes #=> Integer
|
|
2639
|
+
# resp.policy_summaries[0].sharing_enabled #=> Boolean
|
|
2640
|
+
# resp.policy_summaries[0].organization_id #=> String
|
|
2540
2641
|
# resp.policy_summaries[0].associated_service_count #=> Integer
|
|
2541
2642
|
# resp.policy_summaries[0].created_at #=> Time
|
|
2542
2643
|
# resp.policy_summaries[0].updated_at #=> Time
|
|
@@ -2551,6 +2652,76 @@ module Aws::Resiliencehubv2
|
|
|
2551
2652
|
req.send_request(options)
|
|
2552
2653
|
end
|
|
2553
2654
|
|
|
2655
|
+
# Lists events for a resilience policy, including services that started
|
|
2656
|
+
# or stopped using it, changes to cross-account sharing, and deletion of
|
|
2657
|
+
# the policy.
|
|
2658
|
+
#
|
|
2659
|
+
# @option params [required, String] :policy_arn
|
|
2660
|
+
# ARN identifier.
|
|
2661
|
+
#
|
|
2662
|
+
# @option params [Array<String>] :event_types
|
|
2663
|
+
# The type of events to include in the results.
|
|
2664
|
+
#
|
|
2665
|
+
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
|
2666
|
+
# The start time for filtering events.
|
|
2667
|
+
#
|
|
2668
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
|
2669
|
+
# The end time for filtering events.
|
|
2670
|
+
#
|
|
2671
|
+
# @option params [Integer] :max_results
|
|
2672
|
+
# Pagination page size.
|
|
2673
|
+
#
|
|
2674
|
+
# @option params [String] :next_token
|
|
2675
|
+
# Pagination token.
|
|
2676
|
+
#
|
|
2677
|
+
# @return [Types::ListPolicyEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2678
|
+
#
|
|
2679
|
+
# * {Types::ListPolicyEventsResponse#events #events} => Array<Types::PolicyEvent>
|
|
2680
|
+
# * {Types::ListPolicyEventsResponse#next_token #next_token} => String
|
|
2681
|
+
#
|
|
2682
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2683
|
+
#
|
|
2684
|
+
# @example Request syntax with placeholder values
|
|
2685
|
+
#
|
|
2686
|
+
# resp = client.list_policy_events({
|
|
2687
|
+
# policy_arn: "Arn", # required
|
|
2688
|
+
# event_types: ["POLICY_ATTACHED_TO_SERVICE"], # accepts POLICY_ATTACHED_TO_SERVICE, POLICY_DETACHED_FROM_SERVICE, POLICY_SHARING_REVOKED, POLICY_DELETED
|
|
2689
|
+
# start_time: Time.now,
|
|
2690
|
+
# end_time: Time.now,
|
|
2691
|
+
# max_results: 1,
|
|
2692
|
+
# next_token: "NextToken",
|
|
2693
|
+
# })
|
|
2694
|
+
#
|
|
2695
|
+
# @example Response structure
|
|
2696
|
+
#
|
|
2697
|
+
# resp.events #=> Array
|
|
2698
|
+
# resp.events[0].event_id #=> String
|
|
2699
|
+
# resp.events[0].timestamp #=> Time
|
|
2700
|
+
# resp.events[0].event_type #=> String, one of "POLICY_ATTACHED_TO_SERVICE", "POLICY_DETACHED_FROM_SERVICE", "POLICY_SHARING_REVOKED", "POLICY_DELETED"
|
|
2701
|
+
# resp.events[0].policy_arn #=> String
|
|
2702
|
+
# resp.events[0].actor.type #=> String, one of "USER", "SYSTEM"
|
|
2703
|
+
# resp.events[0].actor.principal_id #=> String
|
|
2704
|
+
# resp.events[0].actor.account_id #=> String
|
|
2705
|
+
# resp.events[0].actor.user_name #=> String
|
|
2706
|
+
# resp.events[0].event_details.title #=> String
|
|
2707
|
+
# resp.events[0].event_details.description #=> String
|
|
2708
|
+
# resp.events[0].event_details.event_metadata.policy_attached_to_service.service_arn #=> String
|
|
2709
|
+
# resp.events[0].event_details.event_metadata.policy_attached_to_service.account_id #=> String
|
|
2710
|
+
# resp.events[0].event_details.event_metadata.policy_detached_from_service.service_arn #=> String
|
|
2711
|
+
# resp.events[0].event_details.event_metadata.policy_detached_from_service.account_id #=> String
|
|
2712
|
+
# resp.events[0].event_details.event_metadata.policy_sharing_revoked.affected_service_count #=> Integer
|
|
2713
|
+
# resp.events[0].event_details.event_metadata.policy_deleted.affected_service_count #=> Integer
|
|
2714
|
+
# resp.next_token #=> String
|
|
2715
|
+
#
|
|
2716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/ListPolicyEvents AWS API Documentation
|
|
2717
|
+
#
|
|
2718
|
+
# @overload list_policy_events(params = {})
|
|
2719
|
+
# @param [Hash] params ({})
|
|
2720
|
+
def list_policy_events(params = {}, options = {})
|
|
2721
|
+
req = build_request(:list_policy_events, params)
|
|
2722
|
+
req.send_request(options)
|
|
2723
|
+
end
|
|
2724
|
+
|
|
2554
2725
|
# List reports for a service, or all reports owned by the account if
|
|
2555
2726
|
# serviceArn is not provided.
|
|
2556
2727
|
#
|
|
@@ -2719,6 +2890,10 @@ module Aws::Resiliencehubv2
|
|
|
2719
2890
|
# resp.service_resources[0].resource.aws_region #=> String
|
|
2720
2891
|
# resp.service_resources[0].resource.aws_account_id #=> String
|
|
2721
2892
|
# resp.service_resources[0].resource.resource_type #=> String
|
|
2893
|
+
# resp.service_resources[0].resource.availability_zone_id #=> String
|
|
2894
|
+
# resp.service_resources[0].resource.availability_zone_name #=> String
|
|
2895
|
+
# resp.service_resources[0].resource.containment_parent_id #=> String
|
|
2896
|
+
# resp.service_resources[0].resource.logical_resource_group_id #=> String
|
|
2722
2897
|
# resp.next_token #=> String
|
|
2723
2898
|
#
|
|
2724
2899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/ListResources AWS API Documentation
|
|
@@ -2736,7 +2911,7 @@ module Aws::Resiliencehubv2
|
|
|
2736
2911
|
# ARN identifier.
|
|
2737
2912
|
#
|
|
2738
2913
|
# @option params [Array<String>] :event_types
|
|
2739
|
-
#
|
|
2914
|
+
# The type of events to include in the results.
|
|
2740
2915
|
#
|
|
2741
2916
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
|
2742
2917
|
# The start time for filtering events.
|
|
@@ -2796,8 +2971,13 @@ module Aws::Resiliencehubv2
|
|
|
2796
2971
|
# resp.events[0].event_details.event_metadata.service_workflow_updated.service_function_name #=> String
|
|
2797
2972
|
# resp.events[0].event_details.event_metadata.service_policy_associated.policy_name #=> String
|
|
2798
2973
|
# resp.events[0].event_details.event_metadata.service_policy_associated.policy_arn #=> String
|
|
2974
|
+
# resp.events[0].event_details.event_metadata.service_policy_associated.policy_owner_account_id #=> String
|
|
2975
|
+
# resp.events[0].event_details.event_metadata.service_policy_associated.policy_source #=> String, one of "SELF", "CROSS_ACCOUNT"
|
|
2799
2976
|
# resp.events[0].event_details.event_metadata.service_policy_disassociated.policy_name #=> String
|
|
2800
2977
|
# resp.events[0].event_details.event_metadata.service_policy_disassociated.policy_arn #=> String
|
|
2978
|
+
# resp.events[0].event_details.event_metadata.service_policy_disassociated.policy_owner_account_id #=> String
|
|
2979
|
+
# resp.events[0].event_details.event_metadata.service_policy_disassociated.policy_source #=> String, one of "SELF", "CROSS_ACCOUNT"
|
|
2980
|
+
# resp.events[0].event_details.event_metadata.service_policy_disassociated.reason #=> String, one of "REPLACED_BY_UPDATE", "SHARING_REVOKED", "POLICY_DELETED"
|
|
2801
2981
|
# resp.events[0].event_details.event_metadata.service_function_created.service_function_id #=> String
|
|
2802
2982
|
# resp.events[0].event_details.event_metadata.service_function_created.service_function_name #=> String
|
|
2803
2983
|
# resp.events[0].event_details.event_metadata.service_function_updated.service_function_id #=> String
|
|
@@ -2995,6 +3175,8 @@ module Aws::Resiliencehubv2
|
|
|
2995
3175
|
# resp.service_summaries[0].regions[0] #=> String
|
|
2996
3176
|
# resp.service_summaries[0].policy_arn #=> String
|
|
2997
3177
|
# resp.service_summaries[0].assessment_status #=> String, one of "NOT_STARTED", "PENDING", "IN_PROGRESS", "FAILED", "SUCCESS"
|
|
3178
|
+
# resp.service_summaries[0].dev_ops_agent_status #=> String, one of "CONNECTING", "CONNECTED", "DISCONNECTED", "FAILED"
|
|
3179
|
+
# resp.service_summaries[0].dev_ops_agent_space_arn #=> String
|
|
2998
3180
|
# resp.service_summaries[0].open_findings_count #=> Integer
|
|
2999
3181
|
# resp.service_summaries[0].resolved_findings_count #=> Integer
|
|
3000
3182
|
# resp.service_summaries[0].dependency_discovery.status #=> String, one of "ENABLED", "INITIALIZING", "DISABLED"
|
|
@@ -3027,7 +3209,7 @@ module Aws::Resiliencehubv2
|
|
|
3027
3209
|
# ARN identifier.
|
|
3028
3210
|
#
|
|
3029
3211
|
# @option params [Array<String>] :event_types
|
|
3030
|
-
#
|
|
3212
|
+
# The type of events to include in the results.
|
|
3031
3213
|
#
|
|
3032
3214
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
|
3033
3215
|
# The start time for filtering events.
|
|
@@ -3690,6 +3872,45 @@ module Aws::Resiliencehubv2
|
|
|
3690
3872
|
req.send_request(options)
|
|
3691
3873
|
end
|
|
3692
3874
|
|
|
3875
|
+
# Starts generating dependency insights for a service. Generation runs
|
|
3876
|
+
# asynchronously; the response returns the initial status, and you
|
|
3877
|
+
# retrieve the results with GetDependencyInsights. To use this
|
|
3878
|
+
# operation, you must have the `resiliencehub:StartDependencyInsights`
|
|
3879
|
+
# permission on the service.
|
|
3880
|
+
#
|
|
3881
|
+
# @option params [required, String] :service_arn
|
|
3882
|
+
# ARN identifier.
|
|
3883
|
+
#
|
|
3884
|
+
# @option params [String] :client_token
|
|
3885
|
+
# Idempotency token.
|
|
3886
|
+
#
|
|
3887
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
3888
|
+
# not need to pass this option.**
|
|
3889
|
+
#
|
|
3890
|
+
# @return [Types::StartDependencyInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3891
|
+
#
|
|
3892
|
+
# * {Types::StartDependencyInsightsResponse#status #status} => String
|
|
3893
|
+
#
|
|
3894
|
+
# @example Request syntax with placeholder values
|
|
3895
|
+
#
|
|
3896
|
+
# resp = client.start_dependency_insights({
|
|
3897
|
+
# service_arn: "Arn", # required
|
|
3898
|
+
# client_token: "ClientToken",
|
|
3899
|
+
# })
|
|
3900
|
+
#
|
|
3901
|
+
# @example Response structure
|
|
3902
|
+
#
|
|
3903
|
+
# resp.status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
|
3904
|
+
#
|
|
3905
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/StartDependencyInsights AWS API Documentation
|
|
3906
|
+
#
|
|
3907
|
+
# @overload start_dependency_insights(params = {})
|
|
3908
|
+
# @param [Hash] params ({})
|
|
3909
|
+
def start_dependency_insights(params = {}, options = {})
|
|
3910
|
+
req = build_request(:start_dependency_insights, params)
|
|
3911
|
+
req.send_request(options)
|
|
3912
|
+
end
|
|
3913
|
+
|
|
3693
3914
|
# Starts a failure mode assessment.
|
|
3694
3915
|
#
|
|
3695
3916
|
# @option params [required, String] :service_arn
|
|
@@ -4000,6 +4221,7 @@ module Aws::Resiliencehubv2
|
|
|
4000
4221
|
# resp.finding.testing_recommendations[0].suggested_changes #=> Array
|
|
4001
4222
|
# resp.finding.testing_recommendations[0].suggested_changes[0] #=> String
|
|
4002
4223
|
# resp.finding.updated_at #=> Time
|
|
4224
|
+
# resp.finding.investigation_deep_link #=> String
|
|
4003
4225
|
#
|
|
4004
4226
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/UpdateFailureModeFinding AWS API Documentation
|
|
4005
4227
|
#
|
|
@@ -4030,6 +4252,10 @@ module Aws::Resiliencehubv2
|
|
|
4030
4252
|
# @option params [Types::DataRecoveryTargets] :data_recovery
|
|
4031
4253
|
# The updated data recovery targets for the policy.
|
|
4032
4254
|
#
|
|
4255
|
+
# @option params [Boolean] :sharing_enabled
|
|
4256
|
+
# Specifies whether cross-account sharing is enabled for the policy.
|
|
4257
|
+
# Disabling sharing stops member services from using the policy.
|
|
4258
|
+
#
|
|
4033
4259
|
# @return [Types::UpdatePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4034
4260
|
#
|
|
4035
4261
|
# * {Types::UpdatePolicyResponse#policy #policy} => Types::Policy
|
|
@@ -4055,6 +4281,7 @@ module Aws::Resiliencehubv2
|
|
|
4055
4281
|
# data_recovery: {
|
|
4056
4282
|
# time_between_backups_in_minutes: 1,
|
|
4057
4283
|
# },
|
|
4284
|
+
# sharing_enabled: false,
|
|
4058
4285
|
# })
|
|
4059
4286
|
#
|
|
4060
4287
|
# @example Response structure
|
|
@@ -4070,6 +4297,8 @@ module Aws::Resiliencehubv2
|
|
|
4070
4297
|
# resp.policy.multi_region.rpo_in_minutes #=> Integer
|
|
4071
4298
|
# resp.policy.multi_region.disaster_recovery_approach #=> String, one of "ACTIVE_ACTIVE", "HOT_STANDBY", "WARM_STANDBY", "PILOT_LIGHT", "BACKUP_AND_RESTORE"
|
|
4072
4299
|
# resp.policy.data_recovery.time_between_backups_in_minutes #=> Integer
|
|
4300
|
+
# resp.policy.sharing_enabled #=> Boolean
|
|
4301
|
+
# resp.policy.organization_id #=> String
|
|
4073
4302
|
# resp.policy.kms_key_id #=> String
|
|
4074
4303
|
# resp.policy.tags #=> Hash
|
|
4075
4304
|
# resp.policy.tags["TagKey"] #=> String
|
|
@@ -4113,6 +4342,11 @@ module Aws::Resiliencehubv2
|
|
|
4113
4342
|
# @option params [Types::ServiceReportConfiguration] :report_configuration
|
|
4114
4343
|
# Configuration for automatic report generation on a Service.
|
|
4115
4344
|
#
|
|
4345
|
+
# @option params [Types::DevOpsAgentConfiguration] :dev_ops_agent_configuration
|
|
4346
|
+
# The optional DevOps Agent integration configuration to set, replace,
|
|
4347
|
+
# or disconnect for the service. If you omit this field, the existing
|
|
4348
|
+
# DevOps Agent linkage stays unchanged.
|
|
4349
|
+
#
|
|
4116
4350
|
# @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4117
4351
|
#
|
|
4118
4352
|
# * {Types::UpdateServiceResponse#service #service} => Types::Service
|
|
@@ -4151,6 +4385,9 @@ module Aws::Resiliencehubv2
|
|
|
4151
4385
|
# },
|
|
4152
4386
|
# ],
|
|
4153
4387
|
# },
|
|
4388
|
+
# dev_ops_agent_configuration: {
|
|
4389
|
+
# agent_space_arn: "DevOpsAgentSpaceArn",
|
|
4390
|
+
# },
|
|
4154
4391
|
# })
|
|
4155
4392
|
#
|
|
4156
4393
|
# @example Response structure
|
|
@@ -4221,6 +4458,13 @@ module Aws::Resiliencehubv2
|
|
|
4221
4458
|
# resp.service.organization_id #=> String
|
|
4222
4459
|
# resp.service.ou_id #=> String
|
|
4223
4460
|
# resp.service.account_id #=> String
|
|
4461
|
+
# resp.service.dev_ops_agent_configuration.agent_space_arn #=> String
|
|
4462
|
+
# resp.service.dev_ops_agent_configuration.agent_space_id #=> String
|
|
4463
|
+
# resp.service.dev_ops_agent_configuration.region #=> String
|
|
4464
|
+
# resp.service.dev_ops_agent_configuration.status #=> String, one of "CONNECTING", "CONNECTED", "DISCONNECTED", "FAILED"
|
|
4465
|
+
# resp.service.dev_ops_agent_configuration.operator_app_url #=> String
|
|
4466
|
+
# resp.service.dev_ops_agent_configuration.connected_at #=> Time
|
|
4467
|
+
# resp.service.dev_ops_agent_configuration.status_reason #=> String
|
|
4224
4468
|
# resp.service.created_at #=> Time
|
|
4225
4469
|
# resp.service.updated_at #=> Time
|
|
4226
4470
|
#
|
|
@@ -4478,7 +4722,7 @@ module Aws::Resiliencehubv2
|
|
|
4478
4722
|
tracer: tracer
|
|
4479
4723
|
)
|
|
4480
4724
|
context[:gem_name] = 'aws-sdk-resiliencehubv2'
|
|
4481
|
-
context[:gem_version] = '1.
|
|
4725
|
+
context[:gem_version] = '1.8.0'
|
|
4482
4726
|
Seahorse::Client::Request.new(handlers, context)
|
|
4483
4727
|
end
|
|
4484
4728
|
|